anyone have the Survivorzone script/modification or a link to it? if you do plz post it here.
i saw it some time ago but lost track of where it is, but would like to peek at it (would be nice if we could collect such scripts somewhere on this forum, there doesn't seem to be much at the official armagetron.sourceforge forum)
Deathzone/Survivorzone
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm
A script? Could that do that? Maybe based on console output, but then if there was a end-of-round bonus, that player would have already gotten it. Theoretically, based on what I know of the source, it would be a realtively easy modification. Simply copy and paste the winzone code, rename everything winzone in the copy to losezone, modify the code so it kills the cycle and subtracts points from the loser, like suicide... But the catch is the winzone code is probably very spread out...

oki i dunno but i think i saw somewhere that the survivor zone wasn't part of the code itself but something someone wrote as a script for the server, i have no clue if this is the case or not, or maybe i misunderstood something.
anyway you run a server tank, it has a winzone: was it just an option in the server setup?
anyway you run a server tank, it has a winzone: was it just an option in the server setup?
- Majination
- Hero Of 2004
- Posts: 659
- Joined: Thu Dec 25, 2003 10:07 pm
- Location: California
- Contact:
src\tron\gWinZone.cpp
Some of the relevant source in gWinZone::InteractWith ...
Some of the relevant source in gWinZone::InteractWith ...
Code: Select all
if ( ( c->Position() - this->Position() ).NormSquared() < r*r )
{
if ( c->Player() )
sg_DeclareWinner( c->Player()->CurrentTeam() );
}
}
http://bikecolors.shorturl.com -- ArmageTron Multi-Color Bike Picker
"Stimpy, sometimes your wealth of ignorance astounds me!" - Ren Hoek
"Stimpy, sometimes your wealth of ignorance astounds me!" - Ren Hoek
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6712
- Joined: Thu Dec 18, 2003 7:03 pm