
Posts
191
Respect
30Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
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. |
![]() | 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 |
I added in the four stock perks from Sniperbolt's tutorial prefabs and the machines appear in the map up until the power switch is turned on. Then they disappear but the lights from the machines still appear along with the hintstrings. But when I buy the perk, the bottle drinking anim doesn't show and I'm stuck with one weapon and cannot sprint until I buy a new weapon either from the box or off the wall
My map uses the MW3 weapon set and when I spawn, the only way I can get a second gun is if I buy one from the wall. If I use the box before doing that, it just replaces my starting pistol. Why is this?
if( IsDefined( primaryWeapons ) && !isDefined( current_weapon ) )
{
for( i = 0; i < primaryWeapons.size; i++ )
{
if( primaryWeapons[i] == "zombie_colt" )
{
continue;
}
if( weapon_string != "fraggrenade" && weapon_string != "stielhandgranate" && weapon_string != "molotov" && weapon_string != "zombie_cymbal_monkey" )
{
// PI_CHANGE_BEGIN
// JMA - player dropped the tesla gun
if( isDefined(level.DLC3.useGiveWeapon) && level.DLC3.useGiveWeapon )
{
if( primaryWeapons[i] == "tesla_gun" )
{
level.player_drops_tesla_gun = true;
}
}
// PI_CHANGE_END
self TakeWeapon( primaryWeapons[i] );
}
}
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Have you edited any .csv's to make assetroom? Check if the _on models are loaded in a .csv and are precached in the _perks.gsc. Do the same for the perk bottles + their weapon files
![]() | 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. |
Thanks, you fixed my 2nd issue but where might I look to make sure the _on models are loaded? Or which .csv would they be in? Sorry if that's a stupid question
![]() | 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 |
Thanks, you fixed my 2nd issue but where might I look to make sure the _on models are loaded? Or which .csv would they be in? Sorry if that's a stupid question
// Vending models
xmodel,zombie_vending_doubletap_on
xmodel,zombie_vending_jugg_on
xmodel,zombie_vending_revive_on
xmodel,zombie_vending_sleight_on
xmodel,zombie_vending_packapunch_on
xmodel,zombie_sign_please_wait