aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client
diff options
context:
space:
mode:
authorF1F7Y <64418963+F1F7Y@users.noreply.github.com>2022-04-29 23:05:09 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-04-29 23:47:26 +0200
commit17034fd4a4885e2ba01f7a5fa9c4948eabafed0f (patch)
treeb2e93e40aa475ae6b9a69b25c7f6bed50c96f04d /Northstar.Client
parentb715a69c711d56490657a3057f3faba8fb26aa48 (diff)
downloadNorthstarMods-17034fd4a4885e2ba01f7a5fa9c4948eabafed0f.tar.gz
NorthstarMods-17034fd4a4885e2ba01f7a5fa9c4948eabafed0f.zip
Add Attrition (#321)
* Skyshow * Attrition score stuff * DropShip and DropPod spawn funcs * Attrition intro * Reaper spawn func * Attrition assault point logic * Cleanup * Match logic + basic spawn algo * Fix crash * Improve ai ? * Add AI weapon setter funcs * Bounty hunt score basics * code cleanup * add cleanup for bored ai * fix issue with failedChecks not being reset properly in cleanup * more cleanup * stop ai spawns on epilogue * don't run aitdm spawning code if we don't have ains/nms * Fix missing nodes crash * initial bounty hunt stuff * oops forgot to push this * me when i'm a competent developer * formatting and such * cap score + proper mp_rise spawns fix * Better squad handler * comment reaper out; needs to be checked out * Fix crash site crash * reapers * minor visual change is what Id call this * bh basic damage scoring * going to push this so there's a base to work with, still doesn't work * fix funny suicide bug :) * I hate crash site + score funnies * comlpex skill issue * final score fix, lets hope so * Hacked spectre fix * 1p npc executions fix * stalkers * Archer Grunts :) * minor fixing * Skyshow * Attrition score stuff * DropShip and DropPod spawn funcs * Attrition intro * Reaper spawn func * Attrition assault point logic * Cleanup * Match logic + basic spawn algo * Fix crash * Improve ai ? * Add AI weapon setter funcs * Bounty hunt score basics * code cleanup * add cleanup for bored ai * fix issue with failedChecks not being reset properly in cleanup * more cleanup * stop ai spawns on epilogue * don't run aitdm spawning code if we don't have ains/nms * Fix missing nodes crash * initial bounty hunt stuff * oops forgot to push this * me when i'm a competent developer * formatting and such * cap score + proper mp_rise spawns fix * Better squad handler * comment reaper out; needs to be checked out * Fix crash site crash * reapers * minor visual change is what Id call this * bh basic damage scoring * going to push this so there's a base to work with, still doesn't work * fix funny suicide bug :) * I hate crash site + score funnies * comlpex skill issue * final score fix, lets hope so * Hacked spectre fix * 1p npc executions fix * stalkers * Archer Grunts :) * minor fixing * Unlock attrition in mode select menu * move archer grunts settings Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
Diffstat (limited to 'Northstar.Client')
-rw-r--r--Northstar.Client/mod/resource/northstar_client_localisation_english.txt4
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut2
2 files changed, 4 insertions, 2 deletions
diff --git a/Northstar.Client/mod/resource/northstar_client_localisation_english.txt b/Northstar.Client/mod/resource/northstar_client_localisation_english.txt
index fdda8bd8..50f2b51e 100644
--- a/Northstar.Client/mod/resource/northstar_client_localisation_english.txt
+++ b/Northstar.Client/mod/resource/northstar_client_localisation_english.txt
@@ -81,7 +81,9 @@ Press Yes if you agree to this. This choice can be changed in the mods menu at a
"cp_amped_capture_points" "Amped Hardpoints"
"coliseum_loadouts_enabled" "Coliseum Loadouts"
-
+
+ "aitdm_archer_grunts" "Archer Grunts"
+
// northstar.custom localisation is just deciding not to work, so putting it here for now
"PL_sbox" "Sandbox"
"PL_sbox_lobby" "Sandbox Lobby"
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut
index a017fb42..32a3c8f5 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_mode_select.nut
@@ -52,7 +52,7 @@ void function UpdateVisibleModes()
Hud_SetEnabled( buttons[ i ], true )
Hud_SetVisible( buttons[ i ], true )
- if ( !ModeSettings_RequiresAI( modesArray[ modeIndex ] ) )
+ if ( !ModeSettings_RequiresAI( modesArray[ modeIndex ] ) || modesArray[ modeIndex ] == "aitdm" )
Hud_SetLocked( buttons[ i ], false )
else
Hud_SetLocked( buttons[ i ], true )