update and clean map configs

This commit is contained in:
BotoX
2019-09-23 11:45:34 +02:00
parent 9fba0657fa
commit a184a1f0e4
575 changed files with 4590 additions and 4620 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
for map in ./*.cfg; do
mapname=$(basename -s .cfg "${map}")
if [ ! -f ../../../../maps/$mapname.bsp ]; then
echo "$map"
fi
done
@@ -1,49 +0,0 @@
"levels"
{
"0"
{
"name" "Level 0"
"restore"
{
"m_iName" ""
}
}
"1"
{
"name" "Level 1"
"restore"
{
"m_iName" ""
}
}
"2"
{
"name" "Level 2"
"match"
{
"props"
{
"m_iName" "a"
}
}
"restore"
{
"m_iName" "a"
}
}
"3"
{
"name" "Level 3"
"match"
{
"props"
{
"m_iName" "b"
}
}
"restore"
{
"m_iName" "b"
}
}
}
@@ -1,92 +0,0 @@
"levels"
{
"0"
{
"name" "Level 0"
"restore"
{
"DeleteOutput" "m_OnUser2 leveling_counter"
"m_iFrags" "0"
}
}
"1"
{
"name" "Level 1"
"match"
{
"math"
{
"m_OnUser2" "leveling_counter,add,1"
}
}
"restore"
{
"AddOutput" "OnUser2 leveling_counter,add,1,0,-1"
"m_iFrags" "100"
}
}
"2"
{
"name" "Level 2"
"match"
{
"math"
{
"m_OnUser2" "leveling_counter,add,2"
}
}
"restore"
{
"AddOutput" "OnUser2 leveling_counter,add,2,0,-1"
"m_iFrags" "200"
}
}
"3"
{
"name" "Level 3"
"match"
{
"math"
{
"m_OnUser2" "leveling_counter,add,3"
}
}
"restore"
{
"AddOutput" "OnUser2 leveling_counter,add,3,0,-1"
"m_iFrags" "300"
}
}
"4"
{
"name" "Level 4"
"match"
{
"math"
{
"m_OnUser2" "leveling_counter,add,4"
}
}
"restore"
{
"AddOutput" "OnUser2 leveling_counter,add,4,0,-1"
"m_iFrags" "400"
}
}
"5"
{
"name" "Level 5"
"match"
{
"math"
{
"m_OnUser2" "leveling_counter,add,5"
}
}
"restore"
{
"AddOutput" "OnUser2 leveling_counter,add,5,0,-1"
"m_iFrags" "500"
}
}
}
+153
View File
@@ -0,0 +1,153 @@
"levels"
{
"0"
{
"name" "Level 0"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_1"
"m_OnUser1" "!self,AddOutput,targetname Lvl_1,0,1"
}
}
"restore"
{
"m_iFrags" "0"
"m_iName" "Lvl_1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
}
}
"1"
{
"name" "Level 1"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_2"
"m_OnUser1" "!self,AddOutput,targetname Lvl_2,0,1"
}
}
"restore"
{
"m_iFrags" "100"
"m_iName" "Lvl_2"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
}
}
"2"
{
"name" "Level 2"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_3"
"m_OnUser1" "!self,AddOutput,targetname Lvl_3,0,1"
}
}
"restore"
{
"m_iFrags" "200"
"m_iName" "Lvl_3"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
}
}
"3"
{
"name" "Level 3"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_4"
"m_OnUser1" "!self,AddOutput,targetname Lvl_4,0,1"
}
}
"restore"
{
"m_iFrags" "300"
"m_iName" "Lvl_4"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
}
}
"4"
{
"name" "Level 4"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_5"
"m_OnUser1" "!self,AddOutput,targetname Lvl_5,0,1"
}
}
"restore"
{
"m_iFrags" "400"
"m_iName" "Lvl_5"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
}
}
"5"
{
"name" "Level 5"
"match"
{
"MinMatches" "1"
"MaxMatches" "2"
"props"
{
"m_iName" "Lvl_6"
"m_OnUser1" "!self,AddOutput,targetname Lvl_6,0,1"
}
}
"restore"
{
"m_iFrags" "500"
"m_iName" "Lvl_6"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_1,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_2,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_3,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_4,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname Lvl_5,0,1"
"AddOutput" "OnUser1 !self,AddOutput,targetname Lvl_6,0,1"
}
}
}
@@ -5,7 +5,7 @@
"name" "Level 0"
"restore"
{
"DeleteOutput" "m_OnUser1 leveling_counter"
"DeleteOutput" "m_OnUser2 leveling_counter"
"DeleteOutput" "m_OnUser4 score10,ApplyScore"
"m_iFrags" "0"
}
@@ -0,0 +1,44 @@
"levels"
{
"0"
{
"name" "Level 1"
"restore"
{
"DeleteOutput" "m_OnUser4 Map_Level_Check"
"m_iFrags" "0"
}
}
"1"
{
"name" "Level 2"
"match"
{
"math"
{
"m_OnUser4" "Map_Level_Check,Add,1"
}
}
"restore"
{
"AddOutput" "OnUser4 Map_Level_Check,Add,1,0,-1"
"m_iFrags" "100"
}
}
"2"
{
"name" "Level 3"
"match"
{
"math"
{
"m_OnUser4" "Map_Level_Check,Add,2"
}
}
"restore"
{
"AddOutput" "OnUser4 Map_Level_Check,Add,2,0,-1"
"m_iFrags" "200"
}
}
}
@@ -1,76 +0,0 @@
"levels"
{
"0"
{
"name" "Level 0"
"restore"
{
"DeleteOutput" "m_OnUser3 map_wandlevels"
"m_iFrags" "0"
}
}
"1"
{
"name" "Level 1"
"match"
{
"math"
{
"m_OnUser3" "map_wandlevels,Add,1"
}
}
"restore"
{
"AddOutput" "OnUser3 map_wandlevels,Add,1,0,-1"
"m_iFrags" "100"
}
}
"2"
{
"name" "Level 2"
"match"
{
"math"
{
"m_OnUser3" "map_wandlevels,Add,2"
}
}
"restore"
{
"AddOutput" "OnUser3 map_wandlevels,Add,2,0,-1"
"m_iFrags" "200"
}
}
"3"
{
"name" "Level 3"
"match"
{
"math"
{
"m_OnUser3" "map_wandlevels,Add,3"
}
}
"restore"
{
"AddOutput" "OnUser3 map_wandlevels,Add,3,0,-1"
"m_iFrags" "300"
}
}
"4"
{
"name" "Level 4"
"match"
{
"math"
{
"m_OnUser3" "map_wandlevels,Add,4"
}
}
"restore"
{
"AddOutput" "OnUser3 map_wandlevels,Add,4,0,-1"
"m_iFrags" "400"
}
}
}
View File
View File
View File
View File
@@ -1,92 +0,0 @@
"levels"
{
"0"
{
"name" "Level 0"
"restore"
{
"m_iName" ""
"m_iFrags" "0"
}
}
"1"
{
"name" "Level 1"
"match"
{
"props"
{
"m_iName" "1"
}
}
"restore"
{
"m_iName" "1"
"m_iFrags" "100"
}
}
"2"
{
"name" "Level 2"
"match"
{
"props"
{
"m_iName" "2"
}
}
"restore"
{
"m_iName" "2"
"m_iFrags" "200"
}
}
"3"
{
"name" "Level 3"
"match"
{
"props"
{
"m_iName" "3"
}
}
"restore"
{
"m_iName" "3"
"m_iFrags" "300"
}
}
"4"
{
"name" "Level 4"
"match"
{
"props"
{
"m_iName" "4"
}
}
"restore"
{
"m_iName" "4"
"m_iFrags" "400"
}
}
"5"
{
"name" "Level 5"
"match"
{
"props"
{
"m_iName" "5"
}
}
"restore"
{
"m_iName" "5"
"m_iFrags" "500"
}
}
}
@@ -0,0 +1,57 @@
"levels"
{
"0"
{
"name" "Normal"
"restore"
{
"DeleteOutput" "OnUser1 !self,AddOutput,targetname winner,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,rendercolor 0 255 0,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,gravity 0.8,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,health 325,0,1"
"DeleteOutput" "OnUser1 speed,ModifySpeed,1.15,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,targetname uberwinner,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,rendercolor 255 0 0,0,1"
"DeleteOutput" "OnUser1 !self,AddOutput,health 2000,0,1"
"DeleteOutput" "OnUser1 consola,Command,say ** We have an epic winner! **,0,1"
"DeleteOutput" "OnUser1 duke_q_iamduke,PlaySound,,0,1"
"DeleteOutput" "OnUser1 selector,FireUser1,,0,1"
"DeleteOutput" "OnUser1 darAmmo,FireUser1,,0,1"
}
}
"1"
{
"name" "Winner"
"match"
{
"m_OnUser1" "!self,AddOutput,targetname winner"
}
"restore"
{
"AddOutput" "OnUser1 !self,AddOutput,targetname winner,0,1"
"AddOutput" "OnUser1 !self,AddOutput,rendercolor 0 255 0,0,1"
"AddOutput" "OnUser1 !self,AddOutput,gravity 0.8,0,1"
"AddOutput" "OnUser1 !self,AddOutput,health 325,0,1"
"AddOutput" "OnUser1 speed,ModifySpeed,1.15,0,1"
}
}
"2"
{
"name" "Solo Winner"
"match"
{
"m_OnUser1" "!self,AddOutput,targetname uberwinner"
}
"restore"
{
"AddOutput" "OnUser1 !self,AddOutput,targetname uberwinner,0,1"
"AddOutput" "OnUser1 !self,AddOutput,rendercolor 255 0 0,0,1"
"AddOutput" "OnUser1 !self,AddOutput,health 2000,0,1"
"AddOutput" "OnUser1 consola,Command,say ** We have an epic winner! **,0,1"
"AddOutput" "OnUser1 duke_q_iamduke,PlaySound,,0,1"
"AddOutput" "OnUser1 selector,FireUser1,,0,1"
"AddOutput" "OnUser1 darAmmo,FireUser1,,0,1"
}
}
}
View File