Example #1
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()
    templates = Vector()
    templates.add("object/mobile/shared_womp_rat.iff")
    mobileTemplate.setTemplates(templates)
    mobileTemplate.setLevel(5)
    attacks = Vector()
    mobileTemplate.setDefaultAttack("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)
    core.spawnService.addMobileTemplate("womprat", mobileTemplate)
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("female_great_grass_plains_tusk_cat")
    mobileTemplate.setLevel(16)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Carnivore Meat")
    mobileTemplate.setMeatAmount(65)
    mobileTemplate.setHideType("Bristly Hide")
    mobileTemplate.setHideAmount(35)
    mobileTemplate.setBoneType("Animal Bones")
    mobileTemplate.setBoneAmount(30)
    mobileTemplate.setSocialGroup("self")
    mobileTemplate.setAssistRange(2)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_tusk_cat_hue.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()
    attacks.add("bm_claw_1")
    attacks.add("bm_slash_1")
    mobileTemplate.setDefaultAttack("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("minor_gubbur")
    mobileTemplate.setLevel(22)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Canivore Meat")
    mobileTemplate.setMeatAmount(3)
    mobileTemplate.setHideType("Leathery Hide")
    mobileTemplate.setHideAmount(2)
    mobileTemplate.setBoneType("Animal Hide")
    mobileTemplate.setBoneAmount(2)
    mobileTemplate.setSocialGroup("gubbur")
    mobileTemplate.setAssistRange(2)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_minor_gubbur.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()
    attacks.add("bm_bite_2")
    attacks.add("bm_damage_poison_1")
    attacks.add("bm_spit_2")
    mobileTemplate.setDefaultAttack("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

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

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(0.5)
    mobileTemplate.setMeatType("Insect Meat")
    mobileTemplate.setMeatAmount(1)
    mobileTemplate.setSocialGroup("arachne")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(128)

    templates = Vector()
    templates.add("object/mobile/shared_arachne.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("arachne_hatchling", mobileTemplate)
    return
Example #5
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("tusken_elite_guard")
    mobileTemplate.setLevel(34)
    mobileTemplate.setDifficulty(1)
    mobileTemplate.setAttackRange(12)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(0)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("tusken raider")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(True)

    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", 0, 1.0)
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

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

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

    mobileTemplate.setCreatureName("crackdown_sand_trooper_hard")
    mobileTemplate.setLevel(50)
    mobileTemplate.setDifficulty(Difficulty.ELITE)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("imperial")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)
    mobileTemplate.setFaction("imperial")
    mobileTemplate.setFactionStatus(FactionStatus.Combatant)

    templates = Vector()
    templates.add("object/mobile/shared_dressed_stormtrooper_sand_trooper_m.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)

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

    mobileTemplate.setCreatureName("heroic_tusken_war_master")
    mobileTemplate.setLevel(90)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("heroic tusken")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setStalker(True)
    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.iff", WeaponType.RIFLE, 1.0, 24, "kinetic"
    )
    weapontemplate1 = WeaponTemplate(
        "object/weapon/melee/baton/shared_baton_gaderiffi_elite.iff", WeaponType.ONEHANDEDMELEE, 1.0, 5, "kinetic"
    )
    weaponTemplates.add(weapontemplate)
    weaponTemplates.add(weapontemplate1)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

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

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

    mobileTemplate.setCreatureName("tatooine_opening_brok")
    mobileTemplate.setLevel(14)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

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

    templates = Vector()
    templates.add("object/mobile/shared_dressed_tatooine_opening_brok.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("brok_ziamzun", mobileTemplate)
    return
Example #9
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("eow_geonosian_imperial_observer")
    mobileTemplate.setLevel(88)
    mobileTemplate.setDifficulty(Difficulty.ELITE)

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

    templates = Vector()
    templates.add("object/mobile/shared_dressed_imperial_officer_m.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("imperial_observer", mobileTemplate)
    return
Example #10
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("corellia_ragtag_sentry")
    mobileTemplate.setLevel(14)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

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

    templates = Vector()
    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")
    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("ragtag_sentry", 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
Example #12
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("kaadu")
    mobileTemplate.setLevel(8)
    mobileTemplate.setMinLevel(8)
    mobileTemplate.setMaxLevel(12)
    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.setMeatType("Avian Meat")
    mobileTemplate.setMeatAmount(120)
    mobileTemplate.setHideType("Leathery Hide")
    mobileTemplate.setHideAmount(85)
    mobileTemplate.setBoneType("Avian Bones")
    mobileTemplate.setBoneAmount(70)
    mobileTemplate.setSocialGroup("kaadu")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(128)

    templates = Vector()
    templates.add("object/mobile/shared_kaadu.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("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

    core.spawnService.addMobileTemplate("kaadu", mobileTemplate)
    return
Example #13
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()
    mobileTemplate.setCreatureName("percussive rasp")
    mobileTemplate.setLevel(40)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(5)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(6)
    mobileTemplate.setMinSpawnDistance(5)
    mobileTemplate.setMaxSpawnDistance(10)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Avian Meat")
    mobileTemplate.setMeatAmount(12)
    mobileTemplate.setBoneType("Avian Bone")
    mobileTemplate.setHideAmount(5)
    mobileTemplate.setSocialGroup("rasp")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)

    templates = Vector()
    templates.add("object/mobile/shared_horned_rasp.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("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("murra")
    mobileTemplate.setLevel(28)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Herbivore Meat")
    mobileTemplate.setMeatAmount(55)
    mobileTemplate.setHideType("Bristly Hide")
    mobileTemplate.setHideAmount(35)
    mobileTemplate.setBoneType("Animal Bones")
    mobileTemplate.setBoneAmount(32)
    mobileTemplate.setSocialGroup("murra")
    mobileTemplate.setAssistRange(2)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_murra.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()
    attacks.add("bm_charge_2")
    attacks.add("bm_defensive_2")
    attacks.add("bm_slash_2")
    mobileTemplate.setDefaultAttack("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("bolma female")
    mobileTemplate.setLevel(60)
    mobileTemplate.setMinLevel(60)
    mobileTemplate.setMaxLevel(60)
    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.setMeatType("Wild Meat")
    mobileTemplate.setMeatAmount(300)
    mobileTemplate.setHideType("Leathery Hide")
    mobileTemplate.setHideAmount(320)
    mobileTemplate.setBoneType("Mammal Bones")
    mobileTemplate.setBoneAmount(300)
    mobileTemplate.setSocialGroup("bolma")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)

    templates = Vector()
    templates.add("object/mobile/shared_bolma_hue.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("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("corsec_trooper")
    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")
    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_trooper", mobileTemplate)
    return
Example #17
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("heroic_tusken_massiff")
    mobileTemplate.setLevel(90)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

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

    templates = Vector()
    templates.add("object/mobile/shared_tusken_massif.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("heroic_tusken_massiff", mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("tatooine_opening_swooper_11")
    mobileTemplate.setLevel(13)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

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

    templates = Vector()
    templates.add("object/mobile/shared_dressed_tatooine_opening_wh_guard.iff")
    mobileTemplate.setTemplates(templates)

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

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

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

    mobileTemplate.setCreatureName("putrid_borgle")
    mobileTemplate.setLevel(63)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setHideType("Leathery Hide")
    mobileTemplate.setHideAmount(5)
    mobileTemplate.setBoneType("Avian Bones")
    mobileTemplate.setBoneAmount(5)
    mobileTemplate.setSocialGroup("borgle")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(128)

    templates = Vector()
    templates.add("object/mobile/shared_borgle.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("putrid_borgle", mobileTemplate)
    return
Example #20
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("kliknik_dark_hunter")
    mobileTemplate.setLevel(74)
    mobileTemplate.setDifficulty(0)
    mobileTemplate.setAttackRange(12)
    mobileTemplate.setAttackSpeed(1.0)
    mobileTemplate.setWeaponType(6)
    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(False)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Carnivore Meat")
    mobileTemplate.setMeatAmount(6)
    mobileTemplate.setHideType("Scaley Hide")
    mobileTemplate.setHideAmount(4)
    mobileTemplate.setSocialGroup("kliknik")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(192)

    templates = Vector()
    templates.add("object/mobile/shared_kliknik.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("creatureRangedAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("rebel_tamed_slice_hound")
    mobileTemplate.setLevel(4)
    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.setMeatType("Carnivore Meat")
    mobileTemplate.setMeatAmount(65)
    mobileTemplate.setHideType("Bristly Hide")
    mobileTemplate.setHideAmount(35)
    mobileTemplate.setBoneType("Mammal Bones")
    mobileTemplate.setBoneAmount(30)
    mobileTemplate.setSocialGroup("slice hound")
    mobileTemplate.setAssistRange(6)
    mobileTemplate.setStalker(False)
    mobileTemplate.setFaction("rebel")
    mobileTemplate.setFactionStatus(1)

    templates = Vector()
    templates.add("object/mobile/shared_corellian_slice_hound.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("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("tusken_raider")
    mobileTemplate.setLevel(30)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

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

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/rifle/shared_rifle_tusken.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_raider", mobileTemplate)
    return
Example #23
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("afarathu_cult_savage")
    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_savage", mobileTemplate)
    return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("rebel_battle_droid")
    mobileTemplate.setLevel(90)
    mobileTemplate.setDifficulty(Difficulty.BOSS)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("rebel")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)
    mobileTemplate.setFaction("rebel")
    mobileTemplate.setFactionStatus(FactionStatus.Combatant)

    templates = Vector()
    templates.add("object/mobile/shared_hailfire_droid.iff")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/droid/shared_droid_rocket_launcher.iff", WeaponType.RIFLE, 1.0, 55, "energy"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

    attacks = Vector()
    mobileTemplate.setDefaultAttack("gcw_rocket_launch")  # fireRocketLauncher #gcw_atst_attack_tower
    mobileTemplate.setAttacks(attacks)

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

    mobileTemplate.setCreatureName("nightsister_spell_weaver")
    mobileTemplate.setLevel(81)
    mobileTemplate.setDifficulty(Difficulty.ELITE)

    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_spellweaver.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("nightsister_spell_weaver", mobileTemplate)
Example #26
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()
    mobileTemplate.setCreatureName("quenker_ravager")
    mobileTemplate.setLevel(67)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(5)
    mobileTemplate.setMaxSpawnDistance(10)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setMeatType("Herbivore Meat")
    mobileTemplate.setMeatAmount(15)
    mobileTemplate.setHideType("Wooly Hide")
    mobileTemplate.setBoneAmount(10)
    mobileTemplate.setBoneType("Animal Bone")
    mobileTemplate.setHideAmount(15)
    mobileTemplate.setSocialGroup("quenker")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setStalker(False)
    mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE | Options.ATTACKABLE)

    templates = Vector()
    templates.add("object/mobile/shared_quenker_hue.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("quenker_ravager", mobileTemplate)
    return
Example #27
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("heroic_tusken_kav_goldor")
    mobileTemplate.setLevel(90)
    mobileTemplate.setDifficulty(Difficulty.BOSS)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setDeathblow(True)
    mobileTemplate.setScale(1)
    mobileTemplate.setSocialGroup("heroic mos espa citizien")
    mobileTemplate.setAssistRange(12)
    mobileTemplate.setStalker(True)
    mobileTemplate.setOptionsBitmask(128)

    templates = Vector()
    templates.add("object/mobile/shared_heroic_tusken_kav_golder.iff")
    mobileTemplate.setTemplates(templates)

    weaponTemplates = Vector()
    weapontemplate = WeaponTemplate(
        "object/weapon/ranged/pistol/shared_pistol_scout_blaster.iff", WeaponType.PISTOL, 1.0, 15, "energy"
    )
    weaponTemplates.add(weapontemplate)
    mobileTemplate.setWeaponTemplateVector(weaponTemplates)

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

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

    mobileTemplate.setCreatureName("mission_stormtrooper")
    mobileTemplate.setLevel(25)
    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("imperial")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)
    mobileTemplate.setFaction("imperial")
    mobileTemplate.setFactionStatus(1)

    templates = Vector()
    templates.add("object/mobile/shared_dressed_dark_trooper_black_hole.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)

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

    mobileTemplate.setCreatureName("korga_ancient")
    mobileTemplate.setLevel(77)
    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("korga_ancient", mobileTemplate)
    return
Example #30
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName("dewback_sandreaver")
    mobileTemplate.setLevel(18)
    mobileTemplate.setMinLevel(17)
    mobileTemplate.setMaxLevel(19)
    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.setMeatType("Reptilian Meat")
    mobileTemplate.setMeatAmount(340)
    mobileTemplate.setHideType("Leathery Hide")
    mobileTemplate.setBoneAmount(260)
    mobileTemplate.setBoneType("Animal Bones")
    mobileTemplate.setHideAmount(185)
    mobileTemplate.setSocialGroup("dewback")
    mobileTemplate.setAssistRange(0)
    mobileTemplate.setStalker(False)

    templates = Vector()
    templates.add("object/mobile/shared_dewback.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("creatureMeleeAttack")
    mobileTemplate.setAttacks(attacks)

    core.spawnService.addMobileTemplate("sandreaver", mobileTemplate)
    return