Swap Suits - waw
SWAP SUITS
script and prefabs, no models
This script allows you to add suits/player models you can grab off the wall, and take them off or swap them around. This does not come with models, or go over how to get viewmodels, or other models into your map, or how to rig player models. The body model used must be rigged for the player. The script has options to set view models and alternative huds per suit.Included is instructions, script, and 4 different suit prefabs, with the player zombie models used as placeholders.
If you want to give a suit a feature, you can check player.suit var for the suit the player has on. For example, before doing damage to the player, add if(player.suit!="suit0") .... meaning this would only continue if they didn't have that suit on. Hit me up with any questions.
v1.1 - added functions for each suit
v1.2 - added a function for taking off suits, for normal suit
Added Character files you may need to use this script when setting model back to normal and taking off the suit. If you use different models than the default ones, make sure you edit them per character.