mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
This commit is contained in:
@@ -31,19 +31,10 @@ def startConversation(core, actor, npc):
|
||||
cloningFee = 5000
|
||||
|
||||
convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage("@conversation/clone_droid:s_6", int(cloningFee)))
|
||||
prose1 = ProsePackage('conversation/clone_droid', 's_8')
|
||||
outOfBand2 = OutOfBand()
|
||||
outOfBand2.addProsePackage(prose1)
|
||||
prose2 = ProsePackage('conversation/clone_droid', 's_12')
|
||||
outOfBand3 = OutOfBand()
|
||||
outOfBand3.addProsePackage(prose2)
|
||||
option1 = ConversationOption(outOfBand2, 0)
|
||||
option2 = ConversationOption(outOfBand3, 1)
|
||||
|
||||
|
||||
options = Vector()
|
||||
options.add(option1)
|
||||
options.add(option2)
|
||||
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/clone_droid:s_8'), 0))
|
||||
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/clone_droid:s_12'), 1))
|
||||
|
||||
convSvc.sendConversationOptions(actor, npc, options, handleFirstScreen)
|
||||
return
|
||||
@@ -56,18 +47,11 @@ def handleFirstScreen(core, actor, npc, selection):
|
||||
|
||||
convSvc = core.conversationService
|
||||
if selection == 0:
|
||||
prose = ProsePackage('conversation/clone_droid', 's_10')
|
||||
outOfBand = OutOfBand()
|
||||
outOfBand.addProsePackage(prose)
|
||||
convSvc.sendConversationMessage(actor, npc, outOfBand)
|
||||
prose2 = ProsePackage('conversation/clone_droid', 's_12')
|
||||
outOfBand2 = OutOfBand()
|
||||
outOfBand2.addProsePackage(prose2)
|
||||
option1 = ConversationOption(outOfBand2, 0)
|
||||
|
||||
|
||||
convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/clone_droid:s_10'))
|
||||
|
||||
options = Vector()
|
||||
options.add(option1)
|
||||
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/clone_droid:s_12'), 1))
|
||||
|
||||
convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen)
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_arkahn_greystar')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.ELITE)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_arkahn_greystar.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('jabbas_palace_arkahn_greystar', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_careem')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_careem.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('jabbas_palace_careem', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,38 @@
|
||||
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('jabbas_palace_delrice_capreese')
|
||||
mobileTemplate.setLevel(17)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_ithorian_male.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('jabbas_palace_delrice_capreese', mobileTemplate)
|
||||
return
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("wayfar spy")
|
||||
mobileTemplate.setAssistRange(3)
|
||||
mobileTemplate.setStalker(False)
|
||||
#mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
|
||||
@@ -11,7 +11,7 @@ def addTemplate(core):
|
||||
mobileTemplate = MobileTemplate()
|
||||
|
||||
mobileTemplate.setCreatureName('dwarf_bantha')
|
||||
mobileTemplate.setLevel(10)
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_emanon')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.ELITE)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_emanon.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('jabbas_palace_emanon', mobileTemplate)
|
||||
return
|
||||
@@ -21,9 +21,11 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("sennex")
|
||||
mobileTemplate.setAssistRange(10)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_male_human_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_male_human_01.iff') #need to find correct template
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_fnast_drexler')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.ELITE)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_fnast_drexler.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('jabbas_palace_fnast_drexler', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_iris_sinclair')
|
||||
mobileTemplate.setLevel(18)
|
||||
mobileTemplate.setDifficulty(Difficulty.ELITE)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_iris_sinclair.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('jabbas_palace_iris_sinclair', mobileTemplate)
|
||||
return
|
||||
@@ -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_romo_vax_henchman')
|
||||
mobileTemplate.setLevel(20)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(True)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("sennex")
|
||||
mobileTemplate.setAssistRange(10)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector() #need to find correct template
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_female_human_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_female_human_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_female_human_03.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_female_twk_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_female_twk_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_male_human_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_trader_thug_male_human_03.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy')
|
||||
weaponTemplates.add(weapontemplate)
|
||||
mobileTemplate.setWeaponTemplateVector(weaponTemplates)
|
||||
|
||||
attacks = Vector()
|
||||
mobileTemplate.setDefaultAttack('rangedShot')
|
||||
mobileTemplate.setAttacks(attacks)
|
||||
|
||||
core.spawnService.addMobileTemplate('romovax_henchman', mobileTemplate)
|
||||
return
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -23,7 +23,6 @@ def addTemplate(core):
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,6 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(True)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,6 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,6 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(True)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,6 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(True)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(True)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -21,7 +21,7 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("tusken raider")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(False)
|
||||
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_tusken_raider.iff')
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
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('jabbas_palace_tyrok')
|
||||
mobileTemplate.setLevel(17)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("jabba")
|
||||
mobileTemplate.setAssistRange(6)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)
|
||||
|
||||
templates = Vector()
|
||||
|
||||
templates.add('object/mobile/shared_trandoshan_male.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('jabbas_palace_tyrok', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,56 @@
|
||||
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_vandal')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(True)
|
||||
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_criminal_thug_aqualish_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_male_01.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('tatooine_valarian_vandal', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,41 @@
|
||||
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_enforcer')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(True)
|
||||
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_criminal_thug_trandoshan_male_01.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('tatooine_valarian_enforcer', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,42 @@
|
||||
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_executioner')
|
||||
mobileTemplate.setLevel(15)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(True)
|
||||
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_noble_naboo_twilek_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_noble_naboo_twilek_female_02.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('tatooine_valarian_executioner', mobileTemplate)
|
||||
return
|
||||
@@ -0,0 +1,56 @@
|
||||
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_hacker')
|
||||
mobileTemplate.setLevel(19)
|
||||
mobileTemplate.setDifficulty(Difficulty.NORMAL)
|
||||
|
||||
mobileTemplate.setMinSpawnDistance(4)
|
||||
mobileTemplate.setMaxSpawnDistance(8)
|
||||
mobileTemplate.setDeathblow(False)
|
||||
mobileTemplate.setScale(1)
|
||||
mobileTemplate.setSocialGroup("valarian_hacker")
|
||||
mobileTemplate.setAssistRange(4)
|
||||
mobileTemplate.setStalker(False)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_male_01.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_hacker', mobileTemplate)
|
||||
return
|
||||
@@ -21,20 +21,26 @@ def addTemplate(core):
|
||||
mobileTemplate.setSocialGroup("wayfar spy")
|
||||
mobileTemplate.setAssistRange(3)
|
||||
mobileTemplate.setStalker(False)
|
||||
#mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
|
||||
|
||||
|
||||
templates = Vector()
|
||||
templates.add('object/mobile/shared_moncal_male.iff')
|
||||
templates.add('object/mobile/shared_moncal_female.iff')
|
||||
templates.add('object/mobile/shared_rodian_male.iff')
|
||||
templates.add('object/mobile/shared_rofian_female.iff')
|
||||
templates.add('object/mobile/shared_zabrak_male.iff')
|
||||
templates.add('object/mobile/shared_zabrak_female.iff')
|
||||
templates.add('object/mobile/shared_human_male.iff')
|
||||
templates.add('object/mobile/shared_human_female.iff')
|
||||
templates.add('object/mobile/shared_sullustan_male.iff')
|
||||
templates.add('object/mobile/shared_sullustan_female.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_aqualish_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_bothan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_female_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_human_male_02.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_rodian_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_trandoshan_male_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_female_01.iff')
|
||||
templates.add('object/mobile/shared_dressed_criminal_thug_zabrak_male_01.iff')
|
||||
mobileTemplate.setTemplates(templates)
|
||||
|
||||
weaponTemplates = Vector()
|
||||
|
||||
@@ -6,6 +6,8 @@ def setup(core, object):
|
||||
objSvc = core.objectService
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(2.5), float(0), float(1), 2)
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(-1.35), float(1), float(0), 2)
|
||||
|
||||
objSvc.createChildObject(object, 'object/mobile/shared_21b_surgical_droid.iff', float(-3.2), float(0.1), float(0.6), float(0), float(0), 2)
|
||||
|
||||
spawnPoints = Vector()
|
||||
spawnPoints.add(SpawnPoint(-16.6514, -4.29167, -10.4976, 0.709453, 0.704753, 4))
|
||||
|
||||
@@ -7,6 +7,8 @@ def setup(core, object):
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(2.5), float(0), float(1), 2)
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(-1.35), float(1), float(0), 2)
|
||||
|
||||
objSvc.createChildObject(object, 'object/mobile/shared_21b_surgical_droid.iff', float(-3.2), float(0.1), float(0.6), float(0), float(0), 2)
|
||||
|
||||
spawnPoints = Vector()
|
||||
spawnPoints.add(SpawnPoint(-16.66, -4.29, -10.50, 0.71, 0.70, 4))
|
||||
spawnPoints.add(SpawnPoint(-16.60, -4.29, -14.17, 0.72, 0.69, 4))
|
||||
|
||||
@@ -7,6 +7,8 @@ def setup(core, object):
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(2.5), float(0), float(1), 2)
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(1), float(-0.05), float(-1.35), float(1), float(0), 2)
|
||||
|
||||
objSvc.createChildObject(object, 'object/mobile/shared_21b_surgical_droid.iff', float(-3.2), float(0.1), float(0.6), float(0), float(0), 2)
|
||||
|
||||
spawnPoints = Vector()
|
||||
spawnPoints.add(SpawnPoint(-16.6514, -4.29167, -10.4976, 0.709453, 0.704753, 4))
|
||||
spawnPoints.add(SpawnPoint(-16.5965, -4.29167, -14.1652, 0.721346, 0.692575, 4))
|
||||
|
||||
@@ -6,6 +6,8 @@ def setup(core, object):
|
||||
objSvc = core.objectService
|
||||
objSvc.createChildObject(object, 'object/tangible/terminal/shared_terminal_cloning.iff', float(-0.42), float(-0.38), float(-0.4), float(1), float(0), 10)
|
||||
|
||||
objSvc.createChildObject(object, 'object/mobile/shared_21b_surgical_droid.iff', float(3.8), float(0.3), float(5.1), float(0), float(0), 1)
|
||||
|
||||
spawnPoints = Vector()
|
||||
spawnPoints.add(SpawnPoint(0.445015, 0.271775, 1.39199, 0.707038, 0.707176, 9))
|
||||
|
||||
|
||||
@@ -6,6 +6,6 @@ def setup(core, object):
|
||||
object.setAttachment('conversationFile','medical_cloning_droid')
|
||||
object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE)
|
||||
object.setStfFilename('mob/creature_names')
|
||||
object.setStfName('surgical_droid')
|
||||
object.setStfName('surgical_droid_21b')
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import sys
|
||||
# Project SWG: Great Sarlacc: 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('jundland_eopie', 'tatooine', long(0), float(-6098), float(25.2), float(-3337), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6087.4), float(22.3), float(-3327), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6105), float(22.6), float(-3329.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6116.1), float(22.1), float(-3313.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6088.1), float(21.1), float(-3301.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6059), float(22.3), float(-3300.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6057.7), float(25.4), float(-3285.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6094.6), float(24.6), float(-3282.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jundland_eopie', 'tatooine', long(0), float(-6122.7), float(24.6), float(-3299.3), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Romo Vax Bunker: 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
|
||||
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5079.1), float(47.9), float(-6970.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5063.5), float(49.2), float(-6998.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5051.8), float(45.7), float(-6989.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5030.7), float(46.5), float(-6972.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5019), float(48.3), float(-6946.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5045.8), float(42.6), float(-6936), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5053.7), float(43.6), float(-6961.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', long(0), float(-5057.5), float(43.9), float(-6961.5), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
# TODO Check all NPCs for personalized scripting, change format.
|
||||
bunker = core.objectService.getObject(long(-466404037494797872))
|
||||
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(2), float(-3.8), float(0.3), float(2.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(3), float(3.6), float(0.3), float(-3.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(29.8), float(-12), float(25.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(32.7), float(-12), float(35), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(5), float(22.9), float(-12), float(30.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(21), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(4), float(3.9), float(-12), float(38.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(6), float(3.5), float(-16), float(53), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(58.8), float(-16), float(61), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(74.4), float(-16), float(66.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(68.3), float(-16), float(79.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(8), float(44.6), float(-16), float(82.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(26), float(-16), float(79), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(6.9), float(-16), float(78.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-5.2), float(-16), float(77.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(7), float(-19.9), float(-16), float(78.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('romovax_henchman', 'tatooine', bunker.getCellByCellNumber(9), float(32.4), float(-14), float(78.7), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('fighting_romo_vax', 'tatooine', bunker.getCellByCellNumber(9), float(-42.7), float(-14), float(-79.1), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP spicedealer 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('jabbas_palace_delrice_capreese', 'tatooine', long(0), float(-4330.8), float(23), float(-5024.4), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP spicedealer 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('jabbas_palace_tyrok', 'tatooine', long(0), float(-4933.3), float(31.2), float(-5541.8), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('mountain_squill', 'tatooine', long(0), float(-4939.9), float(30.6), float(-5547.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('mountain_squill', 'tatooine', long(0), float(-4946.3), float(30.1), float(-5555.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('mountain_squill', 'tatooine', long(0), float(-4938.6), float(29.7), float(-5554.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('mountain_squill', 'tatooine', long(0), float(-4933.1), float(29.5), float(-5554.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('mountain_squill', 'tatooine', long(0), float(-4929.2), float(29.2), float(-5561.3), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Valarian Hacker Bunker: 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_hacker', 'tatooine', long(0), float(-5371.3), float(64.1), float(-6897.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', long(0), float(-5372.5), float(64.3), float(-6902.4), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
bunker = core.objectService.getObject(long(-466404036467088174))
|
||||
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(2), float(-3.7), float(0.3), float(3.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(3), float(3.8), float(-0.3), float(-4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(4), float(3.4), float(-3.3), float(4.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-2), float(-6.8), float(-8.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(5), float(-7.4), float(-6.8), float(-1.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(-7), float(-6.8), float(-14.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(6), float(6.7), float(-6.8), float(-14.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(7), float(5), float(-6.8), float(-1.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(8), float(-2), float(-13.8), float(8.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(1.5), float(-13.8), float(-3.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(-6.7), float(-13.8), float(-15.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('valarian_hacker', 'tatooine', bunker.getCellByCellNumber(9), float(2.7), float(-13.8), float(-11.9), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
import sys
|
||||
# Project SWG: Jabba TP Valarian Security Bunker: 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('tatooine_valarian_enforcer', 'tatooine', long(0), float(-3941.2), float(4.9), float(-3994), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', long(0), float(-3935.9), float(6.5), float(-4012.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', long(0), float(-3937.7), float(5.4), float(-3983.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', long(0), float(-3952.5), float(6.8), float(-4015.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', long(0), float(-3954.1), float(6.7), float(-4019.8), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
|
||||
bunker = core.objectService.getObject(long(-466404037065936405))
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(3.1), float(-12), float(31.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(24.9), float(-12), float(46.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(4), float(-12), float(54.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(5), float(-15.4), float(-12), float(47.1), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-50.4), float(-20), float(38.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-57), float(-20), float(36.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(7), float(-59.6), float(-20), float(44.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_enforcer', 'tatooine', bunker.getCellByCellNumber(7), float(-50.7), float(-20), float(66.6), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(8), float(-70.5), float(-20), float(14.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jabbas_palace_iris_sinclair', 'tatooine', bunker.getCellByCellNumber(8), float(-49.8), float(-20), float(13.1), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(9), float(-70.3), float(-20), float(77.5), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jabbas_palace_fnast_drexler', 'tatooine', bunker.getCellByCellNumber(9), float(-49), float(-20), float(82.5), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(35.7), float(-12), float(34.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(10), float(36.2), float(-12), float(77.1), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(12), float(72.5), float(-12), float(58.6), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(11), float(49.8), float(-12), float(83), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jabbas_palace_arkahn_greystar', 'tatooine', bunker.getCellByCellNumber(11), float(71.6), float(-12), float(83.2), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(36.4), float(-20), float(123.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(13), float(19), float(-20), float(122.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jabbas_palace_emanon', 'tatooine', bunker.getCellByCellNumber(13), float(22.1), float(-20), float(139.4), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-8.2), float(-20), float(66.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(21), float(-2.3), float(-20), float(77), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_executioner', 'tatooine', bunker.getCellByCellNumber(19), float(-23), float(-20), float(100.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('jabbas_palace_careem', 'tatooine', bunker.getCellByCellNumber(19), float(-22.4), float(-20), float(117.5), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(18), float(-30.7), float(-20), float(49.5), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(16), float(-15.5), float(-20), float(2.9), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(21.1), float(-12), float(-1.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(51.6), float(-12), float(24.6), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(58.7), float(-12), float(20.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tatooine_valarian_vandal', 'tatooine', bunker.getCellByCellNumber(14), float(55.2), float(-12), float(16.9), float(0), float(0), float(0), float(0), 45)
|
||||
return
|
||||
|
||||
@@ -22,4 +22,25 @@ def addPlanetSpawns(core, planet):
|
||||
stcSvc.spawnObject('object/static/item/shared_lair_wooden_tent.iff', 'tatooine', long(0), float(-5491.42), float(45.0825), float(-6608.95), float(0.499163), float(-0.143837), float(0.853988), float(-0.0291871))
|
||||
|
||||
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5467.4), float(46.7), float(-6601.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5468.5), float(46), float(-6583.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5488.4), float(46), float(-6590.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5503.4), float(46.7), float(-6589.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5524.5), float(46.4), float(-6586.2), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5539.6), float(40.1), float(-6602.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5553.3), float(38.5), float(-6613.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5553.4), float(42), float(-6634.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5556.7), float(47.5), float(-6650.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5538.1), float(47.9), float(-6661.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5525.2), float(45.2), float(-6642.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5508.7), float(41.9), float(-6627.1), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5478.3), float(47.2), float(-6624.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5486.8), float(48.2), float(-6645.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5503.6), float(46.5), float(-6660.3), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5517.6), float(48), float(-6654.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5487.3), float(45), float(-6618.9), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('wayfar_spy', 'tatooine', long(0), float(-5464.6), float(48.7), float(-6621.8), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
stcSvc.spawnObject('dewall_paez', 'tatooine', long(0), float(-5516.1), float(40.1), float(-6615.1), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
@@ -49,7 +49,7 @@ def addPlanetSpawns(core, planet):
|
||||
stcSvc.spawnObject('object/mobile/shared_boba_fett.iff', 'tatooine', building.getCellByCellNumber(22), float(-1.0), float(3.0), float(33.1), float(0), float(0), float(0), float(0))
|
||||
|
||||
#EV9D9
|
||||
stcSvc.spawnObject('object/mobile/shared_ev_9d9.iff', 'tatooine', building.getCellByCellNumber(14), float(18.8), float(0.2), float(78.7), float(0), float(0), float(1.0), float(0))
|
||||
stcSvc.spawnObject('object/mobile/shared_ev_9d9.iff', 'tatooine', building.getCellByCellNumber(14), float(23.1), float(0.2), float(87.8), float(0), float(0), float(1.0), float(0))
|
||||
|
||||
#malakili
|
||||
stcSvc.spawnObject('object/mobile/shared_malakili.iff', 'tatooine', building.getCellByCellNumber(37), float(17.3), float(-11.0), float(43.8), float(0), float(0), float(0), float(0))
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
import sys
|
||||
# Project SWG: Medical center: 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.
|
||||
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))
|
||||
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
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('tusken_follower', 'tatooine', long(0), float(-4505.5), float(35), float(-2270.4), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tusken_follower', 'tatooine', long(0), float(-4511), float(35), float(-2261.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tusken_follower', 'tatooine', long(0), float(-4522.7), float(35), float(-2262.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tusken_follower', 'tatooine', long(0), float(-4519.7), float(35), float(-2253.8), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('tusken_follower', 'tatooine', long(0), float(-4529.8), float(35), float(-2253.7), float(0), float(0), float(0), float(0), 45)
|
||||
stcSvc.spawnObject('dwarf_bantha', 'tatooine', long(0), float(-4524.3), float(35), float(-2257.7), float(0), float(0), float(0), float(0), 45)
|
||||
|
||||
return
|
||||
|
||||
@@ -49,6 +49,6 @@ public class ErrorMessage extends SWGMessage {
|
||||
result.put(getAsciiString(errorMessage));
|
||||
result.put((byte)0);
|
||||
|
||||
return result;
|
||||
return result.flip();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -92,6 +92,11 @@ public class LoginService implements INetworkDispatch{
|
||||
|
||||
public void handlePacket(IoSession session, IoBuffer data) throws Exception {
|
||||
|
||||
if (session == null) {
|
||||
System.out.println("Login attempted with NULL session!");
|
||||
return;
|
||||
}
|
||||
|
||||
data = data.order(ByteOrder.LITTLE_ENDIAN);
|
||||
LoginClientId clientID = new LoginClientId();
|
||||
data.position(0);
|
||||
@@ -116,16 +121,19 @@ public class LoginService implements INetworkDispatch{
|
||||
err = "user is banned";
|
||||
break;
|
||||
}
|
||||
ErrorMessage errMsg = new ErrorMessage("Invalid Login", err);
|
||||
|
||||
// No matter what, this will always show that the login server is unavailable at this time. Removing the error message will just keep the connecting message up.
|
||||
ErrorMessage errMsg = new ErrorMessage("Wrong Password", "The username or password you entered was incorrect.");
|
||||
session.write(errMsg.serialize());
|
||||
|
||||
Disconnect disconnect = new Disconnect((Integer)session.getAttribute("connectionId"), 6);
|
||||
session.write(disconnect);
|
||||
session.close(false);
|
||||
|
||||
// Closing the session for some reason will not show any error messages, even if write messages are queued..
|
||||
//As result, the infinite "Connection to the login server is now open..." loop., also it randomly denies any logins from that client for some reason
|
||||
return;
|
||||
}
|
||||
|
||||
System.out.println(user + " successfully logged in.");
|
||||
|
||||
Client client = new Client(session.getRemoteAddress());
|
||||
client.setAccountName(user);
|
||||
client.setPassword(pass);
|
||||
@@ -137,6 +145,16 @@ public class LoginService implements INetworkDispatch{
|
||||
|
||||
core.addClient(session, client);
|
||||
|
||||
if (!core.getActiveConnectionsMap().containsKey(session)) {
|
||||
Disconnect disconnect = new Disconnect((Integer)session.getAttribute("connectionId"), 6);
|
||||
session.write(disconnect);
|
||||
ErrorMessage errMsg = new ErrorMessage("Error Logging In", "Your client could not be added to the connections at this time.");
|
||||
session.write(errMsg.serialize());
|
||||
session.close(false);
|
||||
|
||||
System.out.println(client.getAccountName() + " was not added to active connections map.");
|
||||
return;
|
||||
}
|
||||
/*if(!checkIfAccountExistInGameDB(id)) {
|
||||
createAccountForGameDB(id, user, email, encryptPass);
|
||||
}*/
|
||||
@@ -153,9 +171,7 @@ public class LoginService implements INetworkDispatch{
|
||||
ServerNowEpochTime time = new ServerNowEpochTime((int) (System.currentTimeMillis() / 1000));
|
||||
|
||||
if (client.getSession().containsAttribute("tradeSession") == true) {
|
||||
System.out.println("Has attribute: " + session.getAttribute("tradeSession").toString());
|
||||
client.getSession().removeAttribute("tradeSession");
|
||||
System.out.println("Removed tradeSession Attribute @ LoginService.java");
|
||||
}
|
||||
|
||||
session.write(time.serialize());
|
||||
@@ -165,6 +181,8 @@ public class LoginService implements INetworkDispatch{
|
||||
session.write(serverStatus.serialize());
|
||||
session.write(jediSlot.serialize());
|
||||
session.write(characters.serialize());
|
||||
|
||||
System.out.println(user + " successfully logged in.");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
package services.combat;
|
||||
|
||||
public class CombatRecorder {
|
||||
private long deathCount = 0;
|
||||
private long killCount = 0;
|
||||
private long assistCount = 0;
|
||||
private long damageDealt = 0;
|
||||
private long damageReceived = 0;
|
||||
private long healingDone = 0;
|
||||
private long healingReceived = 0;
|
||||
|
||||
public long getDeathCount() {
|
||||
return deathCount;
|
||||
}
|
||||
public void setDeathCount(long deathCount) {
|
||||
this.deathCount = deathCount;
|
||||
}
|
||||
public long getKillCount() {
|
||||
return killCount;
|
||||
}
|
||||
public void setKillCount(long killCount) {
|
||||
this.killCount = killCount;
|
||||
}
|
||||
public long getAssistCount() {
|
||||
return assistCount;
|
||||
}
|
||||
public void setAssistCount(long assistCount) {
|
||||
this.assistCount = assistCount;
|
||||
}
|
||||
public long getDamageDealt() {
|
||||
return damageDealt;
|
||||
}
|
||||
public void setDamageDealt(long damageDealt) {
|
||||
this.damageDealt = damageDealt;
|
||||
}
|
||||
public long getDamageReceived() {
|
||||
return damageReceived;
|
||||
}
|
||||
public void setDamageReceived(long damageReceived) {
|
||||
this.damageReceived = damageReceived;
|
||||
}
|
||||
public long getHealingDone() {
|
||||
return healingDone;
|
||||
}
|
||||
public void setHealingDone(long healingDone) {
|
||||
this.healingDone = healingDone;
|
||||
}
|
||||
public long getHealingReceived() {
|
||||
return healingReceived;
|
||||
}
|
||||
public void setHealingReceived(long healingReceived) {
|
||||
this.healingReceived = healingReceived;
|
||||
}
|
||||
}
|
||||
@@ -82,7 +82,7 @@ public class SUIService implements INetworkDispatch {
|
||||
SWGObject target = core.objectService.getObject(request.getTargetId());
|
||||
SWGObject owner = core.objectService.getObject(request.getCharacterId());
|
||||
|
||||
if(target == null || owner == null)
|
||||
if(target == null || owner == null || owner.getClient() == null)
|
||||
return;
|
||||
|
||||
// if (getRadialFilename(target).equals("noradialoptions"))
|
||||
|
||||
Reference in New Issue
Block a user