mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Merge pull request #899 from tacef/master
Started work on Jabba TP locations
This commit is contained in:
@@ -12,8 +12,6 @@ def addTemplate(core):
|
||||
|
||||
mobileTemplate.setCreatureName('alkhara_bandit')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setMinLevel(14)
|
||||
mobileTemplate.setMaxLevel(16)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
@@ -23,6 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("alkhara")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(True)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = 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('tatooine_valarian_soldier')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("valarian")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_thug.iff')
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_scout.iff')
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_swooper.iff')
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_henchman.iff')
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_enforcer.iff')
|
||||
templates.add('object/mobile/shared_dressed_tatooine_valarian_compound_guard.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_cdef.iff', WeaponType.PISTOL, 1.0, 15, 'energy')
|
||||
weaponTemplates.add(weapontemplate)
|
||||
mobileTemplate.setWeaponTemplateVector(weaponTemplates)
|
||||
|
||||
attacks = Vector()
|
||||
mobileTemplate.setDefaultAttack('rangedShotpistol')
|
||||
mobileTemplate.setAttacks(attacks)
|
||||
|
||||
core.spawnService.addMobileTemplate('valarian_soldier', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,32 @@
|
||||
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('alkhara_bandit', 'tatooine', long(0), float(-5454.6), float(38.9), float(-6122), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5436.6), float(39), float(-6122.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5431.7), float(37.8), float(-6104.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5439.2), float(39), float(-6100.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5459.8), float(38.4), float(-6109.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5412.5), float(36.5), float(-6105.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5449.5), float(38.7), float(-6103), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5440.4), float(37.5), float(-6112.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5425.2), float(37.4), float(-6120.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5419.6), float(37), float(-6112.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5416.9), float(39.2), float(-6122.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5452.6), float(40.1), float(-6127.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('alkhara_bandit', 'tatooine', long(0), float(-5445.4), float(39.4), float(-6124.9), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Valarian 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('valarian_soldier', 'tatooine', long(0), float(-6229), float(37.8), float(-5947), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6238.7), float(37.3), float(-5915.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6251.7), float(36.4), float(-5956.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6266.4), float(35.5), float(-5955.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6273.8), float(34.9), float(-5945), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6272.7), float(35.4), float(-5930.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6276.1), float(38.3), float(-5919.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6268.5), float(40.6), float(-5908.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6255.9), float(40.6), float(-5907.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6242.6), float(39.9), float(-5912.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6233.6), float(37.3), float(-5925.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6230.9), float(38), float(-5949.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6235.2), float(40.2), float(-5964.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6250.1), float(38.1), float(-5969), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_soldier', 'tatooine', long(0), float(-6271.6), float(36.1), float(-5960.2), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user