From 473e7be4c607309e3ea937ba2ca01e64ad1307d1 Mon Sep 17 00:00:00 2001 From: Seefo Date: Wed, 5 Nov 2014 12:39:18 -0500 Subject: [PATCH] Fixed some issues that cause crashes The rest of the scripts need to be modified, I don't have time to do them all. --- .../corellia/factional_recruiters.py | 6 +- .../talus/factional_recruiters.py | 3 +- scripts/static_spawns/tatooine/anchorhead.py | 3 +- scripts/static_spawns/tatooine/bestine.py | 41 +++--- .../tatooine/darklighter_cave.py | 95 +++++++------- .../tatooine/factional_recruiters.py | 6 +- .../tatooine/jabba_tp_pod_racer_bunker.py | 36 ++--- .../tatooine/jabba_tp_romo_vax_bunker.py | 39 +++--- .../tatooine/jabba_tp_sand_splitter_cave.py | 60 ++++----- .../tatooine/jabba_tp_sennex_bunker.py | 124 +++++++++--------- .../tatooine/jabba_tp_valarian_camp_bunker.py | 34 ++--- .../jabba_tp_valarian_hacker_bunker.py | 26 ++-- .../jabba_tp_valarian_security_bunker.py | 84 ++++++------ .../static_spawns/tatooine/jabbas_palace.py | 92 ++++++------- scripts/static_spawns/tatooine/mos_eisley.py | 55 ++++---- 15 files changed, 355 insertions(+), 349 deletions(-) diff --git a/scripts/static_spawns/corellia/factional_recruiters.py b/scripts/static_spawns/corellia/factional_recruiters.py index 30f938d9..d8b0b77e 100644 --- a/scripts/static_spawns/corellia/factional_recruiters.py +++ b/scripts/static_spawns/corellia/factional_recruiters.py @@ -17,11 +17,13 @@ def addPlanetSpawns(core, planet): #rebrecruiter tyrena tyrenaCantina = core.objectService.getObject(long(2625352)) - stcSvc.spawnObject('rebel_recruiter', 'corellia', tyrenaCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(0.4), float(0), float(-0.707), float(0), float(0.707)) + if tyrenaCantina not None: + stcSvc.spawnObject('rebel_recruiter', 'corellia', tyrenaCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(0.4), float(0), float(-0.707), float(0), float(0.707)) #cnet cantina cnetCantina = core.objectService.getObject(long(8105493)) - stcSvc.spawnObject('rebel_recruiter', 'corellia', cnetCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(0.4), float(0), float(-0.707), float(0), float(0.707)) + if cnetCantina not None: + stcSvc.spawnObject('rebel_recruiter', 'corellia', cnetCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(0.4), float(0), float(-0.707), float(0), float(0.707)) return \ No newline at end of file diff --git a/scripts/static_spawns/talus/factional_recruiters.py b/scripts/static_spawns/talus/factional_recruiters.py index 219a1571..dce4d239 100644 --- a/scripts/static_spawns/talus/factional_recruiters.py +++ b/scripts/static_spawns/talus/factional_recruiters.py @@ -16,6 +16,7 @@ def addPlanetSpawns(core, planet): #Reb recruiter dearicCantina = core.objectService.getObject(long(3175388)) - stcSvc.spawnObject('rebel_recruiter', 'talus', dearicCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(-0.7), float(0), float(-0.707), float(0), float(0.707)) + if dearicCantina not None: + stcSvc.spawnObject('rebel_recruiter', 'talus', dearicCantina.getCellByCellNumber(11), float(-25.8), float(-0.9), float(-0.7), float(0), float(-0.707), float(0), float(0.707)) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/anchorhead.py b/scripts/static_spawns/tatooine/anchorhead.py index 44ebddfc..c88d5de0 100644 --- a/scripts/static_spawns/tatooine/anchorhead.py +++ b/scripts/static_spawns/tatooine/anchorhead.py @@ -17,7 +17,8 @@ def addPlanetSpawns(core, planet): cantina = core.objectService.getObject(long(1213343)) # Cantina Interior - borraSetas = stcSvc.spawnObject('borrasetas', 'tatooine', cantina.getCellByCellNumber(2), float(9.8), float(0.4), float(-1.2), float(0.75), float(0), float(-0.65), float(0)) + if cantina not None: + borraSetas = stcSvc.spawnObject('borrasetas', 'tatooine', cantina.getCellByCellNumber(2), float(9.8), float(0.4), float(-1.2), float(0.75), float(0), float(-0.65), float(0)) # Outside aaphKoden = stcSvc.spawnObject('aaphkoden', 'tatooine', long(0), float(129), float(5.0), float(-5399), float(-0.67), float(0.73)) diff --git a/scripts/static_spawns/tatooine/bestine.py b/scripts/static_spawns/tatooine/bestine.py index 5703e42e..59e5ad57 100644 --- a/scripts/static_spawns/tatooine/bestine.py +++ b/scripts/static_spawns/tatooine/bestine.py @@ -12,36 +12,33 @@ def addPlanetSpawns(core, planet): # City hall cityhall = core.objectService.getObject(long(926472)) - - indigoSiyan = stcSvc.spawnObject('indigosiyan', 'tatooine', cityhall.getCellByCellNumber(11), float(24.7), float(3.2), float(-30.7), float(0.99), float(0), float(-0.06), float(0)) - - keanna = stcSvc.spawnObject('keanna', 'tatooine', cityhall.getCellByCellNumber(8), float(-18.7), float(3.2), float(20.6), float(0.2), float(0), float(-0.97), float(0)) - - oberhaur = stcSvc.spawnObject('oberhaur', 'tatooine', cityhall.getCellByCellNumber(8), float(-21.9), float(3.2), float(26.9), float(0.01), float(0), float(0.99), float(0)) - - seanTrenwell = stcSvc.spawnObject('seantrenwell', 'tatooine', cityhall.getCellByCellNumber(11), float(19.4), float(3.2), float(-36), float(0.99), float(0), float(-0.06), float(0)) - - talmont = stcSvc.spawnObject('prefecttalmont', 'tatooine', cityhall.getCellByCellNumber(3), float(-1.9), float(3.1), float(-10.3), float(0), float(0), float(0.99), float(0)) - - tourAryon = stcSvc.spawnObject('touraryon', 'tatooine', cityhall.getCellByCellNumber(7), float(-36.8), float(1.3), float(0.3), float(0.59), float(0), float(0.8), float(0)) - - victorVisalis = stcSvc.spawnObject('victorvisalis', 'tatooine', cityhall.getCellByCellNumber(8), float(-26.7), float(3.2), float(20.8), float(0.24), float(0), float(0.96), float(0)) - - wilhalmSkrim = stcSvc.spawnObject('wilhalmskrim', 'tatooine', cityhall.getCellByCellNumber(10), float(28.9), float(1.3), float(-6.0), float(0.97), float(0), float(0.23), float(0)) - - pilotguildhall = core.objectService.getObject(long(1028590)) + if cityhall not None: + indigoSiyan = stcSvc.spawnObject('indigosiyan', 'tatooine', cityhall.getCellByCellNumber(11), float(24.7), float(3.2), float(-30.7), float(0.99), float(0), float(-0.06), float(0)) + keanna = stcSvc.spawnObject('keanna', 'tatooine', cityhall.getCellByCellNumber(8), float(-18.7), float(3.2), float(20.6), float(0.2), float(0), float(-0.97), float(0)) + oberhaur = stcSvc.spawnObject('oberhaur', 'tatooine', cityhall.getCellByCellNumber(8), float(-21.9), float(3.2), float(26.9), float(0.01), float(0), float(0.99), float(0)) + seanTrenwell = stcSvc.spawnObject('seantrenwell', 'tatooine', cityhall.getCellByCellNumber(11), float(19.4), float(3.2), float(-36), float(0.99), float(0), float(-0.06), float(0)) + talmont = stcSvc.spawnObject('prefecttalmont', 'tatooine', cityhall.getCellByCellNumber(3), float(-1.9), float(3.1), float(-10.3), float(0), float(0), float(0.99), float(0)) + tourAryon = stcSvc.spawnObject('touraryon', 'tatooine', cityhall.getCellByCellNumber(7), float(-36.8), float(1.3), float(0.3), float(0.59), float(0), float(0.8), float(0)) + victorVisalis = stcSvc.spawnObject('victorvisalis', 'tatooine', cityhall.getCellByCellNumber(8), float(-26.7), float(3.2), float(20.8), float(0.24), float(0), float(0.96), float(0)) + wilhalmSkrim = stcSvc.spawnObject('wilhalmskrim', 'tatooine', cityhall.getCellByCellNumber(10), float(28.9), float(1.3), float(-6.0), float(0.97), float(0), float(0.23), float(0)) + #Miscellaneous Building Interiors - akalColzet = stcSvc.spawnObject('akalcolzet', 'tatooine', pilotguildhall.getCellByCellNumber(10), float(0.7), float(1.8), float(-14), float(0.99), float(0), float(0), float(0)) + pilotguildhall = core.objectService.getObject(long(1028590)) + if pilotguildhall not None: + akalColzet = stcSvc.spawnObject('akalcolzet', 'tatooine', pilotguildhall.getCellByCellNumber(10), float(0.7), float(1.8), float(-14), float(0.99), float(0), float(0), float(0)) fariousgletchhouse = core.objectService.getObject(long(1278979)) - fariousGletch = stcSvc.spawnObject('fariousgletch', 'tatooine', fariousgletchhouse.getCellByCellNumber(10), float(2.0), float(-0.4), float(-5.7), float(0.98), float(0), float(-0.15), float(0)) + if fariousgletchhouse not None: + fariousGletch = stcSvc.spawnObject('fariousgletch', 'tatooine', fariousgletchhouse.getCellByCellNumber(10), float(2.0), float(-0.4), float(-5.7), float(0.98), float(0), float(-0.15), float(0)) hillbase = core.objectService.getObject(long(1279918)) - pfilbeeJhorn = stcSvc.spawnObject('pfilbee', 'tatooine', hillbase.getCellByCellNumber(5), float(5.1), float(0.1), float(-3.8), float(0.71), float(0), float(-0.7), float(0)) + if hillbase not None: + pfilbeeJhorn = stcSvc.spawnObject('pfilbee', 'tatooine', hillbase.getCellByCellNumber(5), float(5.1), float(0.1), float(-3.8), float(0.71), float(0), float(-0.7), float(0)) #Hotel interior hotel = core.objectService.getObject(long(1223845)) - gilBurtin = stcSvc.spawnObject('gilburtin', 'tatooine', hotel.getCellByCellNumber(5), float(20.3), float(1.6), float(12.8), float(0), float(0), float(0.99), float(0)) + if hotel not None: + gilBurtin = stcSvc.spawnObject('gilburtin', 'tatooine', hotel.getCellByCellNumber(5), float(20.3), float(1.6), float(12.8), float(0), float(0), float(0.99), float(0)) # Outside barak = stcSvc.spawnObject('brokerbarak', 'tatooine', long(0), float(-1049), float(10), float(-3537), float(0.97), float(0.23)) diff --git a/scripts/static_spawns/tatooine/darklighter_cave.py b/scripts/static_spawns/tatooine/darklighter_cave.py index 87731a61..0ac7e0a8 100644 --- a/scripts/static_spawns/tatooine/darklighter_cave.py +++ b/scripts/static_spawns/tatooine/darklighter_cave.py @@ -17,54 +17,55 @@ def addPlanetSpawns(core, planet): cave = core.objectService.getObject(long(-466404036409557011)) - lifter = stcSvc.spawnObject('object/mobile/shared_cll8_binary_load_lifter.iff', 'tatooine', cave.getCellByCellNumber(2), float(8.8), float(-21.8), float(-38.1), float(0.71), float(0), float(0.70), float(0)) - lifter.setCustomName('a Binary Load Lifter') - lifter.setOptionsBitmask(Options.INVULNERABLE) + if cave not None: + lifter = stcSvc.spawnObject('object/mobile/shared_cll8_binary_load_lifter.iff', 'tatooine', cave.getCellByCellNumber(2), float(8.8), float(-21.8), float(-38.1), float(0.71), float(0), float(0.70), float(0)) + lifter.setCustomName('a Binary Load Lifter') + lifter.setOptionsBitmask(Options.INVULNERABLE) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(4), float(-34.7), float(-49.1), float(-109.5), float(0.71), float(0), float(0.70), float(0)) - - stcSvc.spawnObject('desert_demon_marksman', 'tatooine', cave.getCellByCellNumber(5), float(-12.8), float(-48.4), float(-161.9), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(5), float(-9), float(-48.6), float(-167.8), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(5), float(-6.3), float(-48.6), float(-164.2), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(7), float(41), float(-71), float(-187.3), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(35.5), float(-80.8), float(-232.9), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(40), float(-80.8), float(-234.5), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(39.6), float(-80.7), float(-244.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(13), float(24.8), float(-79.7), float(-265.8), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(13), float(28.2), float(-79.7), float(-275.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(13), float(10.2), float(-79.7), float(-277.7), float(0.71), float(0), float(0.70), float(0)) - - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(14), float(-25.4), float(-85.4), float(-263.9), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(15), float(-78.4), float(-96.6), float(-233), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-109.5), float(-107.9), float(-338.8), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-126.7), float(-107.8), float(-313.9), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-150.3), float(-116.7), float(-335.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(17), float(-158.7), float(-111.9), float(-324.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(17), float(-170.9), float(-109.1), float(-317.3), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(9), float(-57.5), float(-65.2), float(-197.8), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(10), float(-138), float(-86), float(-257.5), float(0.71), float(0), float(0.70), float(0)) - - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(9), float(-91.3), float(-74.4), float(-199.2), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(10), float(-124.2), float(-84.5), float(-253.9), float(0.71), float(0), float(0.70), float(0)) - - #dunestalker - - stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-163.8), float(-88.5), float(-221.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-162.6), float(-87.5), float(-214.3), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-174.7), float(-87.8), float(-217.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_leader', 'tatooine', cave.getCellByCellNumber(12), float(-198.4), float(-89), float(-166.5), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_marksman', 'tatooine', cave.getCellByCellNumber(12), float(-210.5), float(-88), float(-174.9), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_scavenger', 'tatooine', cave.getCellByCellNumber(12), float(-233.4), float(-87.4), float(-221.2), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-249.5), float(-87.6), float(-229.4), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-254.4), float(-88.1), float(-219.7), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-256.3), float(-84.8), float(-198.2), float(0.71), float(0), float(0.70), float(0)) - - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-275.4), float(-81.7), float(-192.8), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-276), float(-81.1), float(-182), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-286), float(-81), float(-199.6), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-269.9), float(-86.1), float(-248.1), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-270.7), float(-86.1), float(-263), float(0.71), float(0), float(0.70), float(0)) - stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-264.9), float(-84.8), float(-251.6), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(4), float(-34.7), float(-49.1), float(-109.5), float(0.71), float(0), float(0.70), float(0)) + + stcSvc.spawnObject('desert_demon_marksman', 'tatooine', cave.getCellByCellNumber(5), float(-12.8), float(-48.4), float(-161.9), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(5), float(-9), float(-48.6), float(-167.8), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(5), float(-6.3), float(-48.6), float(-164.2), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(7), float(41), float(-71), float(-187.3), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(35.5), float(-80.8), float(-232.9), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(40), float(-80.8), float(-234.5), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(11), float(39.6), float(-80.7), float(-244.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(13), float(24.8), float(-79.7), float(-265.8), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(13), float(28.2), float(-79.7), float(-275.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(13), float(10.2), float(-79.7), float(-277.7), float(0.71), float(0), float(0.70), float(0)) + + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(14), float(-25.4), float(-85.4), float(-263.9), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(15), float(-78.4), float(-96.6), float(-233), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-109.5), float(-107.9), float(-338.8), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-126.7), float(-107.8), float(-313.9), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(17), float(-150.3), float(-116.7), float(-335.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(17), float(-158.7), float(-111.9), float(-324.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_bodyguard', 'tatooine', cave.getCellByCellNumber(17), float(-170.9), float(-109.1), float(-317.3), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(9), float(-57.5), float(-65.2), float(-197.8), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(10), float(-138), float(-86), float(-257.5), float(0.71), float(0), float(0.70), float(0)) + + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(9), float(-91.3), float(-74.4), float(-199.2), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('desert_demon_brawler', 'tatooine', cave.getCellByCellNumber(10), float(-124.2), float(-84.5), float(-253.9), float(0.71), float(0), float(0.70), float(0)) + + #dunestalker + + stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-163.8), float(-88.5), float(-221.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-162.6), float(-87.5), float(-214.3), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-174.7), float(-87.8), float(-217.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_leader', 'tatooine', cave.getCellByCellNumber(12), float(-198.4), float(-89), float(-166.5), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_marksman', 'tatooine', cave.getCellByCellNumber(12), float(-210.5), float(-88), float(-174.9), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_scavenger', 'tatooine', cave.getCellByCellNumber(12), float(-233.4), float(-87.4), float(-221.2), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-249.5), float(-87.6), float(-229.4), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_brawler', 'tatooine', cave.getCellByCellNumber(12), float(-254.4), float(-88.1), float(-219.7), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('dune_stalker_enforcer', 'tatooine', cave.getCellByCellNumber(12), float(-256.3), float(-84.8), float(-198.2), float(0.71), float(0), float(0.70), float(0)) + + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-275.4), float(-81.7), float(-192.8), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-276), float(-81.1), float(-182), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-286), float(-81), float(-199.6), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-269.9), float(-86.1), float(-248.1), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-270.7), float(-86.1), float(-263), float(0.71), float(0), float(0.70), float(0)) + stcSvc.spawnObject('rock_beetle', 'tatooine', cave.getCellByCellNumber(12), float(-264.9), float(-84.8), float(-251.6), float(0.71), float(0), float(0.70), float(0)) return diff --git a/scripts/static_spawns/tatooine/factional_recruiters.py b/scripts/static_spawns/tatooine/factional_recruiters.py index 17f613c1..cb152da9 100644 --- a/scripts/static_spawns/tatooine/factional_recruiters.py +++ b/scripts/static_spawns/tatooine/factional_recruiters.py @@ -16,7 +16,8 @@ def addPlanetSpawns(core, planet): #Imp recruiter Eisley smallImpHouse = core.objectService.getObject(long(1280129)) - stcSvc.spawnObject('imperial_recruiter', 'tatooine', smallImpHouse.getCellByCellNumber(3), float(-6), float(1), float(9.2), float(0.71), float(0), float(0.70), float(0)) + if smallImpHouse not None: + stcSvc.spawnObject('imperial_recruiter', 'tatooine', smallImpHouse.getCellByCellNumber(3), float(-6), float(1), float(9.2), float(0.71), float(0), float(0.70), float(0)) #Imp recruiter Bestine #Hill @@ -28,6 +29,7 @@ def addPlanetSpawns(core, planet): #Anchorhead cantina anchCantina = core.objectService.getObject(long(1213343)) - stcSvc.spawnObject('rebel_recruiter', 'tatooine', anchCantina.getCellByCellNumber(6), float(-6.1), float(-1.8), float(-6.2), float(0), float(0), float(0), float(-90)) + if anchCantina not None: + stcSvc.spawnObject('rebel_recruiter', 'tatooine', anchCantina.getCellByCellNumber(6), float(-6.1), float(-1.8), float(-6.2), float(0), float(0), float(0), float(-90)) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/jabba_tp_pod_racer_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_pod_racer_bunker.py index 9fba0576..365ab34d 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_pod_racer_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_pod_racer_bunker.py @@ -35,24 +35,24 @@ def addPlanetSpawns(core, planet): stcSvc.spawnObject('valarian_pod_racer', 'tatooine', long(0), float(-728.1), float(11), float(-6255.1), float(0), float(0), float(0), float(0), 45) bunker = core.objectService.getObject(long(-466404037726719318)) - - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(2), float(-4.1), float(0.3), float(1.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(3), float(4.1), float(0.3), float(-3.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(4), float(3.2), float(-12), float(26.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(4), float(14.1), float(-12), float(31.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(5), float(29.4), float(-12), float(27.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(5), float(29.5), float(-12), float(35.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(8.5), float(-14), float(59.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(7), float(-3), float(-16), float(67.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(7), float(0.6), float(-16), float(84), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(20.9), float(-16), float(78.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(28), float(-16), float(78.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(9), float(-42.2), float(-14), float(74.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(9), float(-36.5), float(-14), float(84.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(54.8), float(-16), float(77.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('doane_watki', 'tatooine', bunker.getCellByCellNumber(8), float(80.6), float(-16), float(79.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(78.3), float(-16), float(62.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(61.2), float(-16), float(58), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(2), float(-4.1), float(0.3), float(1.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(3), float(4.1), float(0.3), float(-3.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(4), float(3.2), float(-12), float(26.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(4), float(14.1), float(-12), float(31.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(5), float(29.4), float(-12), float(27.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(5), float(29.5), float(-12), float(35.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(8.5), float(-14), float(59.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(7), float(-3), float(-16), float(67.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(7), float(0.6), float(-16), float(84), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(20.9), float(-16), float(78.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(7), float(28), float(-16), float(78.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_crew_chief', 'tatooine', bunker.getCellByCellNumber(9), float(-42.2), float(-14), float(74.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(9), float(-36.5), float(-14), float(84.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(54.8), float(-16), float(77.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('doane_watki', 'tatooine', bunker.getCellByCellNumber(8), float(80.6), float(-16), float(79.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(78.3), float(-16), float(62.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_mechanic', 'tatooine', bunker.getCellByCellNumber(8), float(61.2), float(-16), float(58), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabba_tp_romo_vax_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_romo_vax_bunker.py index 4361ff33..fc484a33 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_romo_vax_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_romo_vax_bunker.py @@ -24,25 +24,24 @@ def addPlanetSpawns(core, planet): # TODO Check all NPCs for personalized scripting, change format. bunker = core.objectService.getObject(long(-466404037494797872)) - - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(2), float(-3.8), float(0.3), float(2.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(3), float(3.6), float(0.3), float(-3.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(29.8), float(-12), float(25.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(32.7), float(-12), float(35), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(22.9), float(-12), float(30.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(21), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(38.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(6), float(3.5), float(-16), float(53), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(58.8), float(-16), float(61), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(74.4), float(-16), float(66.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(68.3), float(-16), float(79.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(44.6), float(-16), float(82.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(26), float(-16), float(79), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(6.9), float(-16), float(78.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-5.2), float(-16), float(77.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-19.9), float(-16), float(78.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(9), float(32.4), float(-14), float(78.7), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('fighting_romo_vax', 'tatooine', bunker.getCellByCellNumber(9), float(-43.5), float(-14), float(-78.9), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(2), float(-3.8), float(0.3), float(2.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(3), float(3.6), float(0.3), float(-3.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(29.8), float(-12), float(25.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(32.7), float(-12), float(35), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(22.9), float(-12), float(30.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(21), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(38.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(6), float(3.5), float(-16), float(53), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(58.8), float(-16), float(61), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(74.4), float(-16), float(66.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(68.3), float(-16), float(79.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(44.6), float(-16), float(82.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(26), float(-16), float(79), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(6.9), float(-16), float(78.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-5.2), float(-16), float(77.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-19.9), float(-16), float(78.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(9), float(32.4), float(-14), float(78.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('fighting_romo_vax', 'tatooine', bunker.getCellByCellNumber(9), float(-43.5), float(-14), float(-78.9), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabba_tp_sand_splitter_cave.py b/scripts/static_spawns/tatooine/jabba_tp_sand_splitter_cave.py index 7e846511..8bfee12f 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_sand_splitter_cave.py +++ b/scripts/static_spawns/tatooine/jabba_tp_sand_splitter_cave.py @@ -15,36 +15,36 @@ def addPlanetSpawns(core, planet): # TODO Check all NPCs for personalized scripting, change format. cave = core.objectService.getObject(long(-466404038393479071)) - - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(1), float(42.6), float(-23.3), float(4.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(41.5), float(-34.4), float(-21.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(2), float(40), float(-37.9), float(-52.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(69.5), float(-43.9), float(-53.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(10), float(68), float(-47.5), float(-72.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(10), float(77.5), float(-43.7), float(-93.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(110.2), float(-42.3), float(-103.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(5), float(111.9), float(-41.4), float(-86.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(95.9), float(-42.3), float(-94.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(2), float(68.9), float(-44.7), float(-11.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(61.8), float(-42.8), float(5.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(74.7), float(-63.9), float(-22.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(3), float(94.5), float(-57.3), float(1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(3), float(106), float(-61.2), float(-18.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(3), float(94.6), float(-66.9), float(-33.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(4), float(107.9), float(-72.4), float(-49.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(4), float(80.5), float(-72.4), float(-65.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(4), float(96.9), float(-72.5), float(-76.4), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(6), float(71.8), float(-69.4), float(-94.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(6), float(83), float(-62.3), float(122.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(7), float(106.5), float(-62.8), float(-124.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(112.1), float(-62.2), float(-92.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(8), float(132.8), float(-62.6), float(-79.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(8), float(132.3), float(-62), float(-114.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(8), float(165.5), float(-62.8), float(-105.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('saul_rouse', 'tatooine', cave.getCellByCellNumber(8), float(156.2), float(-62.6), float(-73.6), float(0), float(0), float(0), float(0), 45)#saul - stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(9), float(186.3), float(-62.1), float(-84.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('erib_kurrugh', 'tatooine', cave.getCellByCellNumber(9), float(205.6), float(-61.9), float(-87.4), float(0), float(0), float(0), float(0), 45) #erib + if cave not None: + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(1), float(42.6), float(-23.3), float(4.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(41.5), float(-34.4), float(-21.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(2), float(40), float(-37.9), float(-52.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(69.5), float(-43.9), float(-53.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(10), float(68), float(-47.5), float(-72.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(10), float(77.5), float(-43.7), float(-93.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(110.2), float(-42.3), float(-103.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(5), float(111.9), float(-41.4), float(-86.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(95.9), float(-42.3), float(-94.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(2), float(68.9), float(-44.7), float(-11.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(61.8), float(-42.8), float(5.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(2), float(74.7), float(-63.9), float(-22.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(3), float(94.5), float(-57.3), float(1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(3), float(106), float(-61.2), float(-18.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(3), float(94.6), float(-66.9), float(-33.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(4), float(107.9), float(-72.4), float(-49.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(4), float(80.5), float(-72.4), float(-65.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(4), float(96.9), float(-72.5), float(-76.4), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(6), float(71.8), float(-69.4), float(-94.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(6), float(83), float(-62.3), float(122.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(7), float(106.5), float(-62.8), float(-124.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(5), float(112.1), float(-62.2), float(-92.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_brute', 'tatooine', cave.getCellByCellNumber(8), float(132.8), float(-62.6), float(-79.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(8), float(132.3), float(-62), float(-114.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sand_splitter_knave', 'tatooine', cave.getCellByCellNumber(8), float(165.5), float(-62.8), float(-105.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('saul_rouse', 'tatooine', cave.getCellByCellNumber(8), float(156.2), float(-62.6), float(-73.6), float(0), float(0), float(0), float(0), 45)#saul + stcSvc.spawnObject('sand_splitter_ruffian', 'tatooine', cave.getCellByCellNumber(9), float(186.3), float(-62.1), float(-84.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('erib_kurrugh', 'tatooine', cave.getCellByCellNumber(9), float(205.6), float(-61.9), float(-87.4), float(0), float(0), float(0), float(0), 45) #erib return diff --git a/scripts/static_spawns/tatooine/jabba_tp_sennex_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_sennex_bunker.py index 119e74d1..bcf684ed 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_sennex_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_sennex_bunker.py @@ -17,69 +17,69 @@ def addPlanetSpawns(core, planet): # TODO Check all NPCs for personalized scripting, change format. bunker = core.objectService.getObject(long(-466404036409557025)) - - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(2), float(-4), float(0.3), float(-0.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(4), float(3.7), float(-4), float(9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(5), float(8.3), float(-12), float(26.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(5), float(-3.4), float(-12), float(30.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(5), float(-2.9), float(-12), float(47.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(5), float(7.4), float(-12), float(51.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(6), float(17.3), float(-14), float(61.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(7), float(17.5), float(-16), float(77), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(7), float(22.3), float(-16), float(71.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(7), float(12.9), float(-16), float(82.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(18), float(-12.1), float(-12), float(93), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(18), float(-17.2), float(-12), float(97.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(18), float(-7.6), float(-12), float(87.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(20), float(-41.5), float(-12), float(89.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(20), float(-40.5), float(-12), float(103.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(20), float(-31), float(-12), float(114.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(21), float(-36.6), float(-12), float(136.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(8), float(18), float(-16), float(105.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(10), float(-3.7), float(-16), float(105.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(10), float(3.8), float(-16), float(114.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(20.2), float(-16), float(116.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(19.9), float(-16), float(126.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(10.4), float(-16), float(136.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(10), float(-2.8), float(-16), float(136.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(-12.7), float(-16), float(125.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(-12.7), float(-16), float(116.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(11), float(-10.9), float(-13), float(151.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(12), float(-26.2), float(-12), float(145.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(12), float(-22.3), float(-12), float(161.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(12), float(-31.4), float(-12), float(161.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(12), float(-26.8), float(-12), float(174), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(13), float(-45.4), float(-15.4), float(150.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(15), float(-67.1), float(-22.4), float(150.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(16), float(-80.9), float(-25.9), float(137.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-76.3), float(-28), float(122.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-100.6), float(-28), float(120.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(17), float(-102.7), float(-28), float(119.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-102.3), float(-28), float(103.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(17), float(-76), float(-28), float(99), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(26), float(-76.6), float(-28), float(69.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(26), float(-76.1), float(-28), float(56.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(26), float(-85.5), float(-28), float(56.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(33), float(-113.2), float(-36), float(77.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(22), float(-16.6), float(-16), float(63.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(23), float(-43.9), float(-24), float(62.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(24), float(-64.1), float(-28), float(62.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(25), float(-65), float(-28), float(-78), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(31), float(-94.4), float(-32.3), float(42.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(31), float(-95), float(-40.3), float(-18.4), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-57.1), float(-44), float(-22.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-57.6), float(-44), float(4.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(32), float(-80.2), float(-44), float(-8.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-100.2), float(-44), float(-20.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(32), float(-100.2), float(-44), float(4.4), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(2), float(-4), float(0.3), float(-0.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(4), float(3.7), float(-4), float(9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(5), float(8.3), float(-12), float(26.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(5), float(-3.4), float(-12), float(30.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(5), float(-2.9), float(-12), float(47.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(5), float(7.4), float(-12), float(51.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(6), float(17.3), float(-14), float(61.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(7), float(17.5), float(-16), float(77), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(7), float(22.3), float(-16), float(71.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(7), float(12.9), float(-16), float(82.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(18), float(-12.1), float(-12), float(93), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(18), float(-17.2), float(-12), float(97.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(18), float(-7.6), float(-12), float(87.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(20), float(-41.5), float(-12), float(89.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(20), float(-40.5), float(-12), float(103.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(20), float(-31), float(-12), float(114.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(21), float(-36.6), float(-12), float(136.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(8), float(18), float(-16), float(105.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(10), float(-3.7), float(-16), float(105.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(10), float(3.8), float(-16), float(114.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(20.2), float(-16), float(116.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(19.9), float(-16), float(126.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(10.4), float(-16), float(136.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(10), float(-2.8), float(-16), float(136.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(-12.7), float(-16), float(125.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(10), float(-12.7), float(-16), float(116.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(11), float(-10.9), float(-13), float(151.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_lookout', 'tatooine', bunker.getCellByCellNumber(12), float(-26.2), float(-12), float(145.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(12), float(-22.3), float(-12), float(161.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(12), float(-31.4), float(-12), float(161.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(12), float(-26.8), float(-12), float(174), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(13), float(-45.4), float(-15.4), float(150.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(15), float(-67.1), float(-22.4), float(150.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(16), float(-80.9), float(-25.9), float(137.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-76.3), float(-28), float(122.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-100.6), float(-28), float(120.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(17), float(-102.7), float(-28), float(119.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(17), float(-102.3), float(-28), float(103.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(17), float(-76), float(-28), float(99), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(26), float(-76.6), float(-28), float(69.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(26), float(-76.1), float(-28), float(56.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(26), float(-85.5), float(-28), float(56.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(33), float(-113.2), float(-36), float(77.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(22), float(-16.6), float(-16), float(63.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(23), float(-43.9), float(-24), float(62.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(24), float(-64.1), float(-28), float(62.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(25), float(-65), float(-28), float(-78), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_hunter', 'tatooine', bunker.getCellByCellNumber(31), float(-94.4), float(-32.3), float(42.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_guard', 'tatooine', bunker.getCellByCellNumber(31), float(-95), float(-40.3), float(-18.4), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-57.1), float(-44), float(-22.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-57.6), float(-44), float(4.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(32), float(-80.2), float(-44), float(-8.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(32), float(-100.2), float(-44), float(-20.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(32), float(-100.2), float(-44), float(4.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-146.1), float(-44), float(76.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(29), float(-146.3), float(-44), float(81), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-141.1), float(-44), float(96.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-153.1), float(-44), float(97.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-164.6), float(-44), float(74.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-165.9), float(-44), float(92.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-146.1), float(-44), float(76.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slaver', 'tatooine', bunker.getCellByCellNumber(29), float(-146.3), float(-44), float(81), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-141.1), float(-44), float(96.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-153.1), float(-44), float(97.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-164.6), float(-44), float(74.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('sennex_slavemaster', 'tatooine', bunker.getCellByCellNumber(29), float(-165.9), float(-44), float(92.4), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabba_tp_valarian_camp_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_valarian_camp_bunker.py index 11550217..cb2c192e 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_valarian_camp_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_valarian_camp_bunker.py @@ -15,22 +15,22 @@ def addPlanetSpawns(core, planet): # TODO Check all NPCs for personalized scripting, change format. bunker = core.objectService.getObject(long(-466404038502638198)) - - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(3), float(-3.7), float(0.3), float(-4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(4), float(-3.2), float(-3.3), float(5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(3.4), float(-6.8), float(-2.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(6.7), float(-6.8), float(-4.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(3.7), float(-6.8), float(-8.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(6), float(4.4), float(-10.3), float(-18.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(6), float(-4), float(-13.8), float(-18.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.3), float(-13.7), float(-10.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.4), float(-13.7), float(-2.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.5), float(-13.7), float(-4.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(8), float(-8.6), float(-13.8), float(12.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(8), float(7.7), float(-13.8), float(12.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(9), float(15.4), float(-13.8), float(14.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(9), float(16), float(-13.8), float(6.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(10), float(15.8), float(-13.8), float(-9.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(10), float(11.9), float(-11.5), float(-21), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(3), float(-3.7), float(0.3), float(-4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(4), float(-3.2), float(-3.3), float(5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(3.4), float(-6.8), float(-2.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(6.7), float(-6.8), float(-4.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(5), float(3.7), float(-6.8), float(-8.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(6), float(4.4), float(-10.3), float(-18.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(6), float(-4), float(-13.8), float(-18.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.3), float(-13.7), float(-10.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.4), float(-13.7), float(-2.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(7), float(-3.5), float(-13.7), float(-4.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(8), float(-8.6), float(-13.8), float(12.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(8), float(7.7), float(-13.8), float(12.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(9), float(15.4), float(-13.8), float(14.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(9), float(16), float(-13.8), float(6.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(10), float(15.8), float(-13.8), float(-9.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_bookie', 'tatooine', bunker.getCellByCellNumber(10), float(11.9), float(-11.5), float(-21), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabba_tp_valarian_hacker_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_valarian_hacker_bunker.py index 39a972fb..f12e8310 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_valarian_hacker_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_valarian_hacker_bunker.py @@ -20,19 +20,19 @@ def addPlanetSpawns(core, planet): stcSvc.spawnObject('valarian_hacker', 'tatooine', long(0), float(-5372.5), float(64.3), float(-6902.4), float(0), float(0), float(0), float(0), 45) bunker = core.objectService.getObject(long(-466404036467088174)) - - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(2), float(-3.7), float(0.3), float(3.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(3), float(3.8), float(-0.3), float(-4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(4), float(3.4), float(-3.3), float(4.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-2), float(-6.8), float(-8.7), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-7.4), float(-6.8), float(-1.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(-7), float(-6.8), float(-14.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(6.7), float(-6.8), float(-14.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(7), float(5), float(-6.8), float(-1.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(8), float(-2), float(-13.8), float(8.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(1.5), float(-13.8), float(-3.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(-6.7), float(-13.8), float(-15.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(2.7), float(-13.8), float(-11.9), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(2), float(-3.7), float(0.3), float(3.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(3), float(3.8), float(-0.3), float(-4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(4), float(3.4), float(-3.3), float(4.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-2), float(-6.8), float(-8.7), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-7.4), float(-6.8), float(-1.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(-7), float(-6.8), float(-14.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(6.7), float(-6.8), float(-14.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(7), float(5), float(-6.8), float(-1.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(8), float(-2), float(-13.8), float(8.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(1.5), float(-13.8), float(-3.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(-6.7), float(-13.8), float(-15.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(2.7), float(-13.8), float(-11.9), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabba_tp_valarian_security_bunker.py b/scripts/static_spawns/tatooine/jabba_tp_valarian_security_bunker.py index bbef7a16..83464367 100644 --- a/scripts/static_spawns/tatooine/jabba_tp_valarian_security_bunker.py +++ b/scripts/static_spawns/tatooine/jabba_tp_valarian_security_bunker.py @@ -23,48 +23,48 @@ def addPlanetSpawns(core, planet): bunker = core.objectService.getObject(long(-466404037065936405)) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(3.1), float(-12), float(31.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(24.9), float(-12), float(46.9), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(4), float(-12), float(54.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(-15.4), float(-12), float(47.1), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-50.4), float(-20), float(38.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-57), float(-20), float(36.8), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-59.6), float(-20), float(44.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-50.7), float(-20), float(66.6), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(8), float(-70.5), float(-20), float(14.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('jabbas_palace_iris_sinclair', 'tatooine', bunker.getCellByCellNumber(8), float(-49.8), float(-20), float(13.1), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(9), float(-70.3), float(-20), float(77.5), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('jabbas_palace_fnast_drexler', 'tatooine', bunker.getCellByCellNumber(9), float(-49), float(-20), float(82.5), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(35.7), float(-12), float(34.3), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(36.2), float(-12), float(77.1), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(12), float(72.5), float(-12), float(58.6), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(11), float(49.8), float(-12), float(83), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('jabbas_palace_arkahn_greystar', 'tatooine', bunker.getCellByCellNumber(11), float(71.6), float(-12), float(83.2), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(36.4), float(-20), float(123.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(19), float(-20), float(122.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('jabbas_palace_emanon', 'tatooine', bunker.getCellByCellNumber(13), float(22.1), float(-20), float(139.4), float(0), float(0), float(0), float(0), 45) + if bunker not None: + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(3.1), float(-12), float(31.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(24.9), float(-12), float(46.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(4), float(-12), float(54.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(-15.4), float(-12), float(47.1), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-50.4), float(-20), float(38.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-57), float(-20), float(36.8), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-59.6), float(-20), float(44.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-50.7), float(-20), float(66.6), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(8), float(-70.5), float(-20), float(14.4), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('jabbas_palace_iris_sinclair', 'tatooine', bunker.getCellByCellNumber(8), float(-49.8), float(-20), float(13.1), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(9), float(-70.3), float(-20), float(77.5), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('jabbas_palace_fnast_drexler', 'tatooine', bunker.getCellByCellNumber(9), float(-49), float(-20), float(82.5), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(35.7), float(-12), float(34.3), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(36.2), float(-12), float(77.1), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(12), float(72.5), float(-12), float(58.6), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(11), float(49.8), float(-12), float(83), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('jabbas_palace_arkahn_greystar', 'tatooine', bunker.getCellByCellNumber(11), float(71.6), float(-12), float(83.2), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(36.4), float(-20), float(123.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(19), float(-20), float(122.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('jabbas_palace_emanon', 'tatooine', bunker.getCellByCellNumber(13), float(22.1), float(-20), float(139.4), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-8.2), float(-20), float(66.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-2.3), float(-20), float(77), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(19), float(-23), float(-20), float(100.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('jabbas_palace_careem', 'tatooine', bunker.getCellByCellNumber(19), float(-22.4), float(-20), float(117.5), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(18), float(-30.7), float(-20), float(49.5), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(16), float(-15.5), float(-20), float(2.9), float(0), float(0), float(0), float(0), 45) - - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(21.1), float(-12), float(-1.2), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(51.6), float(-12), float(24.6), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(58.7), float(-12), float(20.1), float(0), float(0), float(0), float(0), 45) - stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(55.2), float(-12), float(16.9), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-8.2), float(-20), float(66.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-2.3), float(-20), float(77), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(19), float(-23), float(-20), float(100.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('jabbas_palace_careem', 'tatooine', bunker.getCellByCellNumber(19), float(-22.4), float(-20), float(117.5), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(18), float(-30.7), float(-20), float(49.5), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(16), float(-15.5), float(-20), float(2.9), float(0), float(0), float(0), float(0), 45) + + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(21.1), float(-12), float(-1.2), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(51.6), float(-12), float(24.6), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(58.7), float(-12), float(20.1), float(0), float(0), float(0), float(0), 45) + stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(55.2), float(-12), float(16.9), float(0), float(0), float(0), float(0), 45) return diff --git a/scripts/static_spawns/tatooine/jabbas_palace.py b/scripts/static_spawns/tatooine/jabbas_palace.py index 4b1aaa03..16e66e3d 100644 --- a/scripts/static_spawns/tatooine/jabbas_palace.py +++ b/scripts/static_spawns/tatooine/jabbas_palace.py @@ -14,63 +14,63 @@ def addPlanetSpawns(core, planet): objSvc = core.objectService building = core.objectService.getObject(long(-466404040703346823)) - - #reelo baruk - stcSvc.spawnObject('object/mobile/shared_reelo_baruk.iff', 'tatooine', building.getCellByCellNumber(1), float(-3.5), float(0.2), float(113.5), float(0), float(0), float(0), float(0)) - - #Entry Ambient Sounds #TODO: Fix object/soundobject spawning - #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_palace_entrance.iff', 'tatooine', building.getCellByCellNumber(1), float(-3.5), float(0.2), float(113.5), float(0), float(0), float(0), float(0)) - - #ree yees - stcSvc.spawnObject('object/mobile/shared_dressed_gran_thug_male_01.iff', 'tatooine', building.getCellByCellNumber(1), float(5.8), float(0.2), float(115.7), float(-0.71), float(0), float(0.7), float(0)) + if building not None: + #reelo baruk + stcSvc.spawnObject('object/mobile/shared_reelo_baruk.iff', 'tatooine', building.getCellByCellNumber(1), float(-3.5), float(0.2), float(113.5), float(0), float(0), float(0), float(0)) + + #Entry Ambient Sounds #TODO: Fix object/soundobject spawning + #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_palace_entrance.iff', 'tatooine', building.getCellByCellNumber(1), float(-3.5), float(0.2), float(113.5), float(0), float(0), float(0), float(0)) + + #ree yees + stcSvc.spawnObject('object/mobile/shared_dressed_gran_thug_male_01.iff', 'tatooine', building.getCellByCellNumber(1), float(5.8), float(0.2), float(115.7), float(-0.71), float(0), float(0.7), float(0)) - #ephantmon - stcSvc.spawnObject('object/mobile/shared_ephant_mon.iff', 'tatooine', building.getCellByCellNumber(4), float(-6.1), float(5.8), float(86.1), float(0), float(0), float(0), float(0)) + #ephantmon + stcSvc.spawnObject('object/mobile/shared_ephant_mon.iff', 'tatooine', building.getCellByCellNumber(4), float(-6.1), float(5.8), float(86.1), float(0), float(0), float(0), float(0)) - #porcellus - stcSvc.spawnObject('object/mobile/shared_dressed_porcellus.iff', 'tatooine', building.getCellByCellNumber(12), float(-44.0), float(3.0), float(63.4), float(0), float(0), float(0), float(0)) + #porcellus + stcSvc.spawnObject('object/mobile/shared_dressed_porcellus.iff', 'tatooine', building.getCellByCellNumber(12), float(-44.0), float(3.0), float(63.4), float(0), float(0), float(0), float(0)) - #barada - stcSvc.spawnObject('object/mobile/shared_barada.iff', 'tatooine', building.getCellByCellNumber(34), float(31.2), float(0.2), float(-1.0), float(-0.17), float(0), float(0.98), float(0)) + #barada + stcSvc.spawnObject('object/mobile/shared_barada.iff', 'tatooine', building.getCellByCellNumber(34), float(31.2), float(0.2), float(-1.0), float(-0.17), float(0), float(0.98), float(0)) - #Bib Fortuna - stcSvc.spawnObject('object/mobile/shared_bib_fortuna.iff', 'tatooine', building.getCellByCellNumber(22), float(-11.1), float(2.0), float(49.5), float(0.71), float(0), float(0.70), float(0)) - - #Jabba - stcSvc.spawnObject('object/mobile/shared_jabba_the_hutt.iff', 'tatooine', building.getCellByCellNumber(22), float(-17.0), float(2.8), float(44.9), float(0.71), float(0), float(0.70), float(0)) - - #oola - stcSvc.spawnObject('object/mobile/shared_oola.iff', 'tatooine', building.getCellByCellNumber(22), float(-10.3), float(2.0), float(43.9), float(-0.71), float(0), float(0.70), float(0)) + #Bib Fortuna + stcSvc.spawnObject('object/mobile/shared_bib_fortuna.iff', 'tatooine', building.getCellByCellNumber(22), float(-11.1), float(2.0), float(49.5), float(0.71), float(0), float(0.70), float(0)) + + #Jabba + stcSvc.spawnObject('object/mobile/shared_jabba_the_hutt.iff', 'tatooine', building.getCellByCellNumber(22), float(-17.0), float(2.8), float(44.9), float(0.71), float(0), float(0.70), float(0)) + + #oola + stcSvc.spawnObject('object/mobile/shared_oola.iff', 'tatooine', building.getCellByCellNumber(22), float(-10.3), float(2.0), float(43.9), float(-0.71), float(0), float(0.70), float(0)) - #Ambient Sound - #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_audience_chamber.iff', 'tatooine', building.getCellByCellNumber(22), float(-10.3), float(2.0), float(43.9), float(-0.9), float(0), float(0.42), float(0)) + #Ambient Sound + #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_audience_chamber.iff', 'tatooine', building.getCellByCellNumber(22), float(-10.3), float(2.0), float(43.9), float(-0.9), float(0), float(0.42), float(0)) - #Boba Fett - stcSvc.spawnObject('object/mobile/shared_boba_fett.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.0), float(3.0), float(33.1), float(0), float(0), float(0), float(0)) + #Boba Fett + stcSvc.spawnObject('object/mobile/shared_boba_fett.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.0), float(3.0), float(33.1), float(0), float(0), float(0), float(0)) - #EV9D9 - stcSvc.spawnObject('object/mobile/shared_ev_9d9.iff', 'tatooine', building.getCellByCellNumber(14), float(23.1), float(0.2), float(87.8), float(0), float(0), float(1.0), float(0)) - - #malakili - stcSvc.spawnObject('object/mobile/shared_malakili.iff', 'tatooine', building.getCellByCellNumber(37), float(17.3), float(-11.0), float(43.8), float(0), float(0), float(0), float(0)) + #EV9D9 + stcSvc.spawnObject('object/mobile/shared_ev_9d9.iff', 'tatooine', building.getCellByCellNumber(14), float(23.1), float(0.2), float(87.8), float(0), float(0), float(1.0), float(0)) + + #malakili + stcSvc.spawnObject('object/mobile/shared_malakili.iff', 'tatooine', building.getCellByCellNumber(37), float(17.3), float(-11.0), float(43.8), float(0), float(0), float(0), float(0)) - #Jabba Rancor - stcSvc.spawnObject('object/mobile/shared_rancor_static.iff', 'tatooine', building.getCellByCellNumber(38), float(0), float(-11.0), float(43.8), float(-0.9), float(0), float(0.42), float(0)) - - #Max Rebo - stcSvc.spawnObject('object/mobile/shared_max_rebo.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(26.9), float(-0.9), float(0), float(0.42), float(0)) + #Jabba Rancor + stcSvc.spawnObject('object/mobile/shared_rancor_static.iff', 'tatooine', building.getCellByCellNumber(38), float(0), float(-11.0), float(43.8), float(-0.9), float(0), float(0.42), float(0)) + + #Max Rebo + stcSvc.spawnObject('object/mobile/shared_max_rebo.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(26.9), float(-0.9), float(0), float(0.42), float(0)) - #Music - #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_max_rebo_band.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(26.9), float(-0.9), float(0), float(0.42), float(0)) + #Music + #stcSvc.spawnObject('object/soundobject/shared_soundobject_jabba_max_rebo_band.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(26.9), float(-0.9), float(0), float(0.42), float(0)) - #Droopy Mccool - stcSvc.spawnObject('object/mobile/shared_droopy_mccool.iff', 'tatooine', building.getCellByCellNumber(22), float(-3.9), float(3.0), float(26.1), float(-0.9), float(0), float(0.42), float(0)) - - #Sy Snootles - stcSvc.spawnObject('object/mobile/shared_sy_snootles.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(29.8), float(-0.1), float(0), float(0.42), float(0)) + #Droopy Mccool + stcSvc.spawnObject('object/mobile/shared_droopy_mccool.iff', 'tatooine', building.getCellByCellNumber(22), float(-3.9), float(3.0), float(26.1), float(-0.9), float(0), float(0.42), float(0)) + + #Sy Snootles + stcSvc.spawnObject('object/mobile/shared_sy_snootles.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.4), float(3.0), float(29.8), float(-0.1), float(0), float(0.42), float(0)) - # G5P0 - stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', building.getCellByCellNumber(22), float(-14.3), float(2.0), float(47.4), float(0.71), float(0), float(0.70), float(0)) + # G5P0 + stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', building.getCellByCellNumber(22), float(-14.3), float(2.0), float(47.4), float(0.71), float(0), float(0.70), float(0)) #outside Palace diff --git a/scripts/static_spawns/tatooine/mos_eisley.py b/scripts/static_spawns/tatooine/mos_eisley.py index ff0e6c6e..16c7032c 100644 --- a/scripts/static_spawns/tatooine/mos_eisley.py +++ b/scripts/static_spawns/tatooine/mos_eisley.py @@ -100,14 +100,16 @@ def addPlanetSpawns(core, planet): #Eisley Legacy Quest NPCs building = core.objectService.getObject(long(1279956)) - mayor = stcSvc.spawnObject('mos_eisley_mayor', 'tatooine', building.getCellByCellNumber(4), float(1.2), float(2.5), float(5.4), float(0), float(0), float(0), float(0)) + if building not None: + mayor = stcSvc.spawnObject('mos_eisley_mayor', 'tatooine', building.getCellByCellNumber(4), float(1.2), float(2.5), float(5.4), float(0), float(0), float(0), float(0)) enthaKandela = stcSvc.spawnObject('enthakandela', 'tatooine', long(0), float(3511), float(5.0), float(-4785), float(0.70), float(0.71)) purvis = stcSvc.spawnObject('purvisarrison', 'tatooine', long(0), float(3512.4), float(5.0), float(-4764.9), float(0.38), float(-0.92)) building = core.objectService.getObject(long(1189630)) - peawpRdawc = stcSvc.spawnObject('peawprdawc', 'tatooine', building.getCellByCellNumber(9), float(-11.8), float(1.1), float(-10.1), float(0), float(0), float(0), float(0)) + if building not None: + peawpRdawc = stcSvc.spawnObject('peawprdawc', 'tatooine', building.getCellByCellNumber(9), float(-11.8), float(1.1), float(-10.1), float(0), float(0), float(0), float(0)) nikoBrehe = stcSvc.spawnObject('nikobrehe', 'tatooine', long(0), float(3506.7), float(5.0), float(-4795.8), float(0.70), float(0.71)) @@ -156,28 +158,29 @@ def addPlanetSpawns(core, planet): # Looped Patrol must end in same cell like the start point!!! #building id: 1105845 Buildingid + cell ! - trehla = stcSvc.spawnObject('trehla', 'tatooine', long(1105845 + 8), float(24.21), float(2.12), float(73.49), float(0.92), float(0), float(-0.38), float(0)) - patrolpointsCells = Vector() # Vector Building reference Patrolpoint CellID - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(25.11), float(2.10), float(50.22)), 7) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(21.25), float(0.6), float(45.51)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-11.78), float(0.59), float(45.78)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-13.67), float(2.6), float(18.27)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-6.63), float(2.6), float(17.87)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-6.74), float(2.6), float(1.60)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-17.92), float(0.6), float(1.88)), 5) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-18.21), float(0.6), float(9.40)), 5) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-24.18), float(0.6), float(9.40)), 5) - - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-24.50), float(0.6), float(-4.08)), 2) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(0.03), float(0.6), float(-4.36)), 1) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(25.03), float(0.6), float(-4.10)), 3) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(24.38), float(0.6), float(9.42)), 3) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(17.98), float(0.6), float(9.14)), 4) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(5.44), float(2.6), float(2.33)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(9.3), float(2.6), float(18.64)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(14.65), float(0.92), float(40.72)), 6) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(23.9), float(0.93), float(48.22)), 7) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(26.64), float(2.12), float(57.42)), 7) - aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(27.64), float(2.12), float(70.07)), 8) - aiSvc.setPatrol(trehla, patrolpointsCells) + if building not None: + trehla = stcSvc.spawnObject('trehla', 'tatooine', long(1105845 + 8), float(24.21), float(2.12), float(73.49), float(0.92), float(0), float(-0.38), float(0)) + patrolpointsCells = Vector() # Vector Building reference Patrolpoint CellID + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(25.11), float(2.10), float(50.22)), 7) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(21.25), float(0.6), float(45.51)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-11.78), float(0.59), float(45.78)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-13.67), float(2.6), float(18.27)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-6.63), float(2.6), float(17.87)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-6.74), float(2.6), float(1.60)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-17.92), float(0.6), float(1.88)), 5) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-18.21), float(0.6), float(9.40)), 5) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-24.18), float(0.6), float(9.40)), 5) + + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(-24.50), float(0.6), float(-4.08)), 2) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(0.03), float(0.6), float(-4.36)), 1) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(25.03), float(0.6), float(-4.10)), 3) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(24.38), float(0.6), float(9.42)), 3) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(17.98), float(0.6), float(9.14)), 4) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(5.44), float(2.6), float(2.33)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(9.3), float(2.6), float(18.64)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(14.65), float(0.92), float(40.72)), 6) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(23.9), float(0.93), float(48.22)), 7) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(26.64), float(2.12), float(57.42)), 7) + aiSvc.addPatrolPointCell(patrolpointsCells, trehla.getGrandparent(), Point3D(float(27.64), float(2.12), float(70.07)), 8) + aiSvc.setPatrol(trehla, patrolpointsCells) return \ No newline at end of file