If you want to read more about it, follow this link: http://forum.freegamedev.net/viewtopic.php?f=53&t=2236
I've recently updated the code, and I thought I should make a new thread instead of adding on to the "Server Content RIghts" one. Here's what I changed in the new update:
-now displays bot numbers in "this guy was brought to justice" message
-removed "killerexpert" variable. Killers now take damage from body hits, but that amount is scaled by the "killerbodydamage" variable. (default:0.175). Slightly adjusted because of rounding, so all attacks will cause at least one damage point unless "killerbodydamage" is set to 0.
-split "killeranrachy" variable into "killerteamkillpenalty" (default: 1) and "killerdyingpenalty" (default: 2)
-renamed "killerpenalty" to "killerjusticepenalty" to avoid confusion and changed the default value to 3.
-changed "killermutualbounty" default value to 10
-changed "killerbounty" default value to 3
-changed "killerchaospoints" default value to 2
The code is in the attachments, but you can get it here too: http://www.mediafire.com/?ir3a5mi2qe89juc
(Intended for "Vanilla" RE, but you can make it work for the SVN just by copying lines with the phrase "killer" on the included "server.ccp" and "vars.h" to the same places in the SVN versions of both files.)
At this point, however, I'm kind of at a roadblock. The next things I want to do aren't documented by simple, commented code like Orbital's Zombie Mod, and I can't find any documentation for them anywhere.
What I was thinking of doing next was adding an "accusation" system. When a player "accuses" another, they share part of the killer's bounty when the killer is caught, but it the person they accused is innocent, the accuser shares part of the penalty for teamkilling. This is first on my list and I think it would really have a good effect on the gameplay, but I don't really know how to go about doing it. I'm going to have to make some kind of gui, which I only know how to do in Cubescript, have some way of calling the function in-game, and either make new player variables or mess with arrays, which I currently don't know how to do and can't find any documentation about. If anyone could help me, I'd really appreciate it.
Feel free to use, modify, and share your modified versions of this code. It would be great if other people can work on this gamemode too so we can make something epic together. Maybe someday this can even be included with future releases of Red Eclipse
