UGX-Mods 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

Increase zombie health per round?

broken avatar :(
Created 9 years ago
by IVIr_Gadd
0 Members and 1 Guest are viewing this topic.
2,964 views
broken avatar :(
×
broken avatar :(
Location: gbPrefer Not To Say
Date Registered: 20 December 2013
Last active: 9 years ago
Posts
8
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
IVIr_Gadd's Groups
How do you increase zombie health per round?

If it is currently possible, the zombies need to gradually gain extra health.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 2 years ago
Posts
5,551
Respect
6,657Add +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.
This already happens by default in the game. Are you saying you want to make it more dramatic?
broken avatar :(
×
broken avatar :(
Location: gbPrefer Not To Say
Date Registered: 20 December 2013
Last active: 9 years ago
Posts
8
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
IVIr_Gadd's Groups
true but it needs increasing, too easy.

Also do you know how to add 100 points by going prone on perks?
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 7 March 2016
Last active: 9 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
deathy0909's Groups
deathy0909's Contact & Social Links
How do you increase zombie health per round?

If it is currently possible, the zombies need to gradually gain extra health.

Code Snippet
Plaintext
// set_zombie_var( zvar, value, is_float, column, is_team_based )
zombie_utility::set_zombie_var("zombie_health_increase", 100, false); //cumulatively add this to the zombies' starting health each round (up to round 10)
zombie_utility::set_zombie_var("zombie_health_increase_multiplier", 0.1, true); //after round 10 multiply the zombies' starting health by this amount

Or

Code Snippet
Plaintext
//If team based
level.zombie_vars[team][zvar] = value;

//If not
level.zombie_vars[zvar] = value;
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Code Snippet
Plaintext
// set_zombie_var( zvar, value, is_float, column, is_team_based )
zombie_utility::set_zombie_var("zombie_health_increase", 100, false); //cumulatively add this to the zombies' starting health each round (up to round 10)
zombie_utility::set_zombie_var("zombie_health_increase_multiplier", 0.1, true); //after round 10 multiply the zombies' starting health by this amount

Or

Code Snippet
Plaintext
//If team based
level.zombie_vars[team][zvar] = value;

//If not
level.zombie_vars[zvar] = value;
This error shows up when adding this to zm_mymapname.gsc:
Quote
^1zombie_utility
^1-------------^
^1ERR(0) scripts/zm/zm_massivemap.gsc (294,14)  : syntax error, unexpected TOKEN_IDENTIFIER, expecting $end : zombie_utility

Double Post Merge: October 16, 2016, 04:18:55 am
I couldn't edit the last post but, I put the script under function main and it worked but the health of the zombie is still the same and die easily.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 7 March 2016
Last active: 9 years ago
Posts
5
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
deathy0909's Groups
deathy0909's Contact & Social Links
This error shows up when adding this to zm_mymapname.gsc:

What I posted will work fine as long as you haven't removed
Code Snippet
Plaintext
#using scripts\zm\_zm_utility;


However if this isn't the case you must have implemented it incorrect and from the error id assume you have misplaced the line(s) of code. If if none of this is the case could you possibly share your code?

 
Loading ...