Bug in fortress code?

For all the help you need with Armagetron!
Post Reply
gnorty
Core Dumper
Posts: 187
Joined: Wed Nov 02, 2005 2:45 am

Bug in fortress code?

Post by gnorty »

I have been trying to bastardise fortresses to simulate a 1 team killzone and it doesn't work as expected. I think it is maybe a bug, or maybe I am misunderstanding the fortress workings, or maybe it just doesnt work because fortresses are not meant to be used this way ;)

here are my settings:-

FORTRESS_CONQUEST_RATE 0
FORTRESS_DEFEND_RATE -1000
FORTRESS_CONQUEST_DECAY_RATE .1

FORTRESS_CONQUERED_SCORE 0
FORTRESS_CONQUERED_WIN 0
FORTRESS_SURVIVE_WIN 0

FORTRESS_CONQUERED_KILL_MIN 1
FORTRESS_CONQUERED_KILL_RATIO 1

intended bahaviour is that if a team member of the blue team goes into the blue fort, the fort collapses immediately and dies. Unfortunately too many times the fort collapses and the player survives. Hopefully it is something I missed,
User avatar
Z-Man
God & Project Admin
Posts: 11770
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

That was a hack (well, not really a hack) introduced to make Sumo work the way it was desired. If no enemy has ever touched a fortress zone, or the last enemy that did is already dead, the collapse does not kill anyone. We could hack it up some more and read the server admin's mind; with negative defense rate, certainly you want the collapse to always kill.
gnorty
Core Dumper
Posts: 187
Joined: Wed Nov 02, 2005 2:45 am

Post by gnorty »

thanks for that. maybe I can now hack the map a little to ensure that all forts are touched by enemies first :)

or maybe change the gameplay so the enemy have to "enable" the zone first

As long as I have a logical reason for the apparent randomness of the killings, I am happy for now
Post Reply