This page contains documentation about the tweaking I did to the SmartCTF mod.
This mod was originally made by {PiN}Kev on January 2004, and linked to http://pin.progameplayer.com/SmartCTF but that site doesn't seem to work anymore.
Tweaked by {DnF2}SiNiSTeR on November 2004. Besides listing my changes, on this site you can also find an user / admin manual.Site: http://www.dnfclan.com/~sin/SmartCTF
SmartCTF is a serverside mod. This means it has to be installed on the server. It should also be added to the ServerPackages so clients will download it automatically to be able to see stats and the likes.
The manual steps are as follows:
Remove all earlier versions of SmartCTF to avoid conflicts!!
Extract the .ini, .int, and .u files in the UT\System directory.
You can extract the readme files to UT\Help if you want.
Now open UnrealTournament.ini (in your UT\System folder) and look for [Engine.GameEngine].
Add the following to the list of 'ServerPackages=':
ServerPackages=SmartCTFV4_SiN
Also, if you don't want to select the SmartCTF mutator each time but have it be added to CTF games by default,
you have to add another line to the list of 'ServerActors=':
ServerActors=SmartCTFV4_SiN.SmartCTFServerActor
Ready to go!
Just open up the SmartCTFV4_SiN.ini in the UT\System folder. If you can't find it, run SmartCTF one time to generate it with the default options.
Name | Default Value | Description |
CapBonus AssistBonus CoverBonus SealBonus FlagKillBonus |
8 7 2 2 0 |
Here you can enter the SmartCTF bonuses. Remember this gets added to default UT scorings. You can only enter integer numbers, and can use something like -1 to decrease in score, for example setting FlagKillBonus to -1 will give 4 points instead of standard 5 on a flagkill. |
BaseReturnBonus MidReturnBonus EnemyBaseReturnBonus CloseSaveReturnBonus |
0.500000 2.000000 4.000000 8.000000 |
If you return the flag in a specific playerzone or really close to the flag. These can be decimal numbers hence the 0.5 pts for base returns. You don't see decimals on the scoreboard. |
bEnabled | True | You can totally disable the loading of SmartCTF by setting this to False. |
bFixFlagBug | True | If True, the flag will be dropped if the FC disconnects or lags out, instead of being send home which is the default UT functionality. Hopefully this will prevent some 'lagoutcaps' in clanwars. |
bShowFCLocation | True | Clients will see the location (playerzone) of their own Flagcarrier in the bottom right corner of the screen. |
StartupLogoSize | 3 | 0..3, on joining a server a player will see a logo. If you think this is too big, you can fill in 2 for 3/4 size or 1 for 1/2 size here. Doesn't look as nice though. If you enter 0, no logo will be displayed but instead a 2 line console message. |
bShowXXXXXMsg | True | You can hide certain SmartCTF messages by setting this to False. bShowCoverMsg: ... covered the flagcarrier! bShowCoverSpreesMsg: ... is on a multi cover / cover spree ! bShowSealMsg: ... is sealing off the base! bShowSavedMsg: Saved By ...! bShowLongRangeMsg: Über / Long Range Kill! (Non-sniper/insta/trans/deemer kills over huge distances) |
bShowXXXXXConsoleOnly | False | Gets ignored if bShowXXXXXMsg is False. If this property is True then the message will be displayed in the console only, and not on the HUD in green letters. |
bShowSealRewardConsoleMsg bShowCoverRewardConsoleMsg bShowAssistConsoleMsg |
True | These are the 'reward on cap' and 'assist' messages displayed in the console, you can disable them also. |
bPlaySavedSound bPlayCaptureSound bPlayAssistSound bPlay30SecSound |
True | Additional Announcer sounds, "Capture" at a flagcap, "Assist" when you get an assist bonus and "Nice Catch!" if you do a Flagsave. And the missing "30 seconds remaining..." sound (sounds a bit odd tho :s) |
bAfterGodLikeMsg | True | Enable the additional killingspree message after Godlike, "Too Easy For.." |
bEnhancedMultiKill | True | Enable enhanced multikills. Inserts 2 extra phases, in color changing messages and unlimited MonsterKills. |
Now, understandably we want different settings for a public funserver and a clanserver. I can imagine the default settings
will do fine on a public server, these are basically the full settings. Here they are again:
[SmartCTFV4_SiN.SmartCTF] bEnabled=True CapBonus=8 AssistBonus=7 FlagKillBonus=0 CoverBonus=2 SealBonus=2 BaseReturnBonus=0.500000 MidReturnBonus=2.000000 EnemyBaseReturnBonus=4.000000 CloseSaveReturnBonus=8.000000 bFixFlagBug=True bEnhancedMultiKill=True bShowFCLocation=True bAfterGodLikeMsg=True bPlay30SecSound=True StartupLogoSize=3 bShowCoverMsg=True bShowCoverConsoleOnly=False bShowCoverSpreesMsg=True bShowCoverSpreesConsoleOnly=False bShowSealMsg=True bShowSealConsoleOnly=False bShowSavedMsg=True bShowSavedConsoleOnly=False bShowLongRangeMsg=True bShowLongRangeConsoleOnly=False bShowAssistConsoleMsg=True bShowSealRewardConsoleMsg=True bShowCoverRewardConsoleMsg=True bPlayCaptureSound=True bPlayAssistSound=True bPlaySavedSound=True
This gets rid of CTF big screen messages like "X covered the flagcarrier" and "X is sealing off the base",
and the FC location in the bottomright of the screen.
Furthermore 'funstuff' like Enhanced Multikill is disabled. Some console messages remain, but you can tune
this down even further if you want.
[SmartCTFV4_SiN.SmartCTF] bEnabled=True CapBonus=8 AssistBonus=7 FlagKillBonus=0 CoverBonus=2 SealBonus=2 BaseReturnBonus=0.500000 MidReturnBonus=2.000000 EnemyBaseReturnBonus=4.000000 CloseSaveReturnBonus=8.000000 bFixFlagBug=True bEnhancedMultiKill=False bShowFCLocation=False bAfterGodLikeMsg=False bPlay30SecSound=True StartupLogoSize=1 bShowCoverMsg=False bShowCoverConsoleOnly=False bShowCoverSpreesMsg=False bShowCoverSpreesConsoleOnly=False bShowSealMsg=False bShowSealConsoleOnly=False bShowSavedMsg=True bShowSavedConsoleOnly=False bShowLongRangeMsg=False bShowLongRangeConsoleOnly=False bShowAssistConsoleMsg=True bShowSealRewardConsoleMsg=True bShowCoverRewardConsoleMsg=True bPlayCaptureSound=True bPlayAssistSound=True bPlaySavedSound=True
If you want the default UT scoring, and not the SmartCTF enhanced point system, just
set all bonuses to 0.
CapBonus=0 AssistBonus=0 FlagKillBonus=0 CoverBonus=0 SealBonus=0 BaseReturnBonus=0.000000 MidReturnBonus=0.000000 EnemyBaseReturnBonus=0.000000 CloseSaveReturnBonus=0.000000
Any client logged in as admin can easily change these settings by typing commands like this in the console:
admin set SmartCTF CapBonus 5
admin set SmartCTF bShowFCLocation False
Use a command like admin get SmartCTF bFixFlagBug to request the current value.
Note that some properties might require a restart of the game to take effect!
SmartCTF changes the points you receive. They can now be changed by the server admin, if you want to check a certain server's settings just type 'mutate smartctf rules' in the console. Here is the default setting.
Action | UT Score | SmartCTF Bonus | Total |
Capture | 7 | 8 | 15 |
Assist | - | 7 | 7 |
Flagkills | 5 | 0 | 5 |
Covers | 1* | 2 | 3 |
Seals | 1* | 2 | 3 |
Flagreturns in own base | - | 0.5 | 0.5 |
Flagreturns in mid | - | 2 | 2 |
Flagreturns in enemy base | - | 4 | 4 |
Flagreturns really close | - | 8 | 8 |
An Assist is if you carried the flag, but dropped it and a teammember took over and capped.
A Cover is defined as a kill while defending your flagcarrier. This has to do with distance as well as enemies seeing the flagcarrier.
A Seal is defined by:
1) Your FC is on your team's side of map.
2) Your flag is not taken.
3) You kill some one on your side of the map.
If the FC that you covered and/or sealed off the base for, caps, then you once again get bonuses for each such kill you made (so coverkills x 2 pts, sealkills x 2 pts).
Seals and Flagreturns require maps with proper zone names, that is player locations that contain "Red", "Blue" and "Mid" in their text.
A Flagsave is a Flagreturn really close to the enemy flag which has not been taken. This is accompanied by a "Saved By" message.
The following commands can be typed by clients in the console:
mutate smartctf
General info.
mutate smartctf rules
Shows all bonuses settings for the server.
mutate smartctf stats
Display the stats over the HUD, type again to hide them.
A good tip is to bind the statboard to F3. This only gets used for Assault so
during CTF its free. Bind F3 as follows in your User.ini:
F3=ShowObjectives | mutate smartctf showstats
Now it will display the objectives during an Assault game and the SmartCTF statboard during a CTF game (compatible with older versions of SmartCTF).
Contact {DnF2}SiNiSTeR on #DutchNet @ QuakeNet IRC
Or via the e-mail on this page.