• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Config.lua help

Joined
Jun 19, 2009
Messages
1,852
Reaction score
5
Hello!

I use TFS 0.3.6, and I want to make this:

5 frags for red skull
10 frags for ban

How do I do it... I don't understand the "daily" thingy in config..
 
Code:
	dailyFragsToRedSkull = 5
	weeklyFragsToRedSkull = 10
	monthlyFragsToRedSkull = 15
	dailyFragsToBlackSkull = dailyFragsToRedSkull
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull
	dailyFragsToBanishment = dailyFragsToRedSkull
	weeklyFragsToBanishment = weeklyFragsToRedSkull
	monthlyFragsToBanishment = monthlyFragsToRedSkull
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = false
 
the whole config.lua?

Code:
	redSkullLength = 5 * 24 * 60 * 60
	blackSkullLength = 45 * 24 * 60 * 60
	dailyFragsToRedSkull = 5
	weeklyFragsToRedSkull = 10
	monthlyFragsToRedSkull = 15
	dailyFragsToBlackSkull = dailyFragsToRedSkull
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull
	dailyFragsToBanishment = dailyFragsToRedSkull
	weeklyFragsToBanishment = weeklyFragsToRedSkull
	monthlyFragsToBanishment = monthlyFragsToRedSkull
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = false
	useFragHandler = false
	advancedFragList = false

I think this part is only necessarily.. tell me if u want to see my whole config
 
Lua:
	redSkullLength = 5 * 24 * 60 * 60 --how long red skull lasts
	blackSkullLength = 45 * 24 * 60 * 60 --how long black skull lasts
	dailyFragsToRedSkull = 5 --how many frags in a day to get a rs
	weeklyFragsToRedSkull = 10  --how many frags in a week to get a rs
	monthlyFragsToRedSkull = 15 --how many frags in a month to a rs
	dailyFragsToBlackSkull = dailyFragsToRedSkull --how many frags in  a day to get a black skull in this case it is bs is false10frags because dailyfragstoredskull was set to 10... use black skull is false so this wont matter
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull --etc... use black skull is false so this wont matter
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull --etc... use black skull is false so this wont matter
	dailyFragsToBanishment = 10  --change this value to how many frags for a banishment in one day
	weeklyFragsToBanishment = 15 --etc in one week
	monthlyFragsToBanishment = 20 --etc in one month
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = false
	useFragHandler = false
	advancedFragList = false

that might work
 
Lua:
	redSkullLength = 5 * 24 * 60 * 60 --how long red skull lasts
	blackSkullLength = 45 * 24 * 60 * 60 --how long black skull lasts
	dailyFragsToRedSkull = 5 --how many frags in a day to get a rs
	weeklyFragsToRedSkull = 10  --how many frags in a week to get a rs
	monthlyFragsToRedSkull = 15 --how many frags in a month to a rs
	dailyFragsToBlackSkull = dailyFragsToRedSkull --how many frags in  a day to get a black skull in this case it is bs is false10frags because dailyfragstoredskull was set to 10... use black skull is false so this wont matter
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull --etc... use black skull is false so this wont matter
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull --etc... use black skull is false so this wont matter
	dailyFragsToBanishment = 10  --change this value to how many frags for a banishment in one day
	weeklyFragsToBanishment = 15 --etc in one week
	monthlyFragsToBanishment = 20 --etc in one month
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = false
	useFragHandler = false
	advancedFragList = false

that might work
FYI:
Code:
	-- Unjustified kills
[B][COLOR="Red"]	-- NOTE: *Banishment and *BlackSkull variables are >summed up<
	-- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
	-- *RedSkull equivalents.[/COLOR][/B]
	-- Auto banishing works only if useBlackSkull set to negative.
	-- advancedFragList is not advised if you use huge frags
	-- requirements.
 
Back
Top