diff options
author | Maya <11448698+RoyalBlue1@users.noreply.github.com> | 2023-01-13 17:20:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 17:20:12 +0100 |
commit | 9bbe6832460aaabd96fef18d6e4ebb05779bb71d (patch) | |
tree | 196b38f2f90e1b004776977155413f885d8c1586 /Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut | |
parent | 3b2049a933b0831e65283b89c0ecca865ebe985c (diff) | |
download | NorthstarMods-9bbe6832460aaabd96fef18d6e4ebb05779bb71d.tar.gz NorthstarMods-9bbe6832460aaabd96fef18d6e4ebb05779bb71d.zip |
Fortwar fixes from #564 with my requested changes (#571)v1.12.1-rc1v1.12.1v1.12.0-rc5v1.12.0
* Initial commit
* add playlistvar "fw_harvester_regen_time"
* adding friendly highlights
* Scale Damage before shield Health but let other damage callbacks run
* Make Gamemode 8v8 again
* Fix NotifyEnterEnemyArea Callback
Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut')
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut new file mode 100644 index 000000000..68a710e8f --- /dev/null +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/cl_gamemode_fw_custom.nut @@ -0,0 +1,13 @@ +// cl_gamemode_fw already exists in vanilla game file +// this file is to register more network vars or remote functions +global function ServerCallback_FW_NotifyNeedsEnterEnemyArea + +void function ServerCallback_FW_NotifyNeedsEnterEnemyArea() +{ + AnnouncementData announcement = Announcement_Create( "#FW_ENTER_ENEMY_AREA" ) + Announcement_SetSoundAlias( announcement, "UI_InGame_LevelUp" ) + Announcement_SetSubText( announcement, "#FW_TITAN_REQUIRED_SUB" ) + Announcement_SetPurge( announcement, true ) + Announcement_SetPriority( announcement, 200 ) //Be higher priority than Titanfall ready indicator etc + AnnouncementFromClass( GetLocalViewPlayer(), announcement ) +} |