mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-21 06:13:13 -04:00
Changed Some NPC spawn points to use loiter
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
import sys
|
||||
# Project SWG: Mos Eisley Desert Swoopers: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
aiSvc = core.aiService
|
||||
|
||||
desert_swooper = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3319), float(5), float(-5125), float(0), float(0), float(0), float(0), 30)
|
||||
desert_swooper1 = stcSvc.spawnObject('desert_swooper', 'tatooine', long(0), float(3309), float(5), float(-5121), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -32,5 +33,24 @@ def addPlanetSpawns(core, planet):
|
||||
desert_swooper_leader = stcSvc.spawnObject('desert_swooper_leader', 'tatooine', long(0), float(3313), float(5), float(-5138), float(0), float(0), float(0), float(0), 30)
|
||||
desert_swooper_leader1 = stcSvc.spawnObject('desert_swooper_leader', 'tatooine', long(0), float(3316), float(5), float(-5131), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
aiSvc.setLoiter(desert_swooper, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper1, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper2, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper3, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper4, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper5, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper6, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper7, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper8, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper9, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper10, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper11, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper12, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper13, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper14, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(desert_swooper_leader, float(1), float(8))
|
||||
aiSvc.setLoiter(desert_swooper_leader1, float(1), float(8))
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
import sys
|
||||
# Project SWG: Mos Eisley Error Prone Droids: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
aiSvc = core.aiService
|
||||
|
||||
error_prone = stcSvc.spawnObject('error-prone_battle_droid', 'tatooine', long(0), float(2868), float(39), float(-4814), float(0), float(0), float(0), float(0), 30)
|
||||
error_prone1 = stcSvc.spawnObject('error-prone_battle_droid', 'tatooine', long(0), float(2815), float(38), float(-4815), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -31,5 +32,22 @@ def addPlanetSpawns(core, planet):
|
||||
error_prone15 = stcSvc.spawnObject('error-prone_battle_droid', 'tatooine', long(0), float(2851), float(40), float(-4806), float(0), float(0), float(0), float(0), 30)
|
||||
error_prone16 = stcSvc.spawnObject('error-prone_battle_droid', 'tatooine', long(0), float(2871), float(38), float(-4799), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
aiSvc.setLoiter(error_prone, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone1, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone2, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone3, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone4, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone5, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone6, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone7, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone8, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone9, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone10, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone11, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone12, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone13, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone14, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone15, float(1), float(8))
|
||||
aiSvc.setLoiter(error_prone16, float(1), float(8))
|
||||
return
|
||||
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
import sys
|
||||
# Project SWG: Mos Eisley Error Prone Droids: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
aiSvc = core.aiService
|
||||
|
||||
escaped_criminal = stcSvc.spawnObject('escaped_criminal', 'tatooine', long(0), float(2862), float(13), float(-5103), float(0), float(0), float(0), float(0), 30)
|
||||
escaped_criminal1 = stcSvc.spawnObject('escaped_criminal', 'tatooine', long(0), float(2856), float(13), float(-5094), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -28,5 +31,19 @@ def addPlanetSpawns(core, planet):
|
||||
escaped_criminal12 = stcSvc.spawnObject('escaped_criminal', 'tatooine', long(0), float(2837), float(5), float(-5081), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
|
||||
aiSvc.setLoiter(escaped_criminal, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal1, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal2, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal3, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal4, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal5, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal6, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal7, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal8, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal9, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal10, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal11, float(1), float(8))
|
||||
aiSvc.setLoiter(escaped_criminal12, float(1), float(8))
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import sys
|
||||
# Project SWG: Mos Eisley gunrunners: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
aiSvc = core.aiService
|
||||
|
||||
# gunrunners
|
||||
gunrunner = stcSvc.spawnObject('gunrunner', 'tatooine', long(0), float(2835), float(8), float(-4276), float(0), float(0), float(0), float(0), 45)
|
||||
@@ -34,5 +34,23 @@ def addPlanetSpawns(core, planet):
|
||||
gunrunner_sentry3 = stcSvc.spawnObject('gunrunner_sentry', 'tatooine', long(0), float(2833), float(10), float(-4252), float(0), float(0), float(0), float(0), 45)
|
||||
gunrunner_sentry4 = stcSvc.spawnObject('gunrunner_sentry', 'tatooine', long(0), float(2830), float(6), float(-4308), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
aiSvc.setLoiter(gunrunner, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner1, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner2, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner3, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner4, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner5, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner6, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner7, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner8, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner9, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner10, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner11, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(gunrunner_sentry, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner_sentry1, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner_sentry2, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner_sentry3, float(1), float(8))
|
||||
aiSvc.setLoiter(gunrunner_sentry4, float(1), float(8))
|
||||
|
||||
return
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import sys
|
||||
# Project SWG: MosEisley Kreetles: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
aiSvc = core.aiService
|
||||
|
||||
# Carrion Kreetles
|
||||
carrion_kreetle1 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3551), float(4), float(-5064), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -20,19 +20,34 @@ def addPlanetSpawns(core, planet):
|
||||
carrion_kreetle13 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3533), float(4), float(-5070), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle14 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3555), float(4), float(-5072), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
|
||||
carrion_kreetle2 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3233), float(8), float(-4457), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle21 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3223), float(8), float(-4447), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle22 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3213), float(8), float(-4455), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle23 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3235), float(8), float(-4440), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle24 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3245), float(8), float(-4460), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
|
||||
carrion_kreetle3 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3147), float(4), float(-4846), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle31 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3137), float(4), float(-4856), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle32 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3127), float(4), float(-4836), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle35 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3145), float(4), float(-4852), float(0), float(0), float(0), float(0), 30)
|
||||
carrion_kreetle36 = stcSvc.spawnObject('carrion_kreetle', 'tatooine', long(0), float(3135), float(4), float(-4838), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
aiSvc.setLoiter(carrion_kreetle1, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle11, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle12, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle13, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle14, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(carrion_kreetle2, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle21, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle22, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle23, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle24, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(carrion_kreetle3, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle31, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle32, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle35, float(1), float(8))
|
||||
aiSvc.setLoiter(carrion_kreetle36, float(1), float(8))
|
||||
|
||||
return
|
||||
@@ -1,18 +1,19 @@
|
||||
import sys
|
||||
|
||||
# Project SWG: MosEisley mites: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
|
||||
aiSvc = core.aiService
|
||||
|
||||
# Mound Mites
|
||||
mound_mite1 = stcSvc.spawnObject('mound_mite', 'tatooine', long(0), float(3785), float(57), float(-5057), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -32,7 +33,6 @@ def addPlanetSpawns(core, planet):
|
||||
mound_mite25 = stcSvc.spawnObject('mound_mite', 'tatooine', long(0), float(3555), float(63), float(-4345), float(0), float(0), float(0), float(0), 30)
|
||||
mound_mite26 = stcSvc.spawnObject('mound_mite', 'tatooine', long(0), float(3565), float(63), float(-4325), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
|
||||
# Legacy RockMites
|
||||
|
||||
rockmite = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3140), float(5), float(-4907), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -48,7 +48,6 @@ def addPlanetSpawns(core, planet):
|
||||
rockmite21 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3724), float(5), float(-4661), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite22 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3733), float(5), float(-4659), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite23 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3747), float(5), float(-4655), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite24 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3752), float(5), float(-4645), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite25 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3761), float(5), float(-4644), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite26 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3762), float(5), float(-4654), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite27 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3732), float(5), float(-4664), float(0), float(0), float(0), float(0), 30)
|
||||
@@ -57,6 +56,40 @@ def addPlanetSpawns(core, planet):
|
||||
rockmite210 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3769), float(5), float(-4650), float(0), float(0), float(0), float(0), 30)
|
||||
rockmite211 = stcSvc.spawnObject('rockmite', 'tatooine', long(0), float(3778), float(5), float(-4647), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
aiSvc.setLoiter(mound_mite1, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite11, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite12, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite13, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite14, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite15, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite16, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(mound_mite2, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite21, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite22, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite23, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite24, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite25, float(1), float(8))
|
||||
aiSvc.setLoiter(mound_mite26, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(rockmite, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite1, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite2, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite3, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite4, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite5, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite6, float(1), float(8))
|
||||
|
||||
aiSvc.setLoiter(rockmite2, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite21, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite22, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite23, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite25, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite26, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite27, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite28, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite29, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite210, float(1), float(8))
|
||||
aiSvc.setLoiter(rockmite211, float(1), float(8))
|
||||
|
||||
return
|
||||
@@ -1,18 +1,20 @@
|
||||
import sys
|
||||
# Project SWG: Mos Eisley scavenger: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
from java.util import Vector
|
||||
from engine.resources.scene import Point3D
|
||||
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
|
||||
aiSvc = core.aiService
|
||||
|
||||
#Enforcers
|
||||
|
||||
@@ -30,6 +32,19 @@ def addPlanetSpawns(core, planet):
|
||||
scavenger11 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3071), float(3), float(-4971), float(0), float(0), float(0), float(0), 30)
|
||||
scavenger12 = stcSvc.spawnObject('scavenger', 'tatooine', long(0), float(3047), float(7), float(-4957), float(0), float(0), float(0), float(0), 30)
|
||||
|
||||
|
||||
aiSvc.setLoiter(scavenger, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger1, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger2, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger3, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger4, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger5, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger6, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger7, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger8, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger9, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger10, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger11, float(1), float(8))
|
||||
aiSvc.setLoiter(scavenger12, float(1), float(8))
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user