Change sm_beacon to use game-specific team colors (#1187)

Added game color config & specific settings for L4D/L4D2

Created the following keys:

"Team1Color"	"75,255,75,255"
"Team2Color"	"255,75,75,255"
"Team3Color"	"75,75,255,255"
"Team4Color"	"255,128,0,255"
"TeamUnknownColor"	"255,255,255,255"

Added a specific setting for L4D/L4D2 game:

"Team2Color"	"75,75,255,255"
"Team3Color"	"255,75,75,255"
This commit is contained in:
MartLegion
2020-02-23 14:03:00 +00:00
committed by GitHub
parent 8a5d0a58e4
commit cd37354634
3 changed files with 75 additions and 19 deletions
+10
View File
@@ -15,6 +15,13 @@
"SoundFinal" "weapons/cguard/charging.wav"
"SoundBoom" "weapons/explode3.wav"
"SoundFreeze" "physics/glass/glass_impact_bullet4.wav"
"ExternalBeaconColor" "128,128,128,255"
"Team1BeaconColor" "75,255,75,255"
"Team2BeaconColor" "255,75,75,255"
"Team3BeaconColor" "75,75,255,255"
"Team4BeaconColor" "255,128,0,255"
"TeamUnknownBeaconColor" "255,255,255,255"
}
}
@@ -72,6 +79,9 @@
"SpriteExplosion" "sprites/floorfire4_.vmt"
"SpriteGlow" "sprites/blueflare1.vmt"
"SpriteHalo" "sprites/glow01.vmt"
"Team2BeaconColor" "75,75,255,255"
"Team3BeaconColor" "255,75,75,255"
}
}
}