More work on Jabba TP Locations

Populated Rock beetle place for porcellus quest series
This commit is contained in:
tacef
2014-06-20 11:52:04 +02:00
parent 4d90ff7a2b
commit d39da58ca3
2 changed files with 50 additions and 3 deletions
+3 -3
View File
@@ -11,13 +11,13 @@ def addTemplate(core):
mobileTemplate = MobileTemplate()
mobileTemplate.setCreatureName('rock_beetle')
mobileTemplate.setLevel(19)
mobileTemplate.setLevel(18)
mobileTemplate.setDifficulty(Difficulty.NORMAL)
mobileTemplate.setMinSpawnDistance(4)
mobileTemplate.setMaxSpawnDistance(8)
mobileTemplate.setDeathblow(False)
mobileTemplate.setScale(1)
mobileTemplate.setScale(3)
mobileTemplate.setMeatType("Insect Meat")
mobileTemplate.setMeatAmount(6)
mobileTemplate.setHideType("Scaley Hide")
@@ -31,7 +31,7 @@ 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)
@@ -0,0 +1,47 @@
import sys
# Project SWG: Jabba TP Alkharan Camp: 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('rock_beetle_1', 'tatooine', long(0), float(-4946), float(34.9), float(-6349), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4932), float(37.4), float(-6351.1), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4925.7), float(40.3), float(-6359.7), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4917.1), float(38.8), float(-6350.5), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4931.7), float(34.1), float(-6334.1), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4919.2), float(35), float(-6326), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4906.3), float(35.2), float(-6318.5), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4902.6), float(35.1), float(-6317.6), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4901.7), float(35.3), float(-6325), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4888.6), float(34), float(-6314.2), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4941), float(39.1), float(-6359.8), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4941.8), float(32.9), float(-6325), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4933.6), float(33.6), float(-6325), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4940.3), float(32.5), float(-6313.2), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4929.1), float(31), float(-6305.6), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4903.7), float(36.3), float(-6337.4), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4891.6), float(36.8), float(-6341.3), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4882.7), float(34.5), float(-6328.5), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4912.9), float(31.6), float(-6304.5), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4901.9), float(30.7), float(-6296.2), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4907.1), float(26.7), float(-6286.9), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4924.8), float(26.7), float(-6286.9), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4947.5), float(26.8), float(-6286.3), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4960.1), float(28.6), float(-6293.9), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4969.4), float(30.2), float(-6304.8), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4966.9), float(29.2), float(-6328.3), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4967.3), float(31.1), float(-6345.1), float(0), float(0), float(0), float(0), 45)
stcSvc.spawnObject('rock_beetle_1', 'tatooine', long(0), float(-4963.1), float(36), float(-6359.1), float(0), float(0), float(0), float(0), 45)
return