diff --git a/scripts/static_spawns/tatooine/mos_eisley_desert_swoopers.py b/scripts/static_spawns/tatooine/mos_eisley_desert_swoopers.py index 8aca297d..0850d60c 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_desert_swoopers.py +++ b/scripts/static_spawns/tatooine/mos_eisley_desert_swoopers.py @@ -1,17 +1,15 @@ -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 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 +30,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 diff --git a/scripts/static_spawns/tatooine/mos_eisley_error_prone.py b/scripts/static_spawns/tatooine/mos_eisley_error_prone.py index 90e68ac6..0dbabcc0 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_error_prone.py +++ b/scripts/static_spawns/tatooine/mos_eisley_error_prone.py @@ -1,17 +1,15 @@ -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 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 +29,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 diff --git a/scripts/static_spawns/tatooine/mos_eisley_escaped_criminal.py b/scripts/static_spawns/tatooine/mos_eisley_escaped_criminal.py index 225fb203..53a31636 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_escaped_criminal.py +++ b/scripts/static_spawns/tatooine/mos_eisley_escaped_criminal.py @@ -1,17 +1,15 @@ -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 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 +26,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 diff --git a/scripts/static_spawns/tatooine/mos_eisley_gunrunners.py b/scripts/static_spawns/tatooine/mos_eisley_gunrunners.py index acbf8d2a..7c3cae13 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_gunrunners.py +++ b/scripts/static_spawns/tatooine/mos_eisley_gunrunners.py @@ -1,17 +1,15 @@ -import sys # Project SWG: Mos Eisley gunrunners: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State 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 +32,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 diff --git a/scripts/static_spawns/tatooine/mos_eisley_krayt_cult_cave.py b/scripts/static_spawns/tatooine/mos_eisley_krayt_cult_cave.py index cd653491..97edb4ed 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_krayt_cult_cave.py +++ b/scripts/static_spawns/tatooine/mos_eisley_krayt_cult_cave.py @@ -1,9 +1,7 @@ -import sys # Project SWG: Mos Eisley Krayt cult cave: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State @@ -26,7 +24,6 @@ def addPlanetSpawns(core, planet): novice6 = stcSvc.spawnObject('krayt_cult_novice', 'tatooine', cave.getCellByCellNumber(15), float(112.9), float(-91.3), float(-331.9), float(0), float(0), float(0), float(0), 30) novice7 = stcSvc.spawnObject('krayt_cult_novice', 'tatooine', cave.getCellByCellNumber(20), float(-12.2), float(-120), float(-374.3), float(0), float(0), float(0), float(0), 30) - zealot = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(3), float(-19.2), float(-26.7), float(-42.2), float(0), float(0), float(0), float(0), 30) zealot1 = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(5), float(-73.3), float(-56), float(-177.4), float(0), float(0), float(0), float(0), 30) zealot2 = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(5), float(-40.8), float(-56.4), float(-208.2), float(0), float(0), float(0), float(0), 30) @@ -35,7 +32,7 @@ def addPlanetSpawns(core, planet): zealot5 = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(5), float(-7.9), float(-49), float(-155.9), float(0), float(0), float(0), float(0), 30) zealot6 = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(15), float(113.9), float(-90.5), float(-340.2), float(0), float(0), float(0), float(0), 30) zealot7 = stcSvc.spawnObject('krayt_cult_zealot', 'tatooine', cave.getCellByCellNumber(20), float(4), float(-119.4), float(-359.8), float(0), float(0), float(0), float(0), 30) - + alcolyte = stcSvc.spawnObject('krayt_cult_acolyte', 'tatooine', cave.getCellByCellNumber(3), float(-27.1), float(-40.5), float(-73.6), float(0), float(0), float(0), float(0), 30) alcolyte1 = stcSvc.spawnObject('krayt_cult_acolyte', 'tatooine', cave.getCellByCellNumber(12), float(-72.2), float(-70.9), float(-255.1), float(0), float(0), float(0), float(0), 30) @@ -68,5 +65,4 @@ def addPlanetSpawns(core, planet): bonegnasher6 = stcSvc.spawnObject('bone_gnasher', 'tatooine', cave.getCellByCellNumber(5), float(-54.1), float(-56.3), float(-177), float(0), float(0), float(0), float(0), 30) - return - + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_kreetles.py b/scripts/static_spawns/tatooine/mos_eisley_kreetles.py index ba3f62e0..d33c1838 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_kreetles.py +++ b/scripts/static_spawns/tatooine/mos_eisley_kreetles.py @@ -1,17 +1,15 @@ -import sys # Project SWG: MosEisley Kreetles: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State 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 +18,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 \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_mites.py b/scripts/static_spawns/tatooine/mos_eisley_mites.py index 74e6d37c..6efa3fc4 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_mites.py +++ b/scripts/static_spawns/tatooine/mos_eisley_mites.py @@ -1,18 +1,15 @@ -import sys # Project SWG: MosEisley mites: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State 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 +29,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 +44,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 +52,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 \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_scavenger.py b/scripts/static_spawns/tatooine/mos_eisley_scavenger.py index 0de1c0b5..a9867d18 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_scavenger.py +++ b/scripts/static_spawns/tatooine/mos_eisley_scavenger.py @@ -1,18 +1,15 @@ -import sys # Project SWG: Mos Eisley scavenger: Static Spawns # (C)2014 ProjectSWG - - +import sys 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 +27,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 diff --git a/scripts/static_spawns/tatooine/mos_eisley_shinn_bunker.py b/scripts/static_spawns/tatooine/mos_eisley_shinn_bunker.py index 4add2ca5..c6bc6758 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_shinn_bunker.py +++ b/scripts/static_spawns/tatooine/mos_eisley_shinn_bunker.py @@ -1,17 +1,15 @@ -import sys # Project SWG: Mos Eisley Shinn bunker: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService + aiSvc = core.aiService building = core.objectService.getObject(long(-466404038086555772)) @@ -35,6 +33,23 @@ def addPlanetSpawns(core, planet): shinn_mugger15 = stcSvc.spawnObject('shinn_mugger', 'tatooine', long(0), float(3380), float(5), float(-5465), float(0), float(0), float(0), float(0), 30) shinn_mugger16 = stcSvc.spawnObject('shinn_mugger', 'tatooine', long(0), float(3394), float(4), float(-5456), float(0), float(0), float(0), float(0), 30) + aiSvc.setLoiter(shinn_mugger, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger1, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger2, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger3, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger4, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger5, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger6, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger7, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger8, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger9, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger10, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger11, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger12, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger13, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger14, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger15, float(1), float(8)) + aiSvc.setLoiter(shinn_mugger16, float(1), float(8)) #shinn Guards outside bunker shinn_guard_o1 = stcSvc.spawnObject('shinn_guard', 'tatooine', long(0), float(3417), float(7), float(-5461), float(0), float(0), float(0), float(0), 30) diff --git a/scripts/static_spawns/tatooine/mos_eisley_swoop_gang.py b/scripts/static_spawns/tatooine/mos_eisley_swoop_gang.py index 734e756d..02e2650e 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_swoop_gang.py +++ b/scripts/static_spawns/tatooine/mos_eisley_swoop_gang.py @@ -1,18 +1,15 @@ -import sys # Project SWG: Mos Eisley Swoop gang: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService - + aiSvc = core.aiService #Enforcers @@ -37,5 +34,17 @@ def addPlanetSpawns(core, planet): swoop_gang_thug1 = stcSvc.spawnObject('swoop_gang_thug', 'tatooine', long(0), float(3169), float(5), float(-4823), float(0), float(0), float(0), float(0), 30) swoop_gang_thug2 = stcSvc.spawnObject('swoop_gang_thug', 'tatooine', long(0), float(3168), float(5), float(-4773), float(0), float(0), float(0), float(0), 30) - return - + aiSvc.setLoiter(swoop_gang_enforcer, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_enforcer1, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_punk, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_punk1, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_punk2, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_punk3, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_rogue, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_rogue1, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_rogue2, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_thug, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_thug1, float(1), float(8)) + aiSvc.setLoiter(swoop_gang_thug2, float(1), float(8)) + + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_tempest_rills.py b/scripts/static_spawns/tatooine/mos_eisley_tempest_rills.py index e44369e0..00012b12 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_tempest_rills.py +++ b/scripts/static_spawns/tatooine/mos_eisley_tempest_rills.py @@ -1,17 +1,15 @@ -import sys # Project SWG: MosEisley Tempest Rills: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService + aiSvc = core.aiService # Tempest rills tempest_rill1 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3716), float(5), float(-4602), float(0), float(0), float(0), float(0), 30) @@ -29,8 +27,6 @@ def addPlanetSpawns(core, planet): tempest_rill13 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3704), float(5), float(-4624), float(0), float(0), float(0), float(0), 30) tempest_rill14 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3687), float(5), float(-4600), float(0), float(0), float(0), float(0), 30) - - # Tempest rills tempest_rill4 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3875), float(48), float(-5068), float(0), float(0), float(0), float(0), 30) tempest_rill41 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3855), float(45), float(-5048), float(0), float(0), float(0), float(0), 30) @@ -39,6 +35,25 @@ def addPlanetSpawns(core, planet): tempest_rill44 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3892), float(58), float(-5078), float(0), float(0), float(0), float(0), 30) tempest_rill45 = stcSvc.spawnObject('tempest_rill', 'tatooine', long(0), float(3860), float(44), float(-5043), float(0), float(0), float(0), float(0), 30) + aiSvc.setLoiter(tempest_rill1, float(1), float(8)) + aiSvc.setLoiter(tempest_rill2, float(1), float(8)) + aiSvc.setLoiter(tempest_rill3, float(1), float(8)) + aiSvc.setLoiter(tempest_rill4, float(1), float(8)) + aiSvc.setLoiter(tempest_rill5, float(1), float(8)) + aiSvc.setLoiter(tempest_rill6, float(1), float(8)) + aiSvc.setLoiter(tempest_rill7, float(1), float(8)) + aiSvc.setLoiter(tempest_rill8, float(1), float(8)) + aiSvc.setLoiter(tempest_rill9, float(1), float(8)) + aiSvc.setLoiter(tempest_rill10, float(1), float(8)) + aiSvc.setLoiter(tempest_rill11, float(1), float(8)) + aiSvc.setLoiter(tempest_rill12, float(1), float(8)) + aiSvc.setLoiter(tempest_rill13, float(1), float(8)) + aiSvc.setLoiter(tempest_rill14, float(1), float(8)) + aiSvc.setLoiter(tempest_rill4, float(1), float(8)) + aiSvc.setLoiter(tempest_rill41, float(1), float(8)) + aiSvc.setLoiter(tempest_rill42, float(1), float(8)) + aiSvc.setLoiter(tempest_rill43, float(1), float(8)) + aiSvc.setLoiter(tempest_rill44, float(1), float(8)) + aiSvc.setLoiter(tempest_rill45, float(1), float(8)) - return - + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_toggi_bok.py b/scripts/static_spawns/tatooine/mos_eisley_toggi_bok.py index eeeb94b0..c7b6c9e4 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_toggi_bok.py +++ b/scripts/static_spawns/tatooine/mos_eisley_toggi_bok.py @@ -1,21 +1,19 @@ -import sys # Project SWG: Mos Eisley Toogi Bok's place: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService + aiSvc = core.aiService - #toggi bock - + #toggi bok stcSvc.spawnObject('object/mobile/shared_dressed_tatooine_opening_toggi.iff', 'tatooine', long(0), float(2756), float(7), float(-4567), float(0), float(0), float(0), float(0)) + # Thiefs thiefs = stcSvc.spawnObject('thief', 'tatooine', long(0), float(2780), float(6), float(-4579), float(0), float(0), float(0), float(0), 30) @@ -37,5 +35,23 @@ def addPlanetSpawns(core, planet): thiefs16 = stcSvc.spawnObject('thief', 'tatooine', long(0), float(2803), float(6), float(-4578), float(0), float(0), float(0), float(0), 30) thiefs17 = stcSvc.spawnObject('thief', 'tatooine', long(0), float(2800), float(6), float(-4619), float(0), float(0), float(0), float(0), 30) - return + aiSvc.setLoiter(thiefs, float(1), float(8)) + aiSvc.setLoiter(thiefs1, float(1), float(8)) + aiSvc.setLoiter(thiefs2, float(1), float(8)) + aiSvc.setLoiter(thiefs3, float(1), float(8)) + aiSvc.setLoiter(thiefs4, float(1), float(8)) + aiSvc.setLoiter(thiefs5, float(1), float(8)) + aiSvc.setLoiter(thiefs6, float(1), float(8)) + aiSvc.setLoiter(thiefs7, float(1), float(8)) + aiSvc.setLoiter(thiefs8, float(1), float(8)) + aiSvc.setLoiter(thiefs9, float(1), float(8)) + aiSvc.setLoiter(thiefs10, float(1), float(8)) + aiSvc.setLoiter(thiefs11, float(1), float(8)) + aiSvc.setLoiter(thiefs12, float(1), float(8)) + aiSvc.setLoiter(thiefs13, float(1), float(8)) + aiSvc.setLoiter(thiefs14, float(1), float(8)) + aiSvc.setLoiter(thiefs15, float(1), float(8)) + aiSvc.setLoiter(thiefs16, float(1), float(8)) + aiSvc.setLoiter(thiefs17, float(1), float(8)) + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_water_thiefs.py b/scripts/static_spawns/tatooine/mos_eisley_water_thiefs.py index b96e0594..bc28f9ba 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_water_thiefs.py +++ b/scripts/static_spawns/tatooine/mos_eisley_water_thiefs.py @@ -1,17 +1,15 @@ -import sys # Project SWG: water thief: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService + aiSvc = core.aiService # Outside of Tusken camp water_thief = stcSvc.spawnObject('water_thief', 'tatooine', long(0), float(3079), float(7), float(-4370), float(0), float(0), float(0), float(0), 45) @@ -25,4 +23,14 @@ def addPlanetSpawns(core, planet): water_thief8 = stcSvc.spawnObject('water_thief', 'tatooine', long(0), float(3065), float(8), float(-4348), float(0), float(0), float(0), float(0), 45) water_thief9 = stcSvc.spawnObject('water_thief', 'tatooine', long(0), float(3054), float(5), float(-4378), float(0), float(0), float(0), float(0), 45) - return + aiSvc.setLoiter(water_thief1, float(1), float(8)) + aiSvc.setLoiter(water_thief2, float(1), float(8)) + aiSvc.setLoiter(water_thief3, float(1), float(8)) + aiSvc.setLoiter(water_thief4, float(1), float(8)) + aiSvc.setLoiter(water_thief5, float(1), float(8)) + aiSvc.setLoiter(water_thief6, float(1), float(8)) + aiSvc.setLoiter(water_thief7, float(1), float(8)) + aiSvc.setLoiter(water_thief8, float(1), float(8)) + aiSvc.setLoiter(water_thief9, float(1), float(8)) + + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_womprats.py b/scripts/static_spawns/tatooine/mos_eisley_womprats.py index a7bdb444..edaaf5f4 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_womprats.py +++ b/scripts/static_spawns/tatooine/mos_eisley_womprats.py @@ -1,18 +1,15 @@ -import sys # Project SWG: MosEisley Rat Spawn: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService - + aiSvc = core.aiService # City Sewer Swamprats city_sewer = stcSvc.spawnObject('city_sewer_swamprat', 'tatooine', long(0), float(3216), float(8), float(-4465), float(0), float(0), float(0), float(0), 30) @@ -22,8 +19,6 @@ def addPlanetSpawns(core, planet): city_sewer4 = stcSvc.spawnObject('city_sewer_swamprat', 'tatooine', long(0), float(3220), float(8), float(-4462), float(0), float(0), float(0), float(0), 30) city_sewer5 = stcSvc.spawnObject('city_sewer_swamprat', 'tatooine', long(0), float(3224), float(8), float(-4469), float(0), float(0), float(0), float(0), 30) city_sewer6 = stcSvc.spawnObject('city_sewer_swamprat', 'tatooine', long(0), float(3218), float(8), float(-4467), float(0), float(0), float(0), float(0), 30) - - # Sickly Womprats sickly_womprat = stcSvc.spawnObject('sickly_womprat', 'tatooine', long(0), float(3115), float(9), float(-4758), float(0), float(0), float(0), float(0), 30) @@ -42,9 +37,8 @@ def addPlanetSpawns(core, planet): womprat4 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3587), float(56), float(-4348), float(0), float(0), float(0), float(0), 30) womprat5 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3587), float(56), float(-4358), float(0), float(0), float(0), float(0), 30) womprat6 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3590), float(56), float(-4360), float(0), float(0), float(0), float(0), 30) - - - womprat2 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3841), float(49), float(-5072), float(0), float(0), float(0), float(0), 30) + + womprat20 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3841), float(49), float(-5072), float(0), float(0), float(0), float(0), 30) womprat21 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3832), float(49), float(-5072), float(0), float(0), float(0), float(0), 30) womprat22 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3823), float(49), float(-5072), float(0), float(0), float(0), float(0), 30) womprat23 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3841), float(49), float(-5068), float(0), float(0), float(0), float(0), 30) @@ -52,4 +46,35 @@ def addPlanetSpawns(core, planet): womprat25 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3841), float(49), float(-5056), float(0), float(0), float(0), float(0), 30) womprat26 = stcSvc.spawnObject('womprat', 'tatooine', long(0), float(3839), float(49), float(-5082), float(0), float(0), float(0), float(0), 30) - return + aiSvc.setLoiter(city_sewer, float(1), float(8)) + aiSvc.setLoiter(city_sewer1, float(1), float(8)) + aiSvc.setLoiter(city_sewer2, float(1), float(8)) + aiSvc.setLoiter(city_sewer3, float(1), float(8)) + aiSvc.setLoiter(city_sewer4, float(1), float(8)) + aiSvc.setLoiter(city_sewer5, float(1), float(8)) + aiSvc.setLoiter(city_sewer6, float(1), float(8)) + + aiSvc.setLoiter(sickly_womprat, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat1, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat2, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat3, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat4, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat5, float(1), float(8)) + aiSvc.setLoiter(sickly_womprat6, float(1), float(8)) + + aiSvc.setLoiter(womprat, float(1), float(8)) + aiSvc.setLoiter(womprat1, float(1), float(8)) + aiSvc.setLoiter(womprat2, float(1), float(8)) + aiSvc.setLoiter(womprat3, float(1), float(8)) + aiSvc.setLoiter(womprat4, float(1), float(8)) + aiSvc.setLoiter(womprat5, float(1), float(8)) + aiSvc.setLoiter(womprat6, float(1), float(8)) + + aiSvc.setLoiter(womprat20, float(1), float(8)) + aiSvc.setLoiter(womprat21, float(1), float(8)) + aiSvc.setLoiter(womprat22, float(1), float(8)) + aiSvc.setLoiter(womprat23, float(1), float(8)) + aiSvc.setLoiter(womprat24, float(1), float(8)) + aiSvc.setLoiter(womprat25, float(1), float(8)) + aiSvc.setLoiter(womprat26, float(1), float(8)) + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_worrts.py b/scripts/static_spawns/tatooine/mos_eisley_worrts.py index f6402cf8..dfc4996f 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_worrts.py +++ b/scripts/static_spawns/tatooine/mos_eisley_worrts.py @@ -1,17 +1,15 @@ -import sys # Project SWG: MosEisley Worrts: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService + aiSvc = core.aiService # Tame Worrts tame_worrt1 = stcSvc.spawnObject('tame_worrt', 'tatooine', long(0), float(3153), float(4), float(-4945), float(0), float(0), float(0), float(0), 30) @@ -29,5 +27,17 @@ def addPlanetSpawns(core, planet): tame_worrt24 = stcSvc.spawnObject('tame_worrt', 'tatooine', long(0), float(3145), float(4), float(-4746), float(0), float(0), float(0), float(0), 30) tame_worrt25 = stcSvc.spawnObject('tame_worrt', 'tatooine', long(0), float(3120), float(4), float(-4721), float(0), float(0), float(0), float(0), 30) + aiSvc.setLoiter(tame_worrt1, float(1), float(8)) + aiSvc.setLoiter(tame_worrt2, float(1), float(8)) + aiSvc.setLoiter(tame_worrt3, float(1), float(8)) + aiSvc.setLoiter(tame_worrt4, float(1), float(8)) + aiSvc.setLoiter(tame_worrt5, float(1), float(8)) + + aiSvc.setLoiter(tame_worrt2, float(1), float(8)) + aiSvc.setLoiter(tame_worrt21, float(1), float(8)) + aiSvc.setLoiter(tame_worrt22, float(1), float(8)) + aiSvc.setLoiter(tame_worrt23, float(1), float(8)) + aiSvc.setLoiter(tame_worrt24, float(1), float(8)) + aiSvc.setLoiter(tame_worrt25, float(1), float(8)) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_wt_bunker.py b/scripts/static_spawns/tatooine/mos_eisley_wt_bunker.py index 4bbd6e7c..52c09416 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_wt_bunker.py +++ b/scripts/static_spawns/tatooine/mos_eisley_wt_bunker.py @@ -1,19 +1,16 @@ -import sys # Project SWG: WT Bunker: Static Spawns # (C)2014 ProjectSWG - - +import sys from resources.datatables import Options from resources.datatables import State from resources.datatables import Posture def addPlanetSpawns(core, planet): - stcSvc = core.staticService objSvc = core.objectService - + aiSvc = core.aiService #Outside wt_guard = stcSvc.spawnObject('white_thranta_security_guard', 'tatooine', long(0), float(3749.7), float(16.8), float(-4200.5), float(0), float(0), float(0), float(0), 45) @@ -25,6 +22,14 @@ def addPlanetSpawns(core, planet): wt_guard6 = stcSvc.spawnObject('white_thranta_security_guard', 'tatooine', long(0), float(3718.3), float(16.2), float(-4193.1), float(0), float(0), float(0), float(0), 45) wt_guard7 = stcSvc.spawnObject('white_thranta_security_guard', 'tatooine', long(0), float(3707), float(17.7), float(-4187.6), float(0), float(0), float(0), float(0), 45) + aiSvc.setLoiter(wt_guard, float(1), float(8)) + aiSvc.setLoiter(wt_guard1, float(1), float(8)) + aiSvc.setLoiter(wt_guard2, float(1), float(8)) + aiSvc.setLoiter(wt_guard3, float(1), float(8)) + aiSvc.setLoiter(wt_guard4, float(1), float(8)) + aiSvc.setLoiter(wt_guard5, float(1), float(8)) + aiSvc.setLoiter(wt_guard6, float(1), float(8)) + aiSvc.setLoiter(wt_guard7, float(1), float(8)) #inside wt_bunker = core.objectService.getObject(long(-466404036409557111))