Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: ByKris
I need change the zombies health but i dont know how, please help me
ModmeBot:
Reply By: natesmithzombies
Are you trying to change the health of every zombie or just one? Do you want the health of the zombies to be dependent on the round or a set health? All AI, and even vehicles, have a self.health variable on them. Check out my code below for an example of how you might go about changing zombie health.
You could paste this code at the bottom of mapname.gsc and then call is like this in the "function main" of your mapname.gsc:
This code is entirely untested but hopefully it gets the ball rolling for you
ModmeBot:
Reply By: ByKris
natesmithzombiesAre you trying to change the health of every zombie or just one? Do you want the health of the zombies to be dependent on the round or a set health? All AI, and even vehicles, have a self.health variable on them. Check out my code below for an example of how you might go about changing zombie health.
You could paste this code at the bottom of mapname.gsc and then call is like this in the "function main" of your mapname.gsc:
This code is entirely untested but hopefully it gets the ball rolling for you
ModmeBot:
Reply By: natesmithzombies
ByKrisI need that all zombies having the same health because i need kill with 1 shoot in all rounds, I tested the script but doesnt work or I put it wrong (sorry for my english, im spanish)
ModmeBot:
Reply By: ByKris
natesmithzombiesByKris Necesito que todos los zombies que tienen la misma salud porque necesito matar con 1 disparar en todas las rondas, he probado el guión, pero no funciona o lo pongo mal (lo siento por mi Inglés, español im)
Está bien que es incluso más fácil ahora. Prueba esto:
Paso 1) pega este en la parte inferior de mapname.gsc: Paso 2) Pega este bajo en su mapname.gsc Avísame si funciona, no lo he probado a mí mismo como he estado rebotando entre el trabajo y la Universidad todo el dia
ModmeBot:
Reply By: natesmithzombies
ByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
ModmeBot:
Reply By: ByKris
natesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
ModmeBot:
Reply By: natesmithzombies
ByKrisnatesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
http://paste.md-5.net/yiseyudofu.tex <--kill with 1 shoot ,and for other custom need that each x time appear a zombie with a lot of health--> http://paste.md-5.net/cuforurowu.tex
ModmeBot:
Reply By: ByKris
natesmithzombiesByKrisnatesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
http://paste.md-5.net/yiseyudofu.tex <--kill with 1 shoot ,and for other custom need that each x time appear a zombie with a lot of health--> http://paste.md-5.net/cuforurowu.tex
This should work for you now
ModmeBot:
Reply By: natesmithzombies
ByKrisnatesmithzombiesByKrisnatesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
http://paste.md-5.net/yiseyudofu.tex <--kill with 1 shoot ,and for other custom need that each x time appear a zombie with a lot of health--> http://paste.md-5.net/cuforurowu.tex
This should work for you now
woks! thanx, and I need that every 2 rounds teleport you to a random room (there are 4), how?
ModmeBot:
Reply By: Hero115
natesmithzombiesByKrisnatesmithzombiesByKrisnatesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
http://paste.md-5.net/yiseyudofu.tex <--kill with 1 shoot ,and for other custom need that each x time appear a zombie with a lot of health--> http://paste.md-5.net/cuforurowu.tex
This should work for you now
woks! thanx, and I need that every 2 rounds teleport you to a random room (there are 4), how?
Not sure what you mean. Can you explain
ModmeBot:
Reply By: ByKris
Hero115natesmithzombiesByKrisnatesmithzombiesByKrisnatesmithzombiesByKris^1thread new_zombie_health(5);
^1---------------------------^
^1ERR(0) scripts/zm/zm_pistol.gsc (106,28) : syntax error, unexpected $end, expecting TOKEN_RIGHT_CURLY : thread new_zombie_health(5);
Paste your mapnmame.gsc here and send the link over
http://paste.md-5.net/yiseyudofu.tex <--kill with 1 shoot ,and for other custom need that each x time appear a zombie with a lot of health--> http://paste.md-5.net/cuforurowu.tex
This should work for you now
woks! thanx, and I need that every 2 rounds teleport you to a random room (there are 4), how?
Not sure what you mean. Can you explain
I think he needs a script For "Teleporting" him every 2 rounds to a random room (There are 4 rooms). Kinda like that map Gun defense