Posts
1,895
Respect
907Add +1
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Total Members Voted: 1
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Oil Rig Beta Access |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I didn't know I wanted this, but I do. Fantastic stuff, +1.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Another cool script man
It's nice your sharing the cool stuff from orbit
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I envy your ability to script so well. I could see myself doing something cool with a hazmat suit and a hud for an EE. Excellent work! +1
SWAP SUITSscript 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.
Aye mate you don't know me so y don't you shut tf up ok buddy
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Box Mappers Elite | |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I keep getting a bad syntax error when I says what view hands and model I want It doesnt like the that line of code but I could be doing something wrong
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I keep getting a bad syntax error when I says what view hands and model I want It doesnt like the that line of code but I could be doing something wrong
What Scobalula said.
And I can also send you a new script if you want, where I modified how you setup the viewmodels and hud, which may be easier. Now its just one line per type of suit instead of multiple, and I added functions that get called when you put the suit on, and tweaked some things.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Okay just send me the newer version as its probably better to use that version
Alright, I should be able to tonight. Its probably a simple fix though if you just post what you added in the script or maybe how its being called or something like that. Syntax errors are pretty easy. And the new script doesn't work any differently really, just listing vars horizontally in a call to a function instead of vertically populated the array.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Its in the spoiler
Used developer 1 to find out what was causing the error and the lines with a * are what kept appearing in the error
Your just missing the ; at the end of each of these lines:
Edit: also, you only need to do one suit. I gave 4 possibly different suits in prefabs, and I can see how that could be confusing, but you can copy just the suit0 prefab 3 more times and don't need to do anything to suits 1, 2, or 3 unless your adding more types of suits.
So spacesuit, suit0, if you make another suit type like the gas mask guy, suit1, another type like halo, suit2 and so on. Then copy the prefabs as many times as you like.
In this case: