Jump to content
Sign in to follow this  
SPC.Spets

Placing weapons

Recommended Posts

I wonder if weapons can be placed with the editor? I mean every weapon, rifles, snipers, pistols, etc

I dont know, I want to make a crazy video showing ALL the weapons, but not randomly placed, but in an orderly fashion

Share this post


Link to post
Share on other sites

Its possible. See the Multiplayer Armory mission from BIS.

Share this post


Link to post
Share on other sites

There is a weapons placement script, I think by Kronzky. I'm not @home to look it up, but it would probably do what you need.

Share this post


Link to post
Share on other sites

Thanks!

and now, how do I turn the weapon

to this position for example:

M4a1-400.jpg

Share this post


Link to post
Share on other sites

Just for demonstrations, this code will alter the angle of a spawned gun. It's *not* the way you want it, but just to show that the command does work:

_holder = "weaponHolder" createVehicle getPos someLocation;
_holder addweaponCargo ["M4A1_Aim_camo",1];
_holder setVectorDirAndUp [[-1,0,0],[0.1,0.9,0.7]];

I don't know how to manipulate those values to make it stand properly, but I leave that to you :)

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
Sign in to follow this  

×