aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2021-12-29 23:37:07 -0300
committerBarichello <artur@barichello.me>2021-12-29 23:37:07 -0300
commitd90fccb4cef95c2809cabab8454c22121c91efef (patch)
treee7d7dea966ad87ac1523fe474e33d377ccd346e5 /Northstar.CustomServers/mod/scripts
parent3e5fb06337812e4a6b2aff3eea203ce2b76cc46d (diff)
downloadNorthstarMods-d90fccb4cef95c2809cabab8454c22121c91efef.tar.gz
NorthstarMods-d90fccb4cef95c2809cabab8454c22121c91efef.zip
Fix #17
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut4
1 files changed, 3 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
index d3b4cd7e..8e624c14 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_classic_mp_dropship_intro.gnut
@@ -180,6 +180,7 @@ void function SpawnPlayerIntoDropship( entity player )
// respawn player and holster their weapons so they aren't out
player.RespawnPlayer( null )
+ HolsterAndDisableWeapons(player)
player.DisableWeaponViewModel()
// hide hud and fade screen out from black
@@ -187,7 +188,7 @@ void function SpawnPlayerIntoDropship( entity player )
ScreenFadeFromBlack( player, 0.5, 0.5 )
// faction leaders are done clientside, spawn them here
Remote_CallFunction_NonReplay( player, "ServerCallback_SpawnFactionCommanderInDropship", playerDropship.dropship.GetEncodedEHandle(), file.introStartTime )
-
+
// do firstperson sequence
FirstPersonSequenceStruct idleSequence
idleSequence.firstPersonAnim = DROPSHIP_IDLE_ANIMS_POV[ playerDropshipIndex ]
@@ -229,6 +230,7 @@ void function PlayerJumpsFromDropship( entity player )
// show weapon viewmodel and hud and let them move again
player.MovementEnable()
player.EnableWeaponViewModel()
+ DeployAndEnableWeapons(player)
RemoveCinematicFlag( player, CE_FLAG_CLASSIC_MP_SPAWNING )
}
})