Init
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,92 @@
|
||||
"levels"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Level 0"
|
||||
"restore"
|
||||
{
|
||||
"m_iName" ""
|
||||
"m_iFrags" "0"
|
||||
}
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Level 1"
|
||||
"match"
|
||||
{
|
||||
"props"
|
||||
{
|
||||
"m_iName" "Level_1"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"m_iName" "Level_1"
|
||||
"m_iFrags" "100"
|
||||
}
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Level 2"
|
||||
"match"
|
||||
{
|
||||
"props"
|
||||
{
|
||||
"m_iName" "Level_2"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"m_iName" "Level_2"
|
||||
"m_iFrags" "200"
|
||||
}
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Level 3"
|
||||
"match"
|
||||
{
|
||||
"props"
|
||||
{
|
||||
"m_iName" "Level_3"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"m_iName" "Level_3"
|
||||
"m_iFrags" "300"
|
||||
}
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Level 4"
|
||||
"match"
|
||||
{
|
||||
"props"
|
||||
{
|
||||
"m_iName" "Level_4"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"m_iName" "Level_4"
|
||||
"m_iFrags" "400"
|
||||
}
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Level 5"
|
||||
"match"
|
||||
{
|
||||
"props"
|
||||
{
|
||||
"m_iName" "Level_5"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"m_iName" "Level_5"
|
||||
"m_iFrags" "500"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
"levels"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Level 0"
|
||||
"restore"
|
||||
{
|
||||
"DeleteOutput" "m_OnUser1 leveling_counter"
|
||||
"DeleteOutput" "m_OnUser4 score10,ApplyScore"
|
||||
"m_iFrags" "0"
|
||||
}
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Level 1"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser1" "leveling_counter,Add,1"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser1 leveling_counter,Add,1,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"m_iFrags" "10"
|
||||
}
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Level 2"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser1" "leveling_counter,Add,2"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser1 leveling_counter,Add,2,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"m_iFrags" "20"
|
||||
}
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Level 3"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser1" "leveling_counter,Add,3"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser1 leveling_counter,Add,3,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"AddOutput" "OnUser4 score10,ApplyScore,,0,-1"
|
||||
"m_iFrags" "30"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
"levels"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Level 0"
|
||||
"restore"
|
||||
{
|
||||
"DeleteOutput" "m_OnUser4 Map_Level_Check"
|
||||
"m_iFrags" "0"
|
||||
}
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Level 1"
|
||||
"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 2"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser4" "Map_Level_Check,Add,2"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser4 Map_Level_Check,Add,2,0,-1"
|
||||
"m_iFrags" "200"
|
||||
}
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Level 3"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser4" "Map_Level_Check,Add,3"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser4 Map_Level_Check,Add,3,0,-1"
|
||||
"m_iFrags" "300"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
"levels"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Level 0"
|
||||
"restore"
|
||||
{
|
||||
"DeleteOutput" "m_OnUser3 fake_SaveLevel_Entity_math"
|
||||
"DeleteOutput" "m_OnUser3 !self"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL=0,0,1"
|
||||
"m_iFrags" "0"
|
||||
}
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Level 1"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser3" "fake_SaveLevel_Entity_math,Add,1"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser3 fake_SaveLevel_Entity_math,Add,1,0,-1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"m_iFrags" "100"
|
||||
}
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Level 2"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser3" "fake_SaveLevel_Entity_math,Add,2"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser3 fake_SaveLevel_Entity_math,Add,2,0,-1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"m_iFrags" "200"
|
||||
}
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Level 3"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser3" "fake_SaveLevel_Entity_math,Add,3"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser3 fake_SaveLevel_Entity_math,Add,3,0,-1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL++,1,1"
|
||||
"m_iFrags" "300"
|
||||
}
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Level 4"
|
||||
"match"
|
||||
{
|
||||
"math"
|
||||
{
|
||||
"m_OnUser3" "fake_SaveLevel_Entity_math,Add,4"
|
||||
}
|
||||
}
|
||||
"restore"
|
||||
{
|
||||
"AddOutput" "OnUser3 fake_SaveLevel_Entity_math,Add,4,0,-1"
|
||||
"AddOutput" "OnUser3 !self,RunScriptCode,ITEMLEVEL=4,1,1"
|
||||
"m_iFrags" "400"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
"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,92 @@
|
||||
"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,92 @@
|
||||
"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,76 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user