aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-17 22:29:19 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-10-17 22:29:19 +0100
commit0f71d94b6c968ddb34ec611d898cceea02638f99 (patch)
tree03e7c78025495430d1f82dcb20abeef63deb8144 /Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut
parent6b07fb30fb7380b1d61af6a620ec72c9066753e2 (diff)
downloadNorthstarMods-0f71d94b6c968ddb34ec611d898cceea02638f99.tar.gz
NorthstarMods-0f71d94b6c968ddb34ec611d898cceea02638f99.zip
finish burncard impl, add forced 1p fp sequences and classic rodeo
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut4
1 files changed, 4 insertions, 0 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut
index b2e76aaf8..cdf03edd3 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_inf.gnut
@@ -99,6 +99,10 @@ void function RespawnInfected( entity player )
player.SetSkin( 1 )
player.SetCamo( 110 )
+ // if human, remove helmet bodygroup, human models have some weird bloody white thing underneath their helmet that works well for this, imo
+ if ( !player.IsMechanical() )
+ player.SetBodygroup( player.FindBodyGroup( "head" ), 1 )
+
// stats for infected
StimPlayer( player, 9999.9 ) // can't do endless since we don't get the visual effect in endless
player.kv.airAcceleration = 2500