mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-12 02:13:48 -04:00
More Work on Jabba TP Locations
fixed Dune Lizards (should now spit) populated dune lizard spot outside jabba's palace added Smuggler pilot outside of Jabba's palace
This commit is contained in:
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('dune_lizard')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setMinLevel(18)
|
||||
mobileTemplate.setMaxLevel(19)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
@@ -36,12 +34,12 @@ def addTemplate(core):
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic')
|
||||
weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', WeaponType.UNARMED, 1.0, 24, 'kinetic')
|
||||
weaponTemplates.add(weapontemplate)
|
||||
mobileTemplate.setWeaponTemplateVector(weaponTemplates)
|
||||
|
||||
attacks = Vector()
|
||||
mobileTemplate.setDefaultAttack('creatureMeleeAttack')
|
||||
mobileTemplate.setDefaultAttack('creatureRangedAttack')
|
||||
mobileTemplate.setAttacks(attacks)
|
||||
|
||||
core.spawnService.addMobileTemplate('dune_lizard', mobileTemplate)
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Dune Lizards: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
|
||||
# TODO Check all NPCs for personalized scripting, change format.
|
||||
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5884.1), float(49.9), float(-5956.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5903.1), float(49.4), float(-5938.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5885.3), float(49.5), float(-5929.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5857), float(54.4), float(-5942), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5846.1), float(55.1), float(-5928.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5899.2), float(51.3), float(-5983.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5907.9), float(52.3), float(-5964), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5892.8), float(50.6), float(-5941.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5871.8), float(52), float(-5934.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5855.2), float(52.2), float(-5915.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5864.4), float(49.1), float(-5903.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5882.5), float(49.1), float(-5907.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5899.4), float(48.1), float(-5916.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5874.3), float(50.9), float(-5949.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5869.3), float(48.9), float(-5962.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5868.7), float(45.8), float(-5975.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5882.9), float(47.6), float(-5975.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dune_lizard', 'tatooine', long(0), float(-5876), float(45.1), float(-5989.7), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
@@ -72,5 +72,10 @@ def addPlanetSpawns(core, planet):
|
||||
# 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
|
||||
|
||||
smuggler = stcSvc.spawnObject('object/mobile/shared_dressed_binayre_hoodlum_zabrak_male_01.iff', 'tatooine', long(0), float(-5863), float(90), float(-6198.2), float(0.71), float(0), float(0.70), float(0)) #still need to find correct template
|
||||
smuggler.setCustomName('Smuggler Pilot')
|
||||
smuggler.setOptionsBitmask(256)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user