Jump to content
Sign in to follow this  
jassida

Where are custom loadouts stor?ed

Recommended Posts

Hello.

 

I've edited many missions but have never found where the loadouts are called from despite going through the unpbo'd mission files in great detail.

 

So for instance you start a mission and your guys have a load of custom gear but when you look at the ini in the editor it is blank.

 

Where could the loadouts be?

 

An example mission to search would be brilliant.

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Where would this "A" be? Don't think I've ever seen it.

 

I just want to change the scope of the snipers in this mission: https://forums.bistudio.com/topic/186153-alive-coop-25-mp-sp-uk-pathfinders-afghanistan/

Whoops, thought I was in the Zeus forum.

 

There's a laundry list of mods in there. Find the unit that corresponds to your sniper, then put 

removeAllPrimaryWeaponItems this;

this addPrimaryWeaponItem "classname of your scope";

in the init field of that unit.

 

Or just use the SSPCM mod.

Share this post


Link to post
Share on other sites

Whoops, thought I was in the Zeus forum.

There's a laundry list of mods in there. Find the unit that corresponds to your sniper, then put removeAllPrimaryWeaponItems this;

this addPrimaryWeaponItem "classname of your scope";

in the init field of that unit.

Or just use the SSPCM mod.

Whoops, thought I was in the Zeus forum.

There's a laundry list of mods in there. Find the unit that corresponds to your sniper, then put removeAllPrimaryWeaponItems this;

this addPrimaryWeaponItem "classname of your scope";

in the init field of that unit.

Or just use the SSPCM mod.

Thanks very much, I should probably have figured this out myself!

Just to take things to the next step, how would I replace binoculars with laser rangefinder?

Share this post


Link to post
Share on other sites

Both items are considered weapons in Arma so this should work:

player addWeapon "Binocular";

You cannot remove a single weapon you would have to remove all weapons then add back the ones you want.

Share this post


Link to post
Share on other sites

Whoops, thought I was in the Zeus forum.

 

There's a laundry list of mods in there. Find the unit that corresponds to your sniper, then put 

removeAllPrimaryWeaponItems this;

this addPrimaryWeaponItem "classname of your scope";

in the init field of that unit.

 

Or just use the SSPCM mod.

 

Thanks again but having tried this, the scope removed but was not replaced.

 

Alive gave an error about adding the xeh file which I've yet to try.

 

Hope that works.

Share this post


Link to post
Share on other sites

Both items are considered weapons in Arma so this should work:

player addWeapon "Binocular";

You cannot remove a single weapon you would have to remove all weapons then add back the ones you want.

 

Both items are considered weapons in Arma so this should work:

player addWeapon "Binocular";

You cannot remove a single weapon you would have to remove all weapons then add back the ones you want.

Thanks, will try this soon.

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  

×