Risers Fix* for 1.4 script

broken avatar :(
Created 3323 days ago
by Rampage_619
0 Members and 1 Guest are viewing this topic.
3,070 views
broken avatar :(
×
broken avatar :(
Date Registered: 15 August 2011
Last active: 1427 days ago
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Community Scripter
My Groups
More
×
Rampage_619's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Rampage_619's Contact & Social Links
if you were having trouble with your zombies not rising out of ground try this fix.

Open the gsc file _zombiemode_spawners

find the codeblock
if( ( level.script == "nazi_zombie_sumpf" || level.script == "nazi_zombie_factory") && 
IsDefined( level.zombie_rise_spawners ) )
{
spots = level.zombie_rise_spawners;
}
else
{
spots = GetStructArray("zombie_rise", "targetname");
}

if( spots.size < 1 )
{
self unlink();
self.anchor delete();
return;
}
else
spot = random(spots);

replace with
if ( IsDefined( level.zombie_rise_spawners ) )
{
spots = level.zombie_rise_spawners;
}
else
{
spots = GetStructArray("spawners_rise", "targetname");
}

if( spots.size < 1 )
{
self unlink();
self.anchor delete();
return;
}
else
spot = random(spots);

the kvp for the struct is
"zone_name_spawners_rise", "targetname"

Credit:
=ZCT= Wo0
Rampage_619
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 7 days ago
Posts
5,550
Respect
6,593Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Updated to remove unnecessary steps from the tutorial.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
User
Date Registered: N/A
Last active: N/A
Posts
N/A
Respect
Primary Group
Deleted Member
×
DeletedUser's Groups
DeletedUser's Contact & Social Links
thanks for the script man :D

 

Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch
Loading ...