Fluffy_the_ic wrote:it seemed sorta like a hackjob with some things that were going on
Oh yeah, the Deathmatch game mode by Zerted was a
complete hack.
The seemingly crazy rules were added to keep the AI (and other humans) from instantly killing everyone. In pure deathmatch, when more then one unit spawns at the same point, they turn and kill each other without taking another step. If humans played, whoever shot a rocket at their feet the fastest would win. People wouldn't even stay alive long enough to drop a mine on themselves, the rocket would explode before the mine hit the ground.
The first version of Deathmatch had everyone spawning, then 15 seconds later everyone would fight for around 30 seconds. Next, there would be another 15 second break to allow everyone to who died to respawn and run around again, then another 30 second fight session, and over and over.
I tried to improve on that. The 'latest' Deathmatch gives everyone who just spawned some time to move about the map. After that time, the new units are moved onto a 3rd team. The 3rd team is an enemy of itself, so everyone on the 3rd team attacks everyone else on the 3rd team. Once you are on the 3rd team, there is no break in the killing. However, if you kill someone on the 1st or 2nd team (those who have just spawned) then the game mode automatically kills you for 'spawn camping'. The timer shows you how much time is left until the current new units are moved onto the 3rd team.
I guess I could have slowly spawned one unit every couple of seconds, but I didn't think of that until right now...
If all you want to do is get points when you kill a team mate, change
points.lua. However, you will still see the -1 team kill even though you don't lose points. I don't know if the server may still boot you for team kills, even though you have positive points. That was the one thing I never tested.