Jump to content
Ibragim A

[SOLVED] Create simple weapon model without fire texture

Recommended Posts

Can anyone tell me how to create a simple object from the weapon class properly?
When I use the model parameter from the class config, a model appears with fire from the barrel, and I don't want that.

_simpleObject = createSimpleObject [getText (configFile >> "CfgWeapons" >> "arifle_MX_ACO_pointer_F" >> "model"), getPosASL player];
// A weapon appears with fire coming from the barrel

Maybe there is another way to do that? All I need is to get the unit's weapon model so that it can't be used (a tipical weapon holder won't work, since it can be picked up).

Share this post


Link to post
Share on other sites

This:

 

_simpleObject hideSelection ["zasleh", true];

 

  • Thanks 2

Share this post


Link to post
Share on other sites
9 minutes ago, gc8 said:

This:

 


_simpleObject hideSelection ["zasleh", true];

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×