SmartCTF Version 4.0 By {PiN}Kev (Jan. 2004)
Contact Info: Private message me, {PiN}Hai-Ping, on http://forums.prounreal.com/

This is a ServerSide mod made only for CTF.


Updates in V4.0:

   1. Option to turn off all smartCTF messages for those who fear distraction in matches.
         -mutate SmartCTF messages off/on
   
   2. Displays FC location right bottom side when your team has flag. No more need to F1.

   3. Added flag return points as follows:  Flag returns in own base = 0.5 pts. Flag returns in mid = 2pts.
          Flag returns in enemy base = 4 pts.  Flag returns very close to capping = 8 pts with a big message.

   4. Auto screenshot option for tourney mode maps. D/L the ini from main page and put in system dir.

   5. Fixed assist bug where some times it didn't reward as it should.

   6. Fixed accessed nones. No more scriptwarning: SmartCTF.broadcastlocalizedMessage stuff in the logs.

   7. Fixed current time error for month.
 
   8. Auto brings up stats at end of game.   

   9. No longer made stats override F1, so people who dont have the stats binded can turn it off easier with F1.




Updates in V3.0:

   1. Team scores on top

   2. Added ping , pl, and time for each player
 
   3. Shows server name at bottom

   4. Shows game ended message at top

   So now with those you can take SS of SmartCTF stats instead of F1 after each map in matches/tourneys.

   5. Now logs covers and seals into ngLogs (Prompted by dio\Apollo's ngLog parser: http://www.clan-dioscuri.com/serverstats.php) very nice stuff.

   6. Added current time for those who lose track of time playing. The time is YOUR time, whatever your
      computer is set to.

   7. Fixed some point system errors. 

   


Updates in V2.0:


   1. Fixed bug where not all players are drawn sometimes.
  
   2. Sorted names by score

   3. Changed color scheme for easier reading. The ammount of green in bar reflects the raw number of the stat.

   4. Added flag icon next to FC

   5. A cover kill is now either if the victim can see FC, ** OR ** if he's within 800 unreal units of FC (Approx 50 ft).

   6. Auto turns off F1 when viewing stats

   7. Made the number of pulse kills it takes to get pulse whore message configurable via ini. Just put the ini in the system folder.

   8. Fixed some bugs like suicides not resetting the 30-kill spree, not resetting list of ppl who
      assisted or covered/sealed after flag return.
   
   9. Fixed some accessed nones, which have no impact on server performance.

   
   Please remove all earlier versions of SmartCTF. I forgot to label the 1st one SmartCTFV1 in the mutator list, but this
   one is labeled SmartCTFV2.
   
   Enjoy!


The Stats:

   - Shows stats for each person: caps, grabs, assists, covers, seals, flag kills, and raw frags.

   - shows a meter for each stat. 
        Its length is a ratio between the person's stat and the total of that stat in the server.



The new rules:

   SmartCTF Point System:  

   Cap = 15 pts. Assist = 7 pts.

   Covers (Kills while defending FC) = 2 pts each. *** And 2 more pts each if FC caps ***

   Seals = 2 pts each, *** And 2 more pts each if FC caps ***

   Seals (kills while sealing off base) are defined by: 1) Your FC is on your team's side of map. 
   And 2) Your flag is not taken. And 3) You kill some one on your side of the map.

   Flag kills are untouched.



Additional features: 

   -Another spree after Godlike. 

   -Pulse whore recognition




Caveats:

   - Again, because of UT reporter, there's a playerpawn on there always, and to distinguish it from all other
     players, the mod does not count people with 0 ping. So if you have 0 ping, plz be aware of that.




To Install:
   
   - remove all earlier versions of smartctf.

   - Unzip the .u , .int and .ini files into server's system folder
   - Add the line serverPackages=SmartCTFV4 in the unrealtournament.ini
   
   The UCC command line mutator option is: SmartCTFV4.SmartCTF

   - Oh and you don't need CTFDoTheRightThing any more.



To Use:

   - To toggle stats on and off, bind a key to: Mutate SmartCTF showStats

   - If you want translucent stats, add the word trans at the end.

   - I RECOMMEND BINDING F3 SINCE BY DEFAULT IT'S ONLY USED FOR ASSAULT.

   - Bind key example: (Set input F3 mutate SmartCTF showStats would bind ur F3 key to toggle it)

   - *** RECOMMENDATION *** Bind it using the keyword OnRelease:
     set input f3 mutate SmartCTF showStats | onRelease mutate SmartCTF showstats 

     This would make it so that u see the stats when F3 is held down and they auto-go away when 
     release the button.

   - To view info and rules: mutate SmartCTF info




FAQ:

   Q: Why is my HUD smaller?
   
   A: When you toggle on stats, it shrinks your hud to make more room. Dont worry, When you toggle it off 
      it sets your hud back to the way it was.


   Q: Can you just add it all to F1?

   A: No for 2 reasons. 1) There wont be enough room to show everything for 12 ppl AND ping,time,eff,loss, etc.
      2) ModosUtilities (which gives you eff, clickboard n more) already highjacked F1. For me to mess with
      it would be major UT surgery and prolly end up disabling Modos. So I had to make it have its own screen.


   Q: Can you make it say more stuff like "Camping whore, Spawnraping fag, etc"?
 
   A: No I want to keep this mod positive. I don't want to put people down too much. Pulse whore recognition
      is enough.


   Q: Do you think the new point system will make scores too high?

   A: No, the new point system rewards teamwork. So if a player has a high score, he usually has a lot of caps, 
      assists, seals and/or covers.  
      This system will widen the score range between the team players and the non-team players.
      Ultimately, this system will make Score reflect CTF Skill. 
      So with the mod on, Score DOES = skill :) (In most cases)

   


