



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!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to 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. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
treasure_chest_weapon_spawn( chest, player ) // Added code
if( rand == "storm" )
model setModel( "bo2_storm_world" );
// Normal code
else
{
modelname = GetWeaponModel( rand );
model setmodel( modelname );
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
in zombiemode_weapons in the function: Code SnippetPlaintexttreasure_chest_weapon_spawn( chest, player )
you can simply check for the gun, and change the model if needed: Code SnippetPlaintext// Added code
if( rand == "storm" )
model setModel( "bo2_storm_world" );
// Normal code
else
{
modelname = GetWeaponModel( rand );
model setmodel( modelname );
}

Alright, will try this now, sorry for not responding sooner
Edit: Works, thanks. I was thinking that there has to be similar way to do it and not something DD said
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
What i said probably would have worked. Just a bit longer and only really worth it if your doing this for multiple weapons.
Except the attach part. You probably could have done that too, just more code you don't really need.
And longer the script, the more confused I get
)