summary refs log tree commit diff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/config.ini2
-rw-r--r--data/customlevels.txt41
-rw-r--r--data/levels.ini126
3 files changed, 127 insertions, 42 deletions
diff --git a/data/config.ini b/data/config.ini
index fdd3793..7a9e150 100644
--- a/data/config.ini
+++ b/data/config.ini
@@ -12,5 +12,5 @@ music = true
 mouse sensitivity = 1.0
 
 [misc]
-custom levels = false
+custom levels = 0
 debug = false
diff --git a/data/customlevels.txt b/data/customlevels.txt
deleted file mode 100644
index 4aa9b93..0000000
--- a/data/customlevels.txt
+++ /dev/null
@@ -1,41 +0,0 @@
-Number of missions:
-2
-Level type: (assassin=0, zombie=1)
-0
-Environment: (sunny=0, foggy=1, snowy=2, rainy=3, red=4, night=5)
-3
-How many different guns can assassins have:
-2
-List them: (0=unarmed, 1=sniper rifle, 2=assaultrifle, 3=magnum, 4=handgun, 5=grenade, 6=knife, 7=shotgun
-1
-3
-One out of how many civilians is an assassin:
-4
-Starting gun: (see above)
-6
-How many magazines/grenades:
-5
-Time requirement:
-30
-Difficulty:(0 to 2, 1=normal)
-.6
-
-Level type: (assassin=0, zombie=1)
-1
-Environment: (sunny=0, foggy=1, snowy=2, rainy=3, red=4, night=5)
-4
-How many different guns can assassins have:
-2
-List them: (0=unarmed, 1=sniper rifle, 2=assaultrifle, 3=magnum, 4=handgun, 5=grenade, 6=knife, 7=shotgun
-1
-3
-One out of how many civilians is an assassin:
-4
-Starting gun: (see above)
-3
-How many magazines/grenades:
-10
-Time requirement:
-25
-Difficulty:(0 to 2, 1=normal)
-.8
diff --git a/data/levels.ini b/data/levels.ini
new file mode 100644
index 0000000..7eb6be1
--- /dev/null
+++ b/data/levels.ini
@@ -0,0 +1,126 @@
+; Weapons enums:
+; 0: none/zombie
+; 1: sniper rifle
+; 2: assault rifle
+; 3: magnum
+; 4: handgun
+; 5: grenade
+; 6: knife
+; 7: shotgun
+
+[level 0]
+environment = sunny
+evil weapons = 3 4 7
+evil rarity = 6
+guard weapon = 2
+guard reloads = 6
+time = 50
+difficulty = 0.6
+
+[level 1]
+environment = snowy
+evil weapons = 2 6
+evil rarity = 5
+guard weapon = 4
+guard reloads = 3
+time = 40
+difficulty = 0.6
+
+[level 2]
+environment = foggy
+evil weapons = 1
+evil rarity = 5
+guard weapon = 1
+guard reloads = 4
+time = 50
+difficulty = 0.9
+
+[level 3]
+environment = firey
+evil weapons = 0
+evil rarity = 5
+guard weapon = 7
+guard reloads = 5
+time = 35
+difficulty = 0.7
+
+[level 4]
+environment = snowy
+evil weapons = 1 2
+evil rarity = 5
+guard weapon = 5
+guard reloads = 20
+time = 30
+difficulty = 0.5
+
+[level 5]
+environment = rainy
+evil weapons = 2 3 7
+evil rarity = 6
+guard weapon = 6
+guard reloads = 3
+time = 40
+difficulty = 0.8
+
+[level 6]
+environment = night
+evil weapons = 3 4 7
+evil rarity = 5
+guard weapon = 3
+guard reloads = 4
+time = 30
+difficulty = 1.0
+
+[level 7]
+environment = firey
+evil weapons = 0
+evil rarity = 5
+guard weapon = 2
+guard reloads = 5
+time = 30
+difficulty = 1.0
+
+[level 8]
+environment = rainy
+evil weapons = 1 2 3 4 7
+evil rarity = 5
+guard weapon = 0
+guard reloads = 3
+time = 40
+difficulty = 0.8
+
+[level 9]
+environment = snowy
+evil weapons = 1 2 3 4 6 7
+evil rarity = 4
+guard weapon = 3
+guard reloads = 3
+time = 90
+difficulty = 1.0
+
+[level 10]
+environment = night
+evil weapons = 1
+evil rarity = 5
+guard weapon = 1
+guard reloads = 4
+time = 30
+difficulty = 1.3
+
+[level 11]
+environment = sunny
+evil weapons = 1 6
+evil rarity = 4
+guard weapon = 6
+guard reloads = 4
+time = 30
+difficulty = 1.5
+
+[level 12]
+environment = firey
+evil weapons = 0
+evil rarity = 4
+guard weapon = 4
+guard reloads = 10
+time = 60
+difficulty = 1.5