Risers Fix* for 1.4 script

broken avatar :(
Created 2960 days ago
by Rampage_619
0 Members and 1 Guest are viewing this topic.
2,785 views
broken avatar :(
×
broken avatar :(
Date Registered: 15 August 2011
Last active: 1064 days ago
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
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: 45 days ago
Posts
5,545
Respect
6,488Add +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 :(
×
broken avatar :(
Location: ca
Date Registered: 27 September 2013
Last active: 4 days ago
Posts
943
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
Signature
UnDead Hospital - 100% (Finished) Download Link:
http://ugx-mods.com/forum/index.php/topic,5202.html

Town of the Dead - 100% (Finished) Download Link:
http://ugx-mods.com/forum/index.php/topic,11703.0.html
×
xXxCowmanxXx's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
xXxCowmanxXx'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 Twitch
Loading ...