From ccfe7e2306e98a6b0a7a8bc89cb19ebc3e8a25dd Mon Sep 17 00:00:00 2001 From: Barichello Date: Thu, 30 Dec 2021 19:57:05 -0300 Subject: Disable offhand weapons during wargames intro --- Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Northstar.CustomServers') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut index 92307f3c..d0d625b4 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_wargames.nut @@ -116,7 +116,6 @@ void function OnPrematchStart() DispatchSpawn( militiaMarvinChillin ) thread PlayAnim( militiaMarvinChillin, "mv_idle_unarmed" ) - // imc grunts entity imcGrunt1 = CreatePropDynamic( $"models/humans/grunts/imc_grunt_rifle.mdl", < -2915, 2867, -1788 >, < 0, -137, 0 > ) thread PlayAnim( imcGrunt1, "pt_console_idle" ) @@ -188,6 +187,7 @@ void function PlayerWatchesWargamesIntro( entity player ) player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_EVERYONE ClearPlayerAnimViewEntity( player ) player.EnableWeaponViewModel() + DeployAndEnableWeapons(player) player.ClearParent() player.UnforceStand() player.MovementEnable() @@ -224,6 +224,7 @@ void function PlayerWatchesWargamesIntro( entity player ) player.kv.VisibilityFlags = ENTITY_VISIBLE_TO_OWNER TrainingPod_ViewConeLock_PodClosed( player ) player.DisableWeaponViewModel() + HolsterAndDisableWeapons(player) player.MovementDisable() player.SetInvulnerable() -- cgit v1.2.3