News:

Come Chat with us live! Learn how HERE!

Main Menu

Extreme Sudden Death

Started by DaylightDies, July 01, 2008, 10:24:26 PM

DaylightDies

Im not entirely sure if this is included in any official SVN releases.
With that being said I've searched through other Svn's and cant seem to find, the codes/code/lines were it tells the Spawns (alien/humans) to die?
Could someone point me in the right direction thnx >:D

\\edit just went through benmachines/pol's patch for ESD

http://www.bandstand.org.uk/~benm/trem/extremesd.patch

Still cannot find anything that tells the spawns to die?

epsy

+      trap_SendConsoleCommand( EXEC_NOW, "alienWin\n" );
+      trap_SendConsoleCommand( EXEC_NOW, "humanWin\n" );



i'd look in that direction :)
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

DaylightDies

#2
ok well i figured it was this but wasnt sure.

  if( Q_stricmp( cmd, "alienWin" ) == 0 )
  {
    int       i;
    gentity_t *e;

    for( i = 1, e = g_entities + i; i < level.num_entities; i++, e++ )
    {
      if( e->s.modelindex == BA_H_SPAWN )
        G_Damage( e, NULL, NULL, NULL, NULL, 10000, 0, MOD_SUICIDE );
    }
        for( i = 1, e = g_entities + i; i < level.num_entities; i++, e++ )
    {
      if( e->s.modelindex == BA_H_REPEATER )
        G_Damage( e, NULL, NULL, NULL, NULL, 10000, 0, MOD_SUICIDE );
    }


I added that last part about the repeaters in, hopefully it works *compiling done.

//edit worked ty :)