-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
112 lines (93 loc) · 3.02 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
local config = {}
-- macro prototype
config.charSpeed = 100
config.combatSpeed = 30
config.healthReg = 0.2
config.combatDMG = 15
config.baseHP = 100
config.timecompression = 1
config.warmupTime = 1 -- in seconds
config.roundTime = 3600 / config.timecompression -- in seconds
config.afterTime = 60 -- in seconds
config.ressStart = 20
config.ressEnd = 22
config.treasureWorth = 5
config.treasureSpawnTimer = 10
config.baseSkillGain = 3 / config.roundTime
config.trainingSkillGain = 6 / config.roundTime
config.combatSkillGain = 27 / config.roundTime
config.baseXPGain = 30 / config.roundTime
config.actionXPGain = 30 / config.roundTime * 4
config.essenceFarmGain = 0.1
config.upgradeFactor = 10
config.maxPayload = 15
config.ressourceProduction = 0.1
config.ressourceCap = 50
-- combat balancing
config.walkspeed = 200
config.runspeed = 250
config.animspeed = 4 * config.walkspeed / 50
config.projectilespeed = 500
config.energyreg = 8
--~ config.healthreg = 8 -- 50% of that when incapacitated
config.maxPain = 300
config.maxEnergy = 300
config.getUpPain = 0.5 -- in percent
config.dmgUnmodified = 100
-- next playtest - http://www.epochconverter.com/
config.nextPlaytestAt = 1372960800
-- progression and round time
config.barrierHealth = 50000 / config.timecompression -- 800 dpm * 60 minutes + 2.000 (so one player can't do it alone)
config.xpCap = 1000
config.levelCap = 10
config.dummyXPWorth = 40 * config.timecompression
config.dummyRespawn = 180 -- seconds
config.xpCapTimer = config.roundTime / config.levelCap
config.ressourceHealth = 300
config.xpGainsEachNSeconds = 10
config.xpPerRessourceTick = config.xpCap * config.levelCap / config.roundTime * config.xpGainsEachNSeconds / 4
config.strIncreaseFactor = 0.1 -- 10% stronger per lvl
config.combatHealXP = 0.15 -- in % of damage / heal done
config.crowdControlXP = 0.2 -- in % of duration in seconds
-- tracking
config.trackingOverTimeTimeout = 5
-- mobs
config.mobSightRange = 250
config.mobMovementSpeed = config.walkspeed * 0.70
config.mobAttackRange = 60
config.mobDamage = 20
config.mobAnimSpeed = 3
config.mobAttackTimer = 2
config.dummyMaxPain = 90
-- visuals
config.show_fog_of_war = true
config.sightDistanceFar = 800
config.sightDistanceNear = 400
config.footStepVisibility = 15 -- beware: large numbers will be bad for performance
config.minPlayerNumberToDecreaseFootstepsAmount = 4
config.AEShowTime = 4
config.focusSpriteMaxRange = 2.5
-- gamepad
config.gamepad_cursor_speed_near = 300
config.gamepad_cursor_speed_far = 800
config.gamepad_cursor_near_distance = 400
config.gamepad_cursor_near_border = 200
-- debug
config.draw_debug_info = false
config.show_profile_info = false
config.show_object_list = false
config.show_prints = true
-- network
--~ config.server_hostname = "windegg"
config.server_hostname = "buffy.leenox.de"
--~ config.server_hostname = "localhost"
config.server_port = 9997
config.sync_high = 1 / 10
config.sync_low = 1
config.sync_zoneless_timeout = 3
config.sync_complete_timeout = 1
-- map
config.map_width = 3200
config.map_height = 3200
config.zones = 10
return config