diff options
author | Dinorush <62536724+Dinorush@users.noreply.github.com> | 2023-09-02 12:53:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 18:53:52 +0200 |
commit | 97d34dea1ba6c6623dc8174214062e6a79c93b7d (patch) | |
tree | 6115c1553b954816623cb60d21ba72ce8e4ae0c7 /Northstar.CustomServers/mod/scripts | |
parent | 9e9d7b7517e4af8df9879302d34deb93cadd9bc5 (diff) | |
download | NorthstarMods-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/scripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/_harvester.gnut | 4 |
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 542db4d5..3bdb1d8a 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 ) |