Jump to content
Sign in to follow this  
Merkury713

Unit's spawning gear/weapons/items init scripting

Recommended Posts

Hi there. I want to get rid of the NATO Helo pilot's clothes and gear and give him a custom set of gear, weapons, and items for a mission. The goal is to alter his appearance and functionality with the new items he would have.

Here are the items I would give him to replace the default clothes/gear

Worker's coveralls

Tactical Vest Black

Bergen Black

ECH light

Tactical Glasses

Black NV goggles

Binoculars

PDW2000 2 mags

3 blue smoke, 2 blue chemlight

3 FAKs

in Bergen, 1 repair kit and 1 satchel charge

radio, map, gps, compass, watch

I would like to know if it is possible to give him this, and how. If you dont want to type it all out, then the format with maybe one example would probably do the trick, I can probably find classnames for this stuff myself, but if you are up to it, do whatever you want. Any help is appreciated. Thanks

Share this post


Link to post
Share on other sites

This would go into the 'init' field of the unit:

removeallweapons this;

removeGoggles this;

removeHeadgear this;

removeVest this;

removeUniform this;

removeAllAssignedItems this;

this addgoggles "G_Shades_Black";

this addheadgear "H_Cap_brn_SERO";

this adduniform "U_B_CombatUniform_mcam";

this addvest "V_TacVest_khk";

this addbackpack "B_AssaultPack_blk"

Obviously changing what you need to.

Hope that helps :)

Credits to Armaidiot:

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  

×