mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
More Work on Jabba TP Locations
Populated Dragonet area Added Dragonet runt npc script Fixed some issues with NPCs
This commit is contained in:
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('krayt_dragon_adolescent')
|
||||
mobileTemplate.setLevel(84)
|
||||
mobileTemplate.setMinLevel(80)
|
||||
mobileTemplate.setMaxLevel(84)
|
||||
mobileTemplate.setDifficulty(Difficulty.BOSS)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('dragonet_armodragon')
|
||||
mobileTemplate.setLevel(25)
|
||||
mobileTemplate.setMinLevel(25)
|
||||
mobileTemplate.setMaxLevel(27)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bantha')
|
||||
mobileTemplate.setLevel(14)
|
||||
mobileTemplate.setMinLevel(14)
|
||||
mobileTemplate.setMaxLevel(15)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bantha')
|
||||
mobileTemplate.setLevel(8)
|
||||
mobileTemplate.setMinLevel(8)
|
||||
mobileTemplate.setMaxLevel(10)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('matriarch_bantha')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setMinLevel(15)
|
||||
mobileTemplate.setMaxLevel(17)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('zucca_boar_blight')
|
||||
mobileTemplate.setLevel(9)
|
||||
mobileTemplate.setMinLevel(9)
|
||||
mobileTemplate.setMaxLevel(10)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bocatt')
|
||||
mobileTemplate.setLevel(17)
|
||||
mobileTemplate.setMinLevel(17)
|
||||
mobileTemplate.setMaxLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bantha_bonecracker')
|
||||
mobileTemplate.setLevel(21)
|
||||
mobileTemplate.setMinLevel(21)
|
||||
mobileTemplate.setMaxLevel(22)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bull_bantha')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setMinLevel(15)
|
||||
mobileTemplate.setMaxLevel(17)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('ronto_male')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setMinLevel(18)
|
||||
mobileTemplate.setMaxLevel(19)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('dewback_cannibal')
|
||||
mobileTemplate.setLevel(13)
|
||||
mobileTemplate.setMinLevel(13)
|
||||
mobileTemplate.setMaxLevel(14)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('canyon_krayt_dragon')
|
||||
mobileTemplate.setLevel(85)
|
||||
mobileTemplate.setMinLevel(80)
|
||||
mobileTemplate.setMaxLevel(86)
|
||||
mobileTemplate.setDifficulty(Difficulty.BOSS)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('fragile_kreetle')
|
||||
mobileTemplate.setLevel(2)
|
||||
mobileTemplate.setMinLevel(2)
|
||||
mobileTemplate.setMaxLevel(7)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('cave_beetle')
|
||||
mobileTemplate.setLevel(20)
|
||||
mobileTemplate.setMinLevel(20)
|
||||
mobileTemplate.setMaxLevel(21)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('cave_beetle')
|
||||
mobileTemplate.setLevel(20)
|
||||
mobileTemplate.setMinLevel(20)
|
||||
mobileTemplate.setMaxLevel(22)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('city_rockmite')
|
||||
mobileTemplate.setLevel(5)
|
||||
mobileTemplate.setMinLevel(5)
|
||||
mobileTemplate.setMaxLevel(7)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('bocatt_diseased')
|
||||
mobileTemplate.setLevel(5)
|
||||
mobileTemplate.setMinLevel(5)
|
||||
mobileTemplate.setMaxLevel(6)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('domestic_eopie')
|
||||
mobileTemplate.setLevel(1)
|
||||
mobileTemplate.setMinLevel(1)
|
||||
mobileTemplate.setMaxLevel(3)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('dragonet')
|
||||
mobileTemplate.setLevel(24)
|
||||
mobileTemplate.setMinLevel(24)
|
||||
mobileTemplate.setMaxLevel(27)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
@@ -32,7 +30,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_dune_lizard.iff')
|
||||
templates.add('object/mobile/shared_dragonet.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
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('dragonet_runt')
|
||||
mobileTemplate.setLevel(19)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setMeatType("Carnivore Meat")
|
||||
mobileTemplate.setMeatAmount(125)
|
||||
mobileTemplate.setHideType("Bristly Hide")
|
||||
mobileTemplate.setBoneAmount(75)
|
||||
mobileTemplate.setBoneType("Animal Bone")
|
||||
mobileTemplate.setHideAmount(68)
|
||||
mobileTemplate.setSocialGroup("dragonet")
|
||||
mobileTemplate.setAssistRange(10)
|
||||
mobileTemplate.setStalker(True)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_dragonet.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic')
|
||||
weaponTemplates.add(weapontemplate)
|
||||
mobileTemplate.setWeaponTemplateVector(weaponTemplates)
|
||||
|
||||
attacks = Vector()
|
||||
mobileTemplate.setDefaultAttack('creatureRangedAttack')
|
||||
mobileTemplate.setAttacks(attacks)
|
||||
|
||||
core.spawnService.addMobileTemplate('dragonet_runt', mobileTemplate)
|
||||
return
|
||||
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('dwarf_nuna_drooling')
|
||||
mobileTemplate.setLevel(2)
|
||||
mobileTemplate.setMinLevel(2)
|
||||
mobileTemplate.setMaxLevel(3)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Dragonet: 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('dragonet_runt', 'tatooine', long(0), float(-4643), float(35.2), float(-4727), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4648.5), float(36.1), float(-4743.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4661.9), float(35.6), float(-4751.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4676), float(32.8), float(-4752.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4693.6), float(27.8), float(-4735.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4702.1), float(30.2), float(-4722.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4679.9), float(33.3), float(-4711), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4660.6), float(32.5), float(-4701.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4635.9), float(35.7), float(-4701.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4612.9), float(42.9), float(-4712.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4580.9), float(51.3), float(-4737.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4580.3), float(51.6), float(-4753), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4604.5), float(50.7), float(-4765.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4617.6), float(49.3), float(-4783.8), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4661.4), float(32), float(-4723.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4676.4), float(29.8), float(-4736.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4693.2), float(32.5), float(-4759.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4696.7), float(36.8), float(-4769.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4683.1), float(39.9), float(-4769.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4668.8), float(41.4), float(-4773.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4653.3), float(43.8), float(-4771.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4634.8), float(46.5), float(-4764.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4615.7), float(46.4), float(-4749.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4621.1), float(41.3), float(-4736.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4597.7), float(41.6), float(-4706), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4613.2), float(33.2), float(-4689.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4636.7), float(28.7), float(-4680.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4677.5), float(28.4), float(-4691.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dragonet_runt', 'tatooine', long(0), float(-4698.9), float(27.7), float(-4698.8), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user