From 46300de11594d36cb806855f429fefb242516bac Mon Sep 17 00:00:00 2001 From: tacef Date: Sat, 26 Jul 2014 16:52:47 +0200 Subject: [PATCH 1/2] Added Aurellian Contact to Mos Eisley SP --- .../aurillian_contact/aurillian_contact.py | 37 +++++++++++++++++++ .../tatooine/mos_eisley_starport.py | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py diff --git a/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py b/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py new file mode 100644 index 00000000..0cbaf738 --- /dev/null +++ b/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py @@ -0,0 +1,37 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('nexus_travel_01') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE | Options.CONVERSABLE) + #mobileTemplate.setConversationFileName('aurellian_contact') + + templates = Vector() + templates.add('object/mobile/shared_nexus_travel_01.iff') + templates.add('object/mobile/shared_nexus_travel_02.iff') + templates.add('object/mobile/shared_nexus_travel_03.iff') + + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('aurilliancontact', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_starport.py b/scripts/static_spawns/tatooine/mos_eisley_starport.py index 352414b0..12cd26b8 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_starport.py +++ b/scripts/static_spawns/tatooine/mos_eisley_starport.py @@ -23,7 +23,7 @@ def addPlanetSpawns(core, planet): commoner3 = stcSvc.spawnObject('commoner', 'tatooine', starport.getCellByCellNumber(long(7)), float(39.47), float(0.64), float(36), float(0.790), float(0), float(-0.614), float(0)) commoner4 = stcSvc.spawnObject('commoner', 'tatooine', starport.getCellByCellNumber(long(7)), float(52.8), float(0.64), float(47.47), float(0.723), float(0), float(-0.691), float(0)) commoner5 = stcSvc.spawnObject('commoner', 'tatooine', starport.getCellByCellNumber(long(7)), float(42.48), float(-0.52), float(32.32), float(0.115), float(0), float(0.993), float(0)) - commoner6 = stcSvc.spawnObject('commoner', 'tatooine', starport.getCellByCellNumber(long(7)), float(54.38), float(-0.52), float(42.25), float(0.631), float(0), float(0.776), float(0)) + commoner6 = stcSvc.spawnObject('aurilliancontact', 'tatooine', starport.getCellByCellNumber(long(7)), float(54.38), float(-0.52), float(42.25), float(0.631), float(0), float(0.776), float(0)) jawa1 = stcSvc.spawnObject('staticjawa', 'tatooine', long(0), float(3654.96), float(5), float(-4766.49), float(0.439), float(0), float(0.898), float(0)) jawa2 = stcSvc.spawnObject('staticjawa', 'tatooine', long(0), float(3655.17), float(5), float(-4768.71), float(0.902), float(0), float(-0.430), float(0)) From 19826688276a0191ce99a42c1ec9c246a8f1f29f Mon Sep 17 00:00:00 2001 From: tacef Date: Fri, 1 Aug 2014 18:19:43 +0200 Subject: [PATCH 2/2] Added Aurillian Contact NPC script Added Navatrik NPC script Added Alduq NPC script Added Kazen Harn NPC script Added Nikto NPC script Populated Mos Eisley Cantina (need to fix sit in Chair) Populated Mos Eisley Medical Center --- .../aurillian_contact/aurillian_contact.py | 2 +- .../generic/static/community/navaritrik.py | 37 +++++++ .../mobiles/generic/static/tatooine/alduq.py | 34 +++++++ .../mobiles/generic/static/tatooine/allura.py | 33 +++++++ .../generic/static/tatooine/kazenharn.py | 33 +++++++ .../mobiles/generic/static/tatooine/nikto.py | 33 +++++++ scripts/static_spawns/tatooine/mos_eisley.py | 79 +++------------ .../tatooine/mos_eisley_cantina.py | 98 +++++++++++++++++++ .../tatooine/mos_eisley_medical_center.py | 3 +- 9 files changed, 284 insertions(+), 68 deletions(-) create mode 100644 scripts/mobiles/generic/static/community/navaritrik.py create mode 100644 scripts/mobiles/generic/static/tatooine/alduq.py create mode 100644 scripts/mobiles/generic/static/tatooine/allura.py create mode 100644 scripts/mobiles/generic/static/tatooine/kazenharn.py create mode 100644 scripts/mobiles/generic/static/tatooine/nikto.py create mode 100644 scripts/static_spawns/tatooine/mos_eisley_cantina.py diff --git a/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py b/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py index 0cbaf738..b0aafea6 100644 --- a/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py +++ b/scripts/mobiles/generic/static/aurillian_contact/aurillian_contact.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setSocialGroup("township") - mobileTemplate.setOptionsBitmask(Options.INVULNERABLE | Options.CONVERSABLE) + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) #mobileTemplate.setConversationFileName('aurellian_contact') templates = Vector() diff --git a/scripts/mobiles/generic/static/community/navaritrik.py b/scripts/mobiles/generic/static/community/navaritrik.py new file mode 100644 index 00000000..8e0c77c1 --- /dev/null +++ b/scripts/mobiles/generic/static/community/navaritrik.py @@ -0,0 +1,37 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('community_painting_handout_2008') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) + #mobileTemplate.setConversationFileName('aurellian_contact') + + templates = Vector() + templates.add('object/mobile/shared_dressed_noble_human_female_01.iff') + templates.add('object/mobile/shared_dressed_noble_human_female_02.iff') + templates.add('object/mobile/shared_dressed_noble_human_female_03.iff') + templates.add('object/mobile/shared_dressed_noble_human_female_04.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('navaritrik', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/generic/static/tatooine/alduq.py b/scripts/mobiles/generic/static/tatooine/alduq.py new file mode 100644 index 00000000..82377e29 --- /dev/null +++ b/scripts/mobiles/generic/static/tatooine/alduq.py @@ -0,0 +1,34 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCustomName('Alduq Besene') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) + + templates = Vector() + templates.add('object/mobile/shared_dressed_thug_lackey.iff') + mobileTemplate.setTemplates(templates) + + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('alduq', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/generic/static/tatooine/allura.py b/scripts/mobiles/generic/static/tatooine/allura.py new file mode 100644 index 00000000..a622d1df --- /dev/null +++ b/scripts/mobiles/generic/static/tatooine/allura.py @@ -0,0 +1,33 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCustomName('Allura') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) + + templates = Vector() + templates.add('object/mobile/shared_dressed_entertainer_trainer_human_female_01.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('allura', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/generic/static/tatooine/kazenharn.py b/scripts/mobiles/generic/static/tatooine/kazenharn.py new file mode 100644 index 00000000..ad3daf4b --- /dev/null +++ b/scripts/mobiles/generic/static/tatooine/kazenharn.py @@ -0,0 +1,33 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCustomName('Kazen Harn') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) + + templates = Vector() + templates.add('object/mobile/shared_dressed_corsec_detective_human_male_01.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('kazenharn', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/generic/static/tatooine/nikto.py b/scripts/mobiles/generic/static/tatooine/nikto.py new file mode 100644 index 00000000..2b9f93d3 --- /dev/null +++ b/scripts/mobiles/generic/static/tatooine/nikto.py @@ -0,0 +1,33 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCustomName('a Nikto') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + mobileTemplate.setSocialGroup("township") + mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) + + templates = Vector() + templates.add('object/mobile/shared_dressed_sith_shadow_nikto_m_01.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('nikto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley.py b/scripts/static_spawns/tatooine/mos_eisley.py index 8f248d8d..e1429082 100644 --- a/scripts/static_spawns/tatooine/mos_eisley.py +++ b/scripts/static_spawns/tatooine/mos_eisley.py @@ -13,73 +13,10 @@ def addPlanetSpawns(core, planet): stcSvc = core.staticService objSvc = core.objectService aiSvc = core.aiService - - # TODO: Add NPCs sitting at Cantina tables with SittingOnChair bitmask. + #Eisley Ship Controller stcSvc.spawnObject('object/mobile/shared_distant_ship_controller.iff', 'tatooine', long(0), float(3542.3), float(5.0), float(-4826.0), float(0.42), float(0.91)) - #Cantina Interior - building = core.objectService.getObject(long(1082874)) - wuher = stcSvc.spawnObject('wuher', 'tatooine', building.getCellByCellNumber(3), float(8.6), float(-0.9), float(0.4), float(0), float(0.71), float(0), float(0.71)) - - chadraFanFemale = stcSvc.spawnObject('chadrafanfemale', 'tatooine', building.getCellByCellNumber(3), float(10.6), float(-0.9), float(-1.5), float(0), float(0.42), float(0), float(0.90)) - - chadraFanMale = stcSvc.spawnObject('chadrafanmale', 'tatooine', building.getCellByCellNumber(3), float(10.7), float(-0.9), float(-0.3), float(0), float(0.64), float(0), float(0.77)) - - muftak = stcSvc.spawnObject('muftak', 'tatooine', building.getCellByCellNumber(3), float(20.3), float(-0.9), float(4.9), float(0), float(0.82), float(0), float(0.57)) - - chissMale1 = stcSvc.spawnObject('chissmale', 'tatooine', building.getCellByCellNumber(3), float(1.7), float(-0.9), float(-5.0), float(0), float(0.71), float(0), float(0.71)) - - chissMale2 = stcSvc.spawnObject('chissmale', 'tatooine', building.getCellByCellNumber(3), float(3.4), float(-0.9), float(-4.8), float(0), float(0), float(0), float(0)) - - cantinaStorm = stcSvc.spawnObject('staticstorm', 'tatooine', building.getCellByCellNumber(3), float(2.9), float(-0.9), float(-6.5), float(0), float(0.71), float(0), float(0.71)) - - cantinaStormL = stcSvc.spawnObject('staticstorml', 'tatooine', building.getCellByCellNumber(3), float(3.6), float(-0.9), float(-7.9), float(0), float(0.71), float(0), float(0.71)) - - businessman1 = stcSvc.spawnObject('businessman', 'tatooine', building.getCellByCellNumber(3), float(11.0), float(-0.9), float(2.1), float(0), float(0.38), float(0), float(-0.92)) - - commoner1 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(10.3), float(-0.9), float(2.7), float(0), float(0.82), float(0), float(0.57)) - - entertainer1 = stcSvc.spawnObject('entertainer', 'tatooine', building.getCellByCellNumber(3), float(9.4), float(-0.9), float(3.9), float(0), float(0.38), float(0), float(-0.92)) - - noble1 = stcSvc.spawnObject('noble', 'tatooine', building.getCellByCellNumber(3), float(8.6), float(-0.9), float(4.8), float(0), float(0.82), float(0), float(0.57)) - - commoner2 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(4.1), float(-0.9), float(5.7), float(0), float(1), float(0), float(0)) - - commoner3 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(3.1), float(-0.9), float(5.9), float(0), float(1), float(0), float(0)) - - commoner4 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(1.7), float(-0.9), float(6.0), float(0), float(1), float(0), float(0)) - - commoner5 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(-0.4), float(-0.9), float(5.9), float(0), float(1), float(0), float(0)) - - commoner6 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(16.0), float(-0.9), float(4.1), float(0), float(0), float(0), float(0)) - - commoner7 = stcSvc.spawnObject('patron', 'tatooine', building.getCellByCellNumber(3), float(8.8), float(-0.9), float(-6.0), float(0), float(0.98), float(0), float(-0.22)) - - commoner8 = stcSvc.spawnObject('patron', 'tatooine', building.getCellByCellNumber(3), float(6.8), float(-0.9), float(-6.5), float(0), float(0.98), float(0), float(-0.22)) - - commoner9 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(1.1), float(-0.9), float(-7.7), float(0), float(0.42), float(0), float(0.91)) - - commoner10 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(2.1), float(-0.9), float(-8.4), float(0), float(0.42), float(0), float(0.91)) - - anetiaKahryn = stcSvc.spawnObject('anetiakahyn', 'tatooine', building.getCellByCellNumber(4), float(19.8), float(-0.9), float(-21), float(0), float(-0.03), float(0), float(0.99)) - - figrinDan = stcSvc.spawnObject('firgindan', 'tatooine', building.getCellByCellNumber(6), float(3.7), float(-0.9), float(-14.4), float(0), float(0.42), float(0), float(0.91)) - - techMor = stcSvc.spawnObject('techmor', 'tatooine', building.getCellByCellNumber(6), float(4.0), float(-0.9), float(-17.0), float(0), float(0.42), float(0), float(0.91)) - - doikkNats = stcSvc.spawnObject('doikknats', 'tatooine', building.getCellByCellNumber(6), float(2.2), float(-0.9), float(-16.4), float(0), float(0.42), float(0), float(0.91)) - - tednDahai = stcSvc.spawnObject('tedndahai', 'tatooine', building.getCellByCellNumber(6), float(1.3), float(-0.9), float(-15.2), float(0), float(0.42), float(0), float(0.91)) - - nalanCheel = stcSvc.spawnObject('nalancheel', 'tatooine', building.getCellByCellNumber(6), float(0.5), float(-0.9), float(-17.1), float(0), float(0.42), float(0), float(0.91)) - - dravis = stcSvc.spawnObject('dravis', 'tatooine', building.getCellByCellNumber(12), float(-21.7), float(-0.9), float(25.5), float(0), float(0.99), float(0), float(0.03)) - - talonKarrde = stcSvc.spawnObject('talonkarrde', 'tatooine', building.getCellByCellNumber(13), float(-25.7), float(-0.5), float(8.8), float(0), float(0.21), float(0), float(0.97)) - - #Miscellaneous Building Interiors - #Outside businessman2 = stcSvc.spawnObject('businessman', 'tatooine', long(0), float(3663.3), float(4.0), float(-4738.6), float(0), float(0)) @@ -148,10 +85,20 @@ def addPlanetSpawns(core, planet): vanvi = stcSvc.spawnObject('vanvihotn', 'tatooine', long(0), float(3312), float(5), float(-4655), float(0.95), float(-0.28)) - harburik = stcSvc.spawnObject('haburik', 'tatooine', long(0), float(3486), float(5), float(-4740), float(0), float(-0.71), float(0), float(0.71)) + harburik = stcSvc.spawnObject('haburik', 'tatooine', long(0), float(3486), float(5), float(-4740), float(-0.71), float(0), float(0.71), float(0)) - trehla = stcSvc.spawnObject('trehla', 'tatooine', long(0), float(3484), float(5), float(-4808), float(0), float(0.92), float(0), float(-0.38)) + trehla = stcSvc.spawnObject('trehla', 'tatooine', long(0), float(3484), float(5), float(-4808), float(0.92), float(0), float(-0.38), float(0)) + navari = stcSvc.spawnObject('navaritrik', 'tatooine', long(0), float(3484), float(5), float(-4786.92), float(0.491), float(0), float(0.871), float(0)) + + commoner18 = stcSvc.spawnCommoner('commoner', 'tatooine', long(0), float(3476.88), float(5.0), float(-4846.14), float(0.365), float(0), float(0.931), float(0)) + + commoner19 = stcSvc.spawnCommoner('commoner', 'tatooine', long(0), float(3453.89), float(4.17), float(-4898.59), float(983), float(0), float(0.185), float(0)) + + entertainer2 = stcSvc.spawnObject('entertainer', 'tatooine', long(0), float(3491.70), float(5.0), float(-4871.27), float(-0.430), float(0.903)) + + alduq = stcSvc.spawnObject('alduq', 'tatooine', long(0), float(3512), float(5.0), float(-4814), float(-0.164), float(0.986)) + #Eisley Legacy Quest NPCs vourk = stcSvc.spawnObject('vourk', 'tatooine', long(0), float(3520.0), float(5.0), float(-4821.0), float(0.42), float(0.91)) diff --git a/scripts/static_spawns/tatooine/mos_eisley_cantina.py b/scripts/static_spawns/tatooine/mos_eisley_cantina.py new file mode 100644 index 00000000..b5447ddf --- /dev/null +++ b/scripts/static_spawns/tatooine/mos_eisley_cantina.py @@ -0,0 +1,98 @@ +# Project SWG: Mos Eisley Cantina : Static Spawns +# (C)2014 ProjectSWG + +import sys +from resources.datatables import Options +from resources.datatables import State +from resources.datatables import StateStatus +from protocol.swg.objectControllerObjects import SitOnObject +from protocol.swg import ObjControllerMessage + +def addPlanetSpawns(core, planet): + + stcSvc = core.staticService + objSvc = core.objectService + + # TODO: Add NPCs sitting at Cantina tables with SittingOnChair bitmask. + #Cantina Interior + building = core.objectService.getObject(long(1082874)) + wuher = stcSvc.spawnObject('wuher', 'tatooine', building.getCellByCellNumber(3), float(8.6), float(-0.9), float(0.4), float(0), float(0.71), float(0), float(0.71)) + + chadraFanFemale = stcSvc.spawnObject('chadrafanfemale', 'tatooine', building.getCellByCellNumber(3), float(10.6), float(-0.9), float(-1.5), float(0), float(0.42), float(0), float(0.90)) + + chadraFanMale = stcSvc.spawnObject('chadrafanmale', 'tatooine', building.getCellByCellNumber(3), float(10.7), float(-0.9), float(-0.3), float(0), float(0.64), float(0), float(0.77)) + + muftak = stcSvc.spawnObject('muftak', 'tatooine', building.getCellByCellNumber(3), float(20.3), float(-0.9), float(4.9), float(0), float(0.82), float(0), float(0.57)) + + chissMale1 = stcSvc.spawnObject('chissmale', 'tatooine', building.getCellByCellNumber(3), float(1.7), float(-0.9), float(-5.0), float(0), float(0.71), float(0), float(0.71)) + + chissMale2 = stcSvc.spawnObject('chissmale', 'tatooine', building.getCellByCellNumber(3), float(3.4), float(-0.9), float(-4.8), float(0), float(0), float(0), float(0)) + + cantinaStorm = stcSvc.spawnObject('staticstorm', 'tatooine', building.getCellByCellNumber(3), float(2.9), float(-0.9), float(-6.5), float(0), float(0.71), float(0), float(0.71)) + + cantinaStormL = stcSvc.spawnObject('staticstorml', 'tatooine', building.getCellByCellNumber(3), float(3.6), float(-0.9), float(-7.9), float(0), float(0.71), float(0), float(0.71)) + + businessman1 = stcSvc.spawnObject('businessman', 'tatooine', building.getCellByCellNumber(3), float(11.0), float(-0.9), float(2.1), float(0), float(0.38), float(0), float(-0.92)) + + commoner1 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(10.3), float(-0.9), float(2.7), float(0), float(0.82), float(0), float(0.57)) + + entertainer1 = stcSvc.spawnObject('entertainer', 'tatooine', building.getCellByCellNumber(3), float(9.4), float(-0.9), float(3.9), float(0), float(0.38), float(0), float(-0.92)) + + noble1 = stcSvc.spawnObject('noble', 'tatooine', building.getCellByCellNumber(3), float(8.6), float(-0.9), float(4.8), float(0), float(0.82), float(0), float(0.57)) + + commoner2 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(4.1), float(-0.9), float(5.7), float(0), float(1), float(0), float(0)) + + commoner3 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(3.1), float(-0.9), float(5.9), float(0), float(1), float(0), float(0)) + + commoner4 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(1.7), float(-0.9), float(6.0), float(0), float(1), float(0), float(0)) + + commoner5 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(-0.4), float(-0.9), float(5.9), float(0), float(1), float(0), float(0)) + + commoner6 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(16.0), float(-0.9), float(4.1), float(0), float(0), float(0), float(0)) + + commoner7 = stcSvc.spawnObject('patron', 'tatooine', building.getCellByCellNumber(3), float(8.8), float(-0.9), float(-6.0), float(0), float(0.98), float(0), float(-0.22)) + + commoner8 = stcSvc.spawnObject('patron', 'tatooine', building.getCellByCellNumber(3), float(6.8), float(-0.9), float(-6.5), float(0), float(0.98), float(0), float(-0.22)) + + commoner9 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(1.1), float(-0.9), float(-7.7), float(0), float(0.42), float(0), float(0.91)) + + commoner10 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(2.1), float(-0.9), float(-8.4), float(0), float(0.42), float(0), float(0.91)) + + anetiaKahryn = stcSvc.spawnObject('anetiakahyn', 'tatooine', building.getCellByCellNumber(4), float(19.8), float(-0.9), float(-21), float(0), float(-0.03), float(0), float(0.99)) + + allura = stcSvc.spawnObject('allura', 'tatooine', building.getCellByCellNumber(2), float(31.35), float(0.105), float(0.871), float(0.706), float(0), float(0.708), float(0)) + + + figrinDan = stcSvc.spawnObject('firgindan', 'tatooine', building.getCellByCellNumber(6), float(3.7), float(-0.9), float(-14.4), float(0), float(0.42), float(0), float(0.91)) + + techMor = stcSvc.spawnObject('techmor', 'tatooine', building.getCellByCellNumber(6), float(4.0), float(-0.9), float(-17.0), float(0), float(0.42), float(0), float(0.91)) + + doikkNats = stcSvc.spawnObject('doikknats', 'tatooine', building.getCellByCellNumber(6), float(2.2), float(-0.9), float(-16.4), float(0), float(0.42), float(0), float(0.91)) + + tednDahai = stcSvc.spawnObject('tedndahai', 'tatooine', building.getCellByCellNumber(6), float(1.3), float(-0.9), float(-15.2), float(0), float(0.42), float(0), float(0.91)) + + nalanCheel = stcSvc.spawnObject('nalancheel', 'tatooine', building.getCellByCellNumber(6), float(0.5), float(-0.9), float(-17.1), float(0), float(0.42), float(0), float(0.91)) + + dravis = stcSvc.spawnObject('dravis', 'tatooine', building.getCellByCellNumber(12), float(-21.7), float(-0.9), float(25.5), float(0), float(0.99), float(0), float(0.03)) + + talonKarrde = stcSvc.spawnObject('talonkarrde', 'tatooine', building.getCellByCellNumber(13), float(-25.7), float(-0.5), float(8.8), float(0), float(0.21), float(0), float(0.97)) + + commoner11 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(2), float(30.96), float(0.105), float(-8.33), float(0.999), float(0), float(0.042), float(0)) + + patron1 = stcSvc.spawnObject('patron', 'tatooine', building.getCellByCellNumber(2), float(29.95), float(0.105), float(-7.26), float(0.861), float(0), float(0.509), float(0)) + + commoner12 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(2), float(29.89), float(0.105), float(-6.30), float(0.574), float(0), float(0.819), float(0)) + + commoner13 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(2), float(35.78), float(0.105), float(0.955), float(0.865), float(0), float(-0.501), float(0)) + + commoner14 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(2), float(35.45), float(0.105), float(2.77), float(-0.148), float(0), float(0.989), float(0)) + + nikto = stcSvc.spawnObject('nikto', 'tatooine', building.getCellByCellNumber(3), float(22.94), float(-0.895), float(4.72), float(-0.566), float(0), float(0.824), float(0)) + + commoner15 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(22.12), float(-0.895), float(3.62), float(0.981), float(0), float(-0.192), float(0)) + commoner16 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(16.63), float(-0.895), float(6.43), float(-0.297), float(0), float(0.955), float(0)) + commoner17 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(15.45), float(-0.895), float(2.91), float(-0.053), float(0), float(0.999), float(0)) + commoner18 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(24.79), float(-0.895), float(-7.86), float(0.934), float(0), float(0.358), float(0)) + commoner19 = stcSvc.spawnObject('commoner', 'tatooine', building.getCellByCellNumber(3), float(25.93), float(-0.895), float(-7.82), float(0.883), float(0), float(-0.469), float(0)) + return + \ No newline at end of file diff --git a/scripts/static_spawns/tatooine/mos_eisley_medical_center.py b/scripts/static_spawns/tatooine/mos_eisley_medical_center.py index 86623045..b201c06a 100644 --- a/scripts/static_spawns/tatooine/mos_eisley_medical_center.py +++ b/scripts/static_spawns/tatooine/mos_eisley_medical_center.py @@ -16,8 +16,9 @@ def addPlanetSpawns(core, planet): # TODO Check all NPCs for personalized scripting, change format. cloner2 = core.objectService.getObject(long(9655494)) - stcSvc.spawnObject('object/mobile/shared_21b_surgical_droid.iff', 'tatooine', cloner2.getCellByCellNumber(2), float(-0.4), float(0.2), float(-2.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/mobile/shared_21b_surgical_droid.iff', 'tatooine', cloner2.getCellByCellNumber(2), float(-0.4), float(0.2), float(-2.5), float(-0.694), float(0), float(0.720), float(0)) + stcSvc.spawnObject('kazenharn', 'tatooine', cloner2.getCellByCellNumber(2), float(-0.381), float(0.2), float(-2.31), float(0.973), float(0), float(0.231), float(0)) return