Example #1
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('lord_nyax')
	mobileTemplate.setLevel(40)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("followers of lord nyax")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_lord_nyax.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_t21.iff', WeaponType.RIFLE, 1.0, 24, 'energy')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('lord_nyax', mobileTemplate)
	return
Example #2
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("afarathu_cult_zealot")
    mobileTemplate.setLevel(30)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("afarathu")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_dressed_selonian_m_01.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_02.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_03.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_04.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_05.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_06.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_07.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_08.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_09.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_10.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_11.iff")
    templates.add("object/mobile/shared_dressed_selonian_m_12.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_01.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_02.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_03.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_04.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_05.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_06.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_07.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_08.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_09.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_10.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_11.iff")
    templates.add("object/mobile/shared_dressed_selonian_f_12.iff")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/carbine/shared_carbine_e11.iff", WeaponType.CARBINE, 1.0, 15, "energy"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("rangedShot")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    core.spawnService.addMobileTemplate("afarathu_cult_zealot", mobileTemplate)
    return
Example #3
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('feral_selonian')
	mobileTemplate.setLevel(39)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("self")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_selonian_m_01.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_02.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_03.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_04.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_05.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_06.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_07.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_08.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_09.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_10.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_11.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_12.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_01.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_02.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_03.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_04.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_05.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_06.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_07.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_08.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_09.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_10.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_11.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_12.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_d18.iff', WeaponType.PISTOL, 1.0, 24, 'energy')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('feral_selonian', mobileTemplate)
	return
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('afarathu_cult_brute')
	mobileTemplate.setLevel(30)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("afarathu")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_selonian_m_01.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_02.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_03.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_04.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_05.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_06.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_07.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_08.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_09.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_10.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_11.iff')
	templates.add('object/mobile/shared_dressed_selonian_m_12.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_01.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_02.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_03.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_04.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_05.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_06.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_07.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_08.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_09.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_10.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_11.iff')
	templates.add('object/mobile/shared_dressed_selonian_f_12.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/polearm/shared_polearm_vibro_axe.iff', WeaponType.POLEARMMELEE, 1.0, 5, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('afarathu_cult_follower', mobileTemplate)
	return
Example #5
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('nightsister_elder')
	mobileTemplate.setLevel(82)
	mobileTemplate.setDifficulty(Difficulty.BOSS)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(6)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setSocialGroup('nightsister')
	mobileTemplate.setAssistRange(12)
	mobileTemplate.setRespawnTime(300)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_dathomir_nightsister_elder.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/sword/shared_sword_01.iff', WeaponType.ONEHANDEDMELEE, 1.0, 5, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleehit')
	attacks.add('fs_maelstrom_5')
	attacks.add('fs_ae_dm_cc_6')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['jedi_relic_1']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 85
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	lootPoolNames_3 = ['powercrystals_hiq']
	lootPoolChances_3 = [100]
	lootGroupChance_3 = 12
	mobileTemplate.addToLootGroups(lootPoolNames_3,lootPoolChances_3,lootGroupChance_3)
	
	lootPoolNames_4 = ['random_stat_jewelry']
	lootPoolChances_4 = [100]
	lootGroupChance_4 = 8
	mobileTemplate.addToLootGroups(lootPoolNames_4,lootPoolChances_4,lootGroupChance_4)

	lootPoolNames_5 = ['sithholocrons']
	lootPoolChances_5 = [100]
	lootGroupChance_5 = 3
	mobileTemplate.addToLootGroups(lootPoolNames_5,lootPoolChances_5,lootGroupChance_5)
	
	core.spawnService.addMobileTemplate('nightsister_elder', mobileTemplate)
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('singing_mtn_clan_councilwoman')
	mobileTemplate.setLevel(80)
	mobileTemplate.setDifficulty(2)
	mobileTemplate.setAttackRange(6)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(4)
	mobileTemplate.setMinSpawnDistance(6)
	mobileTemplate.setMaxSpawnDistance(10)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setSocialGroup('mountain clan')
	mobileTemplate.setAssistRange(12)
	mobileTemplate.setRespawnTime(300)
	mobileTemplate.setOptionsBitmask(192)
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_dathomir_sing_mt_clan_councilwoman.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/sword/shared_sword_01.iff', 4, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleehit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['jedi_relic_1']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 85
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	lootPoolNames_3 = ['powercrystals_hiq']
	lootPoolChances_3 = [100]
	lootGroupChance_3 = 12
	mobileTemplate.addToLootGroups(lootPoolNames_3,lootPoolChances_3,lootGroupChance_3)
	
	lootPoolNames_4 = ['random_stat_jewelry']
	lootPoolChances_4 = [100]
	lootGroupChance_4 = 8
	mobileTemplate.addToLootGroups(lootPoolNames_4,lootPoolChances_4,lootGroupChance_4)

	lootPoolNames_5 = ['sithholocrons']
	lootPoolChances_5 = [100]
	lootGroupChance_5 = 3
	mobileTemplate.addToLootGroups(lootPoolNames_5,lootPoolChances_5,lootGroupChance_5)
	
	core.spawnService.addMobileTemplate('singing_mtn_clan_councilwoman', mobileTemplate)
