Scoring

For all the help you need with Armagetron!
Post Reply
Crazy
Core Dumper
Posts: 106
Joined: Sat Oct 13, 2007 6:24 am

Scoring

Post by Crazy »

so, i was wondering if it could be possible to change the way that servers decide who wins

usually it decides by who has the most points.

but would it be possible to make it so that the person with the least points become the winner?

also, for a racing server, is it possible to set scoring for players by posistion hitting the winzone?

like first to get it gets +0 points, person 2 gets +1 points, person 3..2 points etc. and not completed be +10 points
death on zone = +1 (+not completed= +11)
death by suicide= +5 (+not completed= +15)

kinda get what i'm wanting?
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Scoring

Post by Z-Man »

Crazy wrote:but would it be possible to make it so that the person with the least points become the winner?
Just make all scores negative for the same net effect :) Otherwise, to get ties handled correctly, you'd need to invert the player/team comparison function used for sorting.
Crazy wrote:also, for a racing server, is it possible to set scoring for players by posistion hitting the winzone?
You'll need to heavily modify the winzone code there. Have it keep track of who already hit it and distribute points accordingly.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Scoring

Post by kyle »

Crazy wrote:also, for a racing server, is it possible to set scoring for players by posistion hitting the winzone?

like first to get it gets +0 points, person 2 gets +1 points, person 3..2 points etc. and not completed be +10 points
death on zone = +1 (+not completed= +11)
death by suicide= +5 (+not completed= +15)
you could set up a script and create target zones (from sty+ct) all around the track. you can set a name to the target zone when you spawn them, I would name them 1,2,3,4...,(whatever last one before death zone is) this way at the end of a round you can check and see which player gets the furthest and use a score admin hack (can't remember the name) to add points the the players.

basically use a script the spawn the target zones around the track, then as a player enters 1 of them store it with the player. when the match is over figure out who is where based on which target zone the entered last and add points to them accordingly.
Post Reply