[HELP]Zombie mod
#1
Im trying to make a zombie mod but im having problems with the teams.
I want to make it so when everyone spawn they'll get moved to one team, and then a timer will count down from 60 seconds and pick a random zombie and move him to the other team.

The problem im having is that when you suicide or get killed by a zombie, the code that makes everyone spawn on one team when the game starts, is messing up the other code that should make you move teams when you die.

Heres my mod now: http://pastebin.com/9kcEZURV

Looking at the When_died() code there is a for(;;), and without that, it wont move teams when you die.. With the for(;;) the game will either crash with server command overflow, message or it will lag for 5 - 10 seconds.

Help would be appreciated.

#2
i dont read all , but i think that what you need:
Code:
self maps\mp\gametypes\_teams::changeTeam("axis");

or just do like that:
Code:
for(;;) { self waittill("death"); self maps\mp\gametypes\_teams::changeTeam("axis"); // or "allies" . }

#3
(02-02-2011, 17:43)wezljkz Wrote: i dont read all , but i think that what you need:
Code:
self maps\mp\gametypes\_teams::changeTeam("axis");

or just do like that:
Code:
for(;;) { self waittill("death"); self maps\mp\gametypes\_teams::changeTeam("axis"); // or "allies" . }

i had that before, it didnt work either

#4
(02-02-2011, 19:52)isokasi Wrote:
(02-02-2011, 17:43)wezljkz Wrote: i dont read all , but i think that what you need:
Code:
self maps\mp\gametypes\_teams::changeTeam("axis");

or just do like that:
Code:
for(;;) { self waittill("death"); self maps\mp\gametypes\_teams::changeTeam("axis"); // or "allies" . }

i had that before, it didnt work either
Ok let me tell u, u should do join team stuff onplayerconnected, and the other in init

[Image: wyipjqo9qon7rc2v1lo.jpg]



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Modder/s for R2K Zombie MOD mr.apple 4 6,857 10-25-2013, 12:45
Last Post: mr.apple
Tongue Zombie CE Table xtreme2010 5 8,021 08-01-2013, 18:15
Last Post: barata
  Zombie model imchasinyou 7 9,931 07-31-2013, 01:11
Last Post: rotceh_dnih
Star [Release] 8 new Zombie maps for ItsZombieMod mahafy00 31 40,095 07-20-2013, 07:28
Last Post: benm4a
  Help Modding Zombie Mode DarthKiller 3 6,744 07-09-2013, 21:08
Last Post: Nekochan
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 101,975 07-01-2013, 15:12
Last Post: explosivebanana55
  [Release] MW3 Mod: Zombie Juggernauts NChecker 8 20,567 06-27-2013, 05:38
Last Post: xX_ANTZ_Xx
Video Preview AIZombies eXtreme 2.0 / Zombie Player (Music Player) DidUknowiPwn 4 8,145 06-24-2013, 16:37
Last Post: DidUknowiPwn
  [unfinished] Russian Zombie Mod [HARD] Tony. 0 3,978 05-31-2013, 07:33
Last Post: [HARD] Tony.
Video [News] MW3 Zombie shit montage Nekochan 7 7,519 05-21-2013, 19:12
Last Post: [HARD] Tony.

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.