Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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.
Reply

#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" .
    }
Reply

#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
Reply

#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]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  BF4 zombie 'mod' JariZ 4 6,257 08-17-2014, 14:23
Last Post: Yamato
  [Request] Modder/s for R2K Zombie MOD mr.apple 4 4,477 10-25-2013, 12:45
Last Post: mr.apple
Tongue Zombie CE Table xtreme2010 5 5,535 08-01-2013, 18:15
Last Post: barata
  Zombie model imchasinyou 7 6,790 07-31-2013, 01:11
Last Post: rotceh_dnih
Star [Release] 8 new Zombie maps for ItsZombieMod mahafy00 31 33,085 07-20-2013, 07:28
Last Post: benm4a
  Help Modding Zombie Mode DarthKiller 3 4,891 07-09-2013, 21:08
Last Post: Nekochan
Information Preview 'KillMe' zombie mod Nekochan 115 57,076 07-03-2013, 14:56
Last Post: X-Track
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 88,607 07-01-2013, 15:12
Last Post: explosivebanana55
  [Release] MW3 Mod: Zombie Juggernauts NChecker 8 17,313 06-27-2013, 05:38
Last Post: xX_ANTZ_Xx
Video Preview AIZombies eXtreme 2.0 / Zombie Player (Music Player) DidUknowiPwn 4 5,873 06-24-2013, 16:37
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

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