aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorDinorush <62536724+Dinorush@users.noreply.github.com>2023-09-02 12:53:52 -0400
committerGitHub <noreply@github.com>2023-09-02 18:53:52 +0200
commit97d34dea1ba6c6623dc8174214062e6a79c93b7d (patch)
tree6115c1553b954816623cb60d21ba72ce8e4ae0c7 /Northstar.CustomServers/mod
parent9e9d7b7517e4af8df9879302d34deb93cadd9bc5 (diff)
downloadNorthstarMods-97d34dea1ba6c6623dc8174214062e6a79c93b7d.tar.gz
NorthstarMods-97d34dea1ba6c6623dc8174214062e6a79c93b7d.zip
Change Harvester to use Titan Health, support for mod damage balancing, and bug fixes (#579)
Frontier War balancing, generally makes harvester code not suck
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut4
1 files changed, 3 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut
index 542db4d50..3bdb1d8a5 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut
@@ -28,7 +28,9 @@ HarvesterStruct function SpawnHarvester( vector origin, vector angles, int healt
harvester.SetShieldHealthMax( shieldHealth )
harvester.SetShieldHealth( shieldHealth )
harvester.EnableAttackableByAI( 30, 0, AI_AP_FLAG_NONE )
- SetObjectCanBeMeleed( harvester, false )
+ SetCustomSmartAmmoTarget( harvester, true )
+ SetObjectCanBeMeleed( harvester, true )
+ SetVisibleEntitiesInConeQueriableEnabled( harvester, true )
SetTeam(harvester,team)
DispatchSpawn( harvester )