StryDa 0 Posted January 21, 2007 Is it possible to change the ammo of a vehicle... Say have a Vulcan firing civilians :P Thanks -StryDa- Share this post Link to post Share on other sites
Deadfast 43 Posted January 21, 2007 Vulcan firing civilians ? Nah, or at least as far as I know not. But you can have civilian firing vulcan rounds (I've played arround with that - good fun) or something like this. Just use addWeapon "some_weapon" and addMagazine "some_magazine" commands into init line of an unit. You can find weapons and magazines names here. Share this post Link to post Share on other sites
StryDa 0 Posted January 21, 2007 ok thanks.... Civilians with miniguns :P sounds cool Share this post Link to post Share on other sites
Deadfast 43 Posted January 22, 2007 No probs . Just a hint: they don't have any weapons models, there are just bullets comming out of they're chest . Share this post Link to post Share on other sites
StryDa 0 Posted January 22, 2007 hmmm sorry... but the addweapon and magazine things aren't working. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted January 22, 2007 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">vulcan addeventhandler ["fired",{_this execVM "civ.sqf"}] civ.sqf <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_projectile = nearestobject [_this select 0,_this select 4]; sleep 0.001; _pos = getpos _projectile; dir = getdir _projectile; vel = velocity _projectile; deletevehicle _projectile; "Civilian" createUnit [_pos, group player,"this setdir dir; this velocity vel; [this] join grpNull"]; Share this post Link to post Share on other sites
Deadfast 43 Posted January 22, 2007 StryDa: It is . Example: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this addMagazine "2100Rnd_20mm_M168"; this addWeapon "M168" KyleSarnik: OMG !!! If that thingy's working ... Gonna try ASAP ! Share this post Link to post Share on other sites
StryDa 0 Posted January 27, 2007 does that fire civilians, cause it just makes tonnes of people in a squad with me :S Share this post Link to post Share on other sites
Big Dawg KS 6 Posted January 27, 2007 does that fire civilians, cause it just makes tonnes of people in a squad with me :S I never said it worked, it was just something I came up with on the spot. Share this post Link to post Share on other sites