-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefaults.py
77 lines (42 loc) · 1002 Bytes
/
defaults.py
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
subproc_python = '/usr/bin/python'
subproc_main = 'control.py'
init_timeout = 1.0
tick_timeout = 0.015
tank_dirs = ['tanks', 'tanks/examples']
t1 = 'tank01'
t2 = 'tank02'
t3 = 'tank03'
t4 = 'tank04'
t5 = 'tank05'
t6 = 'tank06'
t7 = 'tank07'
tanks = [t2, t4, t5, t6, t7]
logdir = 'logs'
template = 'tanks/template.py'
lineups = 'tanks/lineups'
maxtime = 600
maxhealth = 100
direct_hit_damage = 10
explosion_radii = [1, 2, 3]
explosion_damage = [3, 4, 5]
collision_damage_start = 25
collision_damage_factor = 0.15
remove_dead_tanks = True
graphical_display = True
maxforce = 5
maxtorque = 15
tank_density = 1
tank_linearDamping = 1.5
tank_angularDamping = 3.0
tank_friction = 0.3
tank_restitution = 0.4
cannon_reload_ticks = 15
cannon_maxheat = 100
cannon_heating_per_shot = 20
cannon_cooling_per_tick = 0.1
overheat_fire_reload_penalty = 0
unloaded_fire_reload_penalty = 0
turret_maxMotorTorque = 10.0
bulletspeed = 40
bullet_density = .3
dbfile = 'stats.db'