Thread Rating:
  • 4 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release RCXD Race Mod
#11
Maximum vehicles is 16 [Crash if more, no way around]

Maybe something like this?
Code:
onPlayerSpawned()
{
    self endon("disconnect");
    
    for(;;)
    {
        self waittill("spawned_player");
        self.allowed = true;
        if(self isHost()) //We don't everyone running this code do we?
        {
            self thread doMaxPlayerCheck();
        }
        wait 0.1;
        if(level.rcxd_race_in_progress || !self.allowed)
        {
            self thread maps\mp\gametypes\_globallogic_spawn::in_spawnSpectator( self.origin, self getPlayerAngles() );
        }
        else
        {

        if(!isdefined(self.hud_rankscroreupdate))
        {
            self.hud_rankscroreupdate = NewScoreHudElem(self);
            self.hud_rankscroreupdate.horzAlign = "center";
            self.hud_rankscroreupdate.vertAlign = "middle";
            self.hud_rankscroreupdate.alignX = "center";
            self.hud_rankscroreupdate.alignY = "middle";
             self.hud_rankscroreupdate.x = 0;
            if( self IsSplitscreen() )
                self.hud_rankscroreupdate.y = -15;
            else
                self.hud_rankscroreupdate.y = -60;
            self.hud_rankscroreupdate.font = "default";
            self.hud_rankscroreupdate.fontscale = 2.0;
            self.hud_rankscroreupdate.archived = false;
            self.hud_rankscroreupdate.color = (0.5,0.5,0.5);
            self.hud_rankscroreupdate.alpha = 0;
            self.hud_rankscroreupdate maps\mp\gametypes\_hud::fontPulseInit();
            self.hud_rankscroreupdate.overrridewhenindemo = true;
        }

        self thread RCXD_Main();

        }
    }
}

doMaxPlayerCheck()
{
    if(level.players.size > 15)
    {
        loopval = level.players.size - 15;
        for(i = loopval; i > 0; i--)
        {
            randPlayer = randomInt(level.players.size);
            level.players[randPlayer].allowed = false;
            level.players[randPlayer] iPrintLnBold("There are currently too many racers, please wait next round!");
            wait 0.01;
        }
    }
}
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#12
nice mod nukem
Reply

#13
thanks alot for sharing nukem!
--
Reply

#14
Brillant Mod...Nice
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#15
Vid, begin of the video = this mod.
Reply

#16
....use another music, this video is not available in over 9000 countries....
even proxies in some little isle states are blocked by UMG
Reply

#17


Trolololol and JD said we couldnt mod lol
Reply

#18
omg killingdyl, this is sick
awesome job
Reply

#19
(11-26-2010, 21:15)d0h! Wrote: omg killingdyl, this is sick
awesome job

didnt say i made it Wink
Reply

#20
The endless thingss you could do with a carepackage rofl
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Snail Race Yamato 0 1,445 08-24-2011, 13:00
Last Post: Yamato
  [Release] RCXD Race MOD v3.0 alistair3149 13 15,494 06-19-2011, 11:54
Last Post: iBanana
  [Release] map for Nuketown RCXD Race wezljkz 10 10,847 06-17-2011, 19:14
Last Post: surtek
  [Release] RCXD Racing waffles 16 13,371 06-05-2011, 07:26
Last Post: jduffy
  Split race surtek 2 2,080 06-04-2011, 13:58
Last Post: aosma8
  New Release - WTCC 2010 Expansion Pack for RACE 07 Steam 0 3,978 05-20-2011, 21:01
Last Post: Steam
  Now Available - GT Power Pack Expansion for RACE 07 Steam 0 2,398 04-21-2011, 10:01
Last Post: Steam
  Now Available - STCC The Game 2 Expansion for RACE 07 Steam 0 3,474 04-09-2011, 01:01
Last Post: Steam
  Preview RCXD KART MOD CANCELED Ivankec 7 4,706 02-26-2011, 20:59
Last Post: Ivankec
  [Release] RCXD Race MOD v2.0 Eekhoorn 24 13,560 01-24-2011, 16:06
Last Post: rohafin

Forum Jump:


Users browsing this thread:
2 Guest(s)

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