Example #7
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('meatlump_fool')
	mobileTemplate.setLevel(26)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(15)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(1)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("meatlump")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(128)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_meatlump_female_01.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_02.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_03.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_04.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_05.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_06.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_07.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_01.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_02.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_03.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_04.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_05.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_06.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_07.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_08.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_09.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', 1, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('meatlump_fool', mobileTemplate)
	return
Example #8
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('corellia_meatlump_lunk')
	mobileTemplate.setLevel(13)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("meatlump")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(128)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_meatlump_female_01.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_02.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_03.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_04.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_05.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_06.iff')
	templates.add('object/mobile/shared_dressed_meatlump_female_07.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_01.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_02.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_03.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_04.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_05.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_06.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_07.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_08.iff')
	templates.add('object/mobile/shared_dressed_meatlump_male_09.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_d18.iff', WeaponType.PISTOL, 1.0, 24, 'energy')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('meatlump_lunk', mobileTemplate)
	return
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('canyon_corsair_pirate_elite')
	mobileTemplate.setLevel(43)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("corsairs (canyon corsair)")
	mobileTemplate.setAssistRange(8)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_corsair_elite_hum_f.iff')
	templates.add('object/mobile/shared_dressed_corsair_elite_nikto_m.iff')
	templates.add('object/mobile/shared_dressed_corsair_elite_nikto_f.iff')
	templates.add('object/mobile/shared_dressed_corsair_elite_hum_m.iff')
	templates.add('object/mobile/shared_dressed_corsair_elite_wee_m.iff')
	templates.add('object/mobile/shared_dressed_corsair_elite_zab_m.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_cdef.iff', WeaponType.CARBINE, 1.0, 6, 'energy')
	
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['random_loot_primitives']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 35
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	core.spawnService.addMobileTemplate('canyon_corsair_pirate_elite', mobileTemplate)
	return
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('blood_razor_pirate_strong')
	mobileTemplate.setLevel(38)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("bloodrazor")
	mobileTemplate.setAssistRange(8)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_hum_f.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_hum_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_nikto_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_rod_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_tran_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_wee_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_strong_zab_m.iff')
	mobileTemplate.setTemplates(templates)


	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_power5.iff', WeaponType.PISTOL, 3.2, 6, 'energy')
	
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	
	
	core.spawnService.addMobileTemplate('blood_razor_pirate_strong', mobileTemplate)
	return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('eerie_pubam_spiritmaster')
    mobileTemplate.setLevel(62)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(5)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(6)
    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('pubam tribe')
    mobileTemplate.setAssistRange(1)
    mobileTemplate.setOptionsBitmask(192)
    mobileTemplate.setStalker(True)

    templates = Vector()
    templates.add('object/mobile/shared_dulok_male.iff')
    templates.add('object/mobile/shared_dulok_female.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0)
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('meleeHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_2 = ['random_loot_primitives']
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2,
                                   lootGroupChance_2)

    core.spawnService.addMobileTemplate('eerie_pubam_spiritmaster',
                                        mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('singing_mtn_clan_arch_witch')
    mobileTemplate.setLevel(80)
    mobileTemplate.setDifficulty(Difficulty.ELITE)

    mobileTemplate.setMinSpawnDistance(6)
    mobileTemplate.setMaxSpawnDistance(10)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('mountain clan')
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setRespawnTime(300)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)

    templates = Vector()
    templates.add(
        'object/mobile/shared_dressed_dathomir_sing_mt_clan_arch_witch.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/sword/shared_sword_01.iff',
        WeaponType.ONEHANDEDMELEE, 1.0, 5, 'kinetic')
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('meleehit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_2 = ['jedi_relic_1']
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 85
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2,
                                   lootGroupChance_2)

    lootPoolNames_4 = ['random_stat_jewelry']
    lootPoolChances_4 = [100]
    lootGroupChance_4 = 8
    mobileTemplate.addToLootGroups(lootPoolNames_4, lootPoolChances_4,
                                   lootGroupChance_4)

    lootPoolNames_5 = ['sithholocrons']
    lootPoolChances_5 = [100]
    lootGroupChance_5 = 3
    mobileTemplate.addToLootGroups(lootPoolNames_5, lootPoolChances_5,
                                   lootGroupChance_5)

    core.spawnService.addMobileTemplate('singing_mtn_clan_arch_witch',
                                        mobileTemplate)
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('blood_razor_pirate_weak')
	mobileTemplate.setLevel(37)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("bloodrazor")
	mobileTemplate.setAssistRange(8)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_wee_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_hum_f.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_hum_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_nikto_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_rod_m.iff')
	templates.add('object/mobile/shared_dressed_blood_razor_pirate_weak_zab_m.iff')
	mobileTemplate.setTemplates(templates)


	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/polearm/shared_polearm_lance_electric_polearm.iff', WeaponType.POLEARMMELEE, 1.5, 6, 'kinetic')
	
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('creatureMeleeAttack')
	
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	
	
	core.spawnService.addMobileTemplate('blood_razor_pirate_weak', mobileTemplate)
	return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('vicious_korga_battlelord')
    mobileTemplate.setLevel(78)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('korga tribe')
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
    mobileTemplate.setStalker(True)

    templates = Vector()
    templates.add('object/mobile/shared_dulok_male.iff')
    templates.add('object/mobile/shared_dulok_female.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('meleeHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_2 = ['random_loot_primitives']
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2,
                                   lootGroupChance_2)

    core.spawnService.addMobileTemplate('vicious_korga_battlelord',
                                        mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("mtp_recruiter_corsec_detective")
    mobileTemplate.setLevel(81)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(15)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(1)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("aggro corsec")
    mobileTemplate.setAssistRange(10)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(192)

    templates = Vector()
    templates.add("object/mobile/shared_dressed_corsec_captain_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_02.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_03.iff")
    templates.add("object/mobile/shared_dressed_corsec_officer_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_officer_human_male_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_detective_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_detective_human_male_01.iff")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate("object/weapon/ranged/carbine/shared_carbine_cdef.iff", 1, 1.0)
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("rangedShot")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    core.spawnService.addMobileTemplate("corsec_security_specialist", mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("weathered_jinda_shaman")
    mobileTemplate.setLevel(66)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(5)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(6)
    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("jinda tribe")
    mobileTemplate.setAssistRange(1)
    mobileTemplate.setOptionsBitmask(128)
    mobileTemplate.setStalker(True)

    templates = Vector()
    templates.add("object/mobile/shared_jinda_male.iff")
    templates.add("object/mobile/shared_jinda_female.iff")

    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate("object/weapon/melee/unarmed/shared_unarmed_default.iff", 6, 1.0)
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("meleeHit")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    lootPoolNames_2 = ["random_loot_primitives"]
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2, lootGroupChance_2)

    core.spawnService.addMobileTemplate("weathered_jinda_shaman", mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("corsec_master_sergeant_aggro")
    mobileTemplate.setLevel(82)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("aggro corsec")
    mobileTemplate.setAssistRange(10)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_dressed_corsec_captain_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_02.iff")
    templates.add("object/mobile/shared_dressed_corsec_captain_human_male_03.iff")
    templates.add("object/mobile/shared_dressed_corsec_officer_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_officer_human_male_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_detective_human_female_01.iff")
    templates.add("object/mobile/shared_dressed_corsec_detective_human_male_01.iff")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/carbine/shared_carbine_cdef.iff", WeaponType.CARBINE, 1.0, 15, "energy"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("rangedShot")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    core.spawnService.addMobileTemplate("corsec_special_ops_master_sergeant", mobileTemplate)
    return
Example #18
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('greck_smuggler')
	mobileTemplate.setLevel(25)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(15)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(6)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("olag greck")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(128)

	templates = Vector()
	templates.add('object/mobile/shared_greck_thug_f_01.iff')
	templates.add('object/mobile/shared_greck_thug_f_02.iff')
	templates.add('object/mobile/shared_greck_thug_f_03.iff')
	templates.add('object/mobile/shared_greck_thug_m_01.iff')
	templates.add('object/mobile/shared_greck_thug_m_02.iff')
	templates.add('object/mobile/shared_greck_thug_m_03.iff')
	templates.add('object/mobile/shared_greck_thug_m_04.iff')
	templates.add('object/mobile/shared_greck_thug_m_05.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('greck_smuggler', mobileTemplate)
	return
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('corsec_captain_aggro')
	mobileTemplate.setLevel(82)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(15)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(0)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("aggro corsec")
	mobileTemplate.setAssistRange(10)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(192)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_corsec_captain_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_02.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_03.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_male_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_detective_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_detective_human_male_01.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_e11.iff', 0, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('corsec_special_ops_captain', mobileTemplate)
	return
Example #20
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('wise_jinda_ritualist')
	mobileTemplate.setLevel(67)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(3)
	mobileTemplate.setMaxSpawnDistance(5)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup('jinda tribe')
	mobileTemplate.setAssistRange(1)
	mobileTemplate.setOptionsBitmask(128)
	mobileTemplate.setStalker(True)
	
	
	templates = Vector()
	templates.add('object/mobile/shared_jinda_male.iff')
	templates.add('object/mobile/shared_jinda_female.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('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['random_loot_primitives']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 35
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	core.spawnService.addMobileTemplate('wise_jinda_ritualist', mobileTemplate)
	return
Example #21
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("donkuwah_cub")
    mobileTemplate.setLevel(78)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(0.5)
    mobileTemplate.setSocialGroup("donkuwah tribe")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)
    mobileTemplate.setStalker(True)

    templates = Vector()
    templates.add("object/mobile/shared_jinda_male.iff")
    templates.add("object/mobile/shared_jinda_female.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("meleeHit")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    lootPoolNames_2 = ["random_loot_primitives"]
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2, lootGroupChance_2)

    core.spawnService.addMobileTemplate("donkuwah_cub", mobileTemplate)
    return
Example #22
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("mokk_clan_primalist")
    mobileTemplate.setLevel(64)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setSocialGroup("mokk tribe")
    mobileTemplate.setAssistRange(12)

    templates = Vector()
    templates.add("object/mobile/shared_dantari_male.iff")

    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/melee/knife/shared_knife_janta.iff", WeaponType.ONEHANDEDMELEE, 1.0, 5, "kinetic"
    )
    weaponTemplates.add(weapontemplate)
    weapontemplate = WeaponTemplate(
        "object/weapon/melee/polearm/shared_lance_staff_janta.iff", WeaponType.POLEARMMELEE, 1.0, 6, "kinetic"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("meleehit")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    lootPoolNames_2 = ["random_loot_primitives"]
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2, lootGroupChance_2)

    core.spawnService.addMobileTemplate("mokk_clan_primalist", mobileTemplate)
Example #23
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('janta_herbalist')
	mobileTemplate.setLevel(74)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(24)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(4)
	mobileTemplate.setMinSpawnDistance(3)
	mobileTemplate.setMaxSpawnDistance(5)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setSocialGroup('janta tribe')
	mobileTemplate.setAssistRange(12)
	
	
	templates = Vector()
	templates.add('object/mobile/shared_dantari_male.iff')
	
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/knife/shared_knife_janta.iff', 4, 1.0)
	weaponTemplates.add(weapontemplate)
	weapontemplate = WeaponTemplate('object/weapon/melee/polearm/shared_lance_staff_janta.iff', 7, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleehit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['random_loot_primitives']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 35
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	core.spawnService.addMobileTemplate('janta_herbalist', mobileTemplate)
	
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('canyon_corsair_scout')
	mobileTemplate.setLevel(42)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("corsairs (canyon corsair)")
	mobileTemplate.setAssistRange(8)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_corsair_scout_hum_f.iff')
	templates.add('object/mobile/shared_dressed_corsair_scout_hum_m.iff')
	templates.add('object/mobile/shared_dressed_corsair_scout_rod_m.iff')
	templates.add('object/mobile/shared_dressed_corsair_scout_wee_m.iff')
	
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/polearm/shared_lance_cryo.iff', WeaponType.UNARMED, 3.2, 6, 'energy')
	
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	
	
	core.spawnService.addMobileTemplate('canyon_corsair_scout', mobileTemplate)
	return
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('corellia_corsec_rogue')
	mobileTemplate.setLevel(18)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(15)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(1)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("corsec")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(192)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_corsec_captain_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_02.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_03.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_male_01.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_cdef.iff', 1, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('rogue_corsec_trooper18', mobileTemplate)
	return
Example #26
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('clone_relics__claw_grunt')
	mobileTemplate.setLevel(20)
	mobileTemplate.setMinLevel(20)
	mobileTemplate.setMaxLevel(20)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(5)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(6)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("clone relics claw")
	mobileTemplate.setAssistRange(0)
	mobileTemplate.setStalker(False)
	
	templates = Vector()
	templates.add('object/mobile/shared_ep3_clone_relics_claw_grunt_01.iff')
	templates.add('object/mobile/shared_ep3_clone_relics_claw_grunt_02.iff')
	templates.add('object/mobile/shared_ep3_clone_relics_claw_grunt_03.iff')
	templates.add('object/mobile/shared_ep3_clone_relics_claw_grunt_04.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	
	core.spawnService.addMobileTemplate('claw_thug', mobileTemplate)
	return
Example #27
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('nightsister_initiate')
	mobileTemplate.setLevel(76)
	mobileTemplate.setDifficulty(1)
	mobileTemplate.setAttackRange(6)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(4)
	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(6)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setStalker(True)
	mobileTemplate.setSocialGroup('nightsister')
	mobileTemplate.setAssistRange(12)
	mobileTemplate.setRespawnTime(300)
	mobileTemplate.setOptionsBitmask(192)
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_dathomir_nightsister_initiate.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/sword/shared_sword_01.iff', 4, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleehit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['jedi_relic_1']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 85
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	
	core.spawnService.addMobileTemplate('nightsister_initiate', mobileTemplate)
Example #28
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()

	mobileTemplate.setCreatureName('corsec_sergeant')
	mobileTemplate.setLevel(32)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup("corsec")
	mobileTemplate.setAssistRange(6)
	mobileTemplate.setStalker(True)
	mobileTemplate.setOptionsBitmask(128)

	templates = Vector()
	templates.add('object/mobile/shared_dressed_corsec_captain_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_02.iff')
	templates.add('object/mobile/shared_dressed_corsec_captain_human_male_03.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_officer_human_male_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_detective_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_corsec_detective_human_male_01.iff')
	mobileTemplate.setTemplates(templates)

	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_cdef.iff', WeaponType.CARBINE, 1.0, 15, 'energy')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)

	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedShot')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 100
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	core.spawnService.addMobileTemplate('corsec_sergeant', mobileTemplate)
	return
Example #29
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("tusken_raider_zealot")
    mobileTemplate.setLevel(5)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    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")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/rifle/shared_rifle_tusken_generic.iff", WeaponType.RIFLE, 1.0, 24, "kinetic"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("rangedShotrifle")
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ["Junk"]
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1, lootGroupChance_1)

    lootPoolNames_2 = ["batons", "random_loot_rifles"]
    lootPoolChances_2 = [60, 40]
    lootGroupChance_2 = 20
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2, lootGroupChance_2)

    lootPoolNames_3 = ["tusken_raider_clothing"]
    lootPoolChances_3 = [100]
    lootGroupChance_3 = 10
    mobileTemplate.addToLootGroups(lootPoolNames_3, lootPoolChances_3, lootGroupChance_3)

    lootPoolNames_4 = ["Colorcrystals"]
    lootPoolChances_4 = [100]
    lootGroupChance_4 = 6
    mobileTemplate.addToLootGroups(lootPoolNames_4, lootPoolChances_4, lootGroupChance_4)

    core.spawnService.addMobileTemplate("tusken_zealot", mobileTemplate)
    return
Example #30
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('janta_hunter')
	mobileTemplate.setLevel(76)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(3)
	mobileTemplate.setMaxSpawnDistance(5)
	mobileTemplate.setDeathblow(True)
	mobileTemplate.setSocialGroup('janta tribe')
	mobileTemplate.setAssistRange(12)
	
	
	templates = Vector()
	templates.add('object/mobile/shared_dantari_male.iff')
	
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/knife/shared_knife_janta.iff', WeaponType.ONEHANDEDMELEE, 1.0, 5, 'kinetic')
	weaponTemplates.add(weapontemplate)
	weapontemplate = WeaponTemplate('object/weapon/melee/polearm/shared_lance_staff_janta.iff', WeaponType.POLEARMMELEE, 1.0, 6, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleehit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['random_loot_primitives']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 35
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	core.spawnService.addMobileTemplate('janta_hunter', mobileTemplate)
	
Example #31
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('gifted_gondula_shaman')
    mobileTemplate.setLevel(79)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('gondula tribe')
    mobileTemplate.setAssistRange(1)
    mobileTemplate.setOptionsBitmask(128)
    mobileTemplate.setStalker(True)

    templates = Vector()
    templates.add('object/mobile/shared_dressed_ewok_f_01.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_02.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_03.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_04.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_05.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_06.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_07.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_08.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_09.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_10.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_11.iff')
    templates.add('object/mobile/shared_dressed_ewok_f_12.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_01.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_02.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_03.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_04.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_05.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_06.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_07.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_08.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_09.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_10.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_11.iff')
    templates.add('object/mobile/shared_dressed_ewok_m_12.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('meleeHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_2 = ['random_loot_primitives']
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 35
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2,
                                   lootGroupChance_2)

    core.spawnService.addMobileTemplate('gifted_gondula_shaman',
                                        mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('afarathu_cult_brute')
    mobileTemplate.setLevel(30)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("afarathu")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)

    templates = Vector()
    templates.add('object/mobile/shared_dressed_selonian_m_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_12.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_12.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/polearm/shared_polearm_vibro_axe.iff',
        WeaponType.POLEARMMELEE, 1.0, 5, 'kinetic')
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('meleeHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    core.spawnService.addMobileTemplate('afarathu_cult_follower',
                                        mobileTemplate)
    return
Example #33
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('selonian_warrior')
    mobileTemplate.setLevel(38)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(15)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(1)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("selonian")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(192)

    templates = Vector()
    templates.add('object/mobile/shared_dressed_selonian_m_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_12.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_12.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/ranged/carbine/shared_carbine_e11.iff', 1, 1.0)
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('rangedShot')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    core.spawnService.addMobileTemplate('selonian_warrior', mobileTemplate)
    return
Example #34
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('dark_jedi_master')
    mobileTemplate.setLevel(90)
    mobileTemplate.setDifficulty(Difficulty.BOSS)

    mobileTemplate.setMinSpawnDistance(3)
    mobileTemplate.setMaxSpawnDistance(5)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('dark jedi')
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setRespawnTime(300)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE)

    templates = Vector()
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_female_twk_01.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_female_twk_02.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_female_zab_01.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_female_zab_02.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_male_human_01.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_male_human_04.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_male_human_05.iff')
    templates.add(
        'object/mobile/shared_dressed_dark_jedi_master_male_human_06.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/sword/crafted_saber/shared_sword_lightsaber_one_handed_gen5.iff',
        WeaponType.ONEHANDEDSABER, 1.0, 6, 'energy')
    weaponTemplates.add(weapontemplate)
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/2h_sword/crafted_saber/shared_sword_lightsaber_two_handed_gen5.iff',
        WeaponType.TWOHANDEDSABER, 1.0, 6, 'energy')
    weaponTemplates.add(weapontemplate)
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/polearm/crafted_saber/shared_sword_lightsaber_polearm_gen5.iff',
        WeaponType.POLEARMSABER, 1.0, 6, 'energy')
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('saberHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_2 = ['jedi_relic_1']
    lootPoolChances_2 = [100]
    lootGroupChance_2 = 85
    mobileTemplate.addToLootGroups(lootPoolNames_2, lootPoolChances_2,
                                   lootGroupChance_2)

    lootPoolNames_3 = ['powercrystals_hiq']
    lootPoolChances_3 = [100]
    lootGroupChance_3 = 12
    mobileTemplate.addToLootGroups(lootPoolNames_3, lootPoolChances_3,
                                   lootGroupChance_3)

    lootPoolNames_4 = ['random_stat_jewelry']
    lootPoolChances_4 = [100]
    lootGroupChance_4 = 8
    mobileTemplate.addToLootGroups(lootPoolNames_4, lootPoolChances_4,
                                   lootGroupChance_4)

    lootPoolNames_5 = ['sithholocrons']
    lootPoolChances_5 = [100]
    lootGroupChance_5 = 3
    mobileTemplate.addToLootGroups(lootPoolNames_5, lootPoolChances_5,
                                   lootGroupChance_5)

    core.spawnService.addMobileTemplate('dark_jedi_master', mobileTemplate)
Example #35
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('afarathu_cult_hellion')
    mobileTemplate.setLevel(30)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("afarathu")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add('object/mobile/shared_dressed_selonian_m_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_m_12.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_01.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_02.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_03.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_04.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_05.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_06.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_07.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_08.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_09.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_10.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_11.iff')
    templates.add('object/mobile/shared_dressed_selonian_f_12.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/ranged/carbine/shared_carbine_e11.iff',
        WeaponType.CARBINE, 1.0, 15, 'energy')
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('rangedShot')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 100
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    core.spawnService.addMobileTemplate('afarathu_cult_hellion',
                                        mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('outbreak_afflicted_lvl_70')
    mobileTemplate.setLevel(70)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(5)
    mobileTemplate.setMaxSpawnDistance(10)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setSocialGroup('undead')
    mobileTemplate.setAssistRange(15)
    mobileTemplate.setRespawnTime(300)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_01_f.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_01_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_02_f.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_03_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_04_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_05_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_06_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_07_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_08_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_09_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_10_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_11_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_12_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_13_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_14_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_15_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_16_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_17_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_18_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_19_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_20_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_21_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_22_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_23_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_24_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_25_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_26_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_27_m.iff')
    templates.add('object/mobile/shared_outbreak_undead_deathtrooper_28_m.iff')
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        'object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE,
        0.8, 0, 'energy')
    weaponTemplates.add(weapontemplate)
    weapontemplate = WeaponTemplate(
        'object/weapon/melee/unarmed/shared_unarmed_default.iff',
        WeaponType.ONEHANDEDMELEE, 1.0, 4, 'kinetic')
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack('RangedShot')
    mobileTemplate.setDefaultAttack('MeleeHit')
    mobileTemplate.setAttacks(attacks)

    lootPoolNames_1 = ['Junk']
    lootPoolChances_1 = [100]
    lootGroupChance_1 = 65
    mobileTemplate.addToLootGroups(lootPoolNames_1, lootPoolChances_1,
                                   lootGroupChance_1)

    lootPoolNames_4 = ['random_stat_jewelry']
    lootPoolChances_4 = [100]
    lootGroupChance_4 = 8
    mobileTemplate.addToLootGroups(lootPoolNames_4, lootPoolChances_4,
                                   lootGroupChance_4)

    core.spawnService.addMobileTemplate('outbreak_afflicted_lvl_70',
                                        mobileTemplate)

    return
Example #37
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('panshee_ritualist')
	mobileTemplate.setLevel(71)
	mobileTemplate.setDifficulty(0)
	mobileTemplate.setAttackRange(5)
	mobileTemplate.setAttackSpeed(1.0)
	mobileTemplate.setWeaponType(6)
	mobileTemplate.setMinSpawnDistance(3)
	mobileTemplate.setMaxSpawnDistance(5)
	mobileTemplate.setDeathblow(False)
	mobileTemplate.setScale(1)
	mobileTemplate.setSocialGroup('panshee tribe')
	mobileTemplate.setAssistRange(1)
	mobileTemplate.setOptionsBitmask(128)
	mobileTemplate.setStalker(True)
	
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_ewok_f_01.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_02.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_03.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_04.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_05.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_06.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_07.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_08.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_09.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_10.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_11.iff')
	templates.add('object/mobile/shared_dressed_ewok_f_12.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_01.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_02.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_03.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_04.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_05.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_06.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_07.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_08.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_09.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_10.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_11.iff')
	templates.add('object/mobile/shared_dressed_ewok_m_12.iff')
	
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0)
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	lootPoolNames_1 = ['Junk']
	lootPoolChances_1 = [100]
	lootGroupChance_1 = 65
	mobileTemplate.addToLootGroups(lootPoolNames_1,lootPoolChances_1,lootGroupChance_1)
	
	lootPoolNames_2 = ['random_loot_primitives']
	lootPoolChances_2 = [100]
	lootGroupChance_2 = 35
	mobileTemplate.addToLootGroups(lootPoolNames_2,lootPoolChances_2,lootGroupChance_2)
	
	core.spawnService.addMobileTemplate('panshee_ritualist', mobileTemplate)
	return