mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-22 07:13:28 -04:00
Added invasion NPCs, debugged AI lockups and more
- Added barrier and tower plus the according buffs - Added defender NPCs - Fixed enemy NPCs not showing hostile after faction change - Added ally function implementation to rebel and imperial scripts - AI does not lock up in a state anymore - AI seeks better position if LOS is blocked - AI resumes previous states better now
This commit is contained in:
@@ -131,6 +131,7 @@ import services.bazaar.AuctionItem;
|
||||
import services.chat.ChatRoom;
|
||||
import services.equipment.EquipmentService;
|
||||
import services.gcw.GCWPylon;
|
||||
import services.gcw.GCWSpawner;
|
||||
import services.sui.SUIWindow;
|
||||
import services.sui.SUIWindow.SUICallback;
|
||||
import services.sui.SUIWindow.Trigger;
|
||||
@@ -286,6 +287,12 @@ public class ObjectService implements INetworkDispatch {
|
||||
Point3D newpoint = new Point3D(position.x,positionY,position.z);
|
||||
object = new GCWPylon(objectID, planet, position, orientation, Template);
|
||||
|
||||
} else if(Template.startsWith("object/tangible/loot/creature_loot/collections/shared_dejarik_table_base")) {
|
||||
|
||||
float positionY = core.terrainService.getHeight(planet.getID(), position.x, position.z)+1f;
|
||||
Point3D newpoint = new Point3D(position.x,positionY,position.z);
|
||||
object = new GCWSpawner(objectID, planet, position, orientation, Template);
|
||||
|
||||
} else if(Template.startsWith("object/tangible/destructible/")) {
|
||||
|
||||
// float positionY = core.terrainService.getHeight(planet.getID(), position.x, position.z)-1f;
|
||||
|
||||
Reference in New Issue
Block a user