This script will work on any 'standard' capture the flag map(with one flag for each team).
After picking up the flag, your team scores once every five(5) seconds, until the capture limit is reached which makes you win!
Included in the Zip
holdTheFlag.lua
background1.png
backgound1.png is a little counter to show the scores if you don't like it just remove it or change it or something.
Lua File Information
tscore and ctscore represent the current score of each team. Changing these will result in a different starting score.
amountIncrease is how many points each teams scores every five seconds and holdAmount is the score needed to win.
The five second score increase can be changed to a different time, but not in a variable at the start of the file.
To change this go to the pickUpFlag function and change the timer values.
Additional Information
The screenshots were taken on ctf_fast, which is not included in this file (pretty sure it's a default map).
And do what you will with this script, I really don't care.
Have fun.
edited 1×, last 18.06.13 05:06:10 am
Approved by Yates
Download
4 kb, 437 Downloads