def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_rebel_elite_heavy_trooper_extreme') mobileTemplate.setLevel(89) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(24) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_ris_01.iff') templates.add('object/mobile/shared_dressed_rebel_ris_02.iff') templates.add('object/mobile/shared_dressed_rebel_ris_03.iff') templates.add('object/mobile/shared_dressed_rebel_ris_04.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('decorated_sith_hunter', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName("crackdown_imperial_sharpshooter_hard") mobileTemplate.setLevel(78) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add("object/mobile/shared_dressed_npe_imperial_officer.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("imp_dead-eye_78", mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_imperial_medic_hard') mobileTemplate.setLevel(33) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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(1) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_medic1_human_male_01.iff') templates.add('object/mobile/shared_dressed_imperial_medic3_human_male_01.iff') templates.add('object/mobile/shared_dressed_stormtrooper_medic_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('imp_surgeon_33', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_sand_trooper_extreme') mobileTemplate.setLevel(89) 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_sandtrooper_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('grizzled_elite_sandtrooper', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_inquisitor') mobileTemplate.setLevel(80) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_inquisitor_human_male_01.iff') templates.add('object/mobile/shared_dressed_imperial_inquisitor_human_male_02.iff') templates.add('object/mobile/shared_dressed_imperial_inquisitor_human_male_03.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/melee/baton/shared_baton_stun.iff', WeaponType.ONEHANDEDMELEE, 1.0, 5, 'kinetic') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('imp_inquisitor_80', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('gcw_city_imperial_general') mobileTemplate.setLevel(110) mobileTemplate.setHealth(1000000) mobileTemplate.setDifficulty(Difficulty.BOSS) 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(FactionStatus.Combatant) mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) mobileTemplate.setAIEnabled(False) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_general_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('imp_invasion_general', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCustomName('Lt. Akal Colzet') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setSocialGroup("township") mobileTemplate.setOptionsBitmask(Options.INVULNERABLE) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.OnLeave) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_trainer_space_01.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('akalcolzet', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_civil_patrol_captain') mobileTemplate.setLevel(7) 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("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_patrol_member_01.iff') templates.add('object/mobile/shared_dressed_patrol_member_02.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('civil_partrol_captain', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('veteran_imperial_lieutenant_general') mobileTemplate.setLevel(68) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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_imperial_general_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('vet_imp_lieutenant_general', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_comm_operator') mobileTemplate.setLevel(14) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_npe_imperial_officer.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('imp_comm_op_14', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('rebel_battle_droid') mobileTemplate.setLevel(83) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(24) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_battle_droid.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('battle_droid_rebel', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName("imperial_warrant_officer_ii") mobileTemplate.setLevel(18) 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_npe_imperial_officer.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("imp_warrant_offi_ii", mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('c_syren_4_reb_boss') mobileTemplate.setLevel(82) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(True) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_general_fat_human_male_01.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('general_garax_hadriin', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName("imperial_army_captain") mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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_imperial_captain_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("imp_army_captain", mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('veteran_scout_trooper') mobileTemplate.setLevel(46) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(10) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_scout_trooper_white_white.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE, 1.0, 20, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('vet_scout_trooper', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName("rebel_super_battle_droid") mobileTemplate.setLevel(86) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(12) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add("object/mobile/shared_super_battle_droid.iff") mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate( "object/weapon/melee/unarmed/shared_unarmed_default.iff", WeaponType.CARBINE, 1.0, 15, "energy" ) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack("rangedShot") mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate("sbd_rebel", 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('fbase_stormtrooper_squad_leader_extreme') mobileTemplate.setLevel(86) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(1) 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(1) templates = Vector() templates.add('object/mobile/shared_stormtrooper.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('imp_stormtrooper_colonel_86', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('mission_stormtrooper') mobileTemplate.setLevel(25) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) 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', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('stormtrooper_25', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_command_security_guard_hard') mobileTemplate.setLevel(76) 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_white_black.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_secuirty_guard_76', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_imperial_first_lieutenant_hard') mobileTemplate.setLevel(35) 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_imperial_lieutenant_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('skilled_1st_lieut_35', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName("stormtrooper_dark_trooper_novatrooper") mobileTemplate.setLevel(82) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(12) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) 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", WeaponType.CARBINE, 1.0, 15, "energy" ) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack("rangedShot") mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate("dark_novatrooper", mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('assassin_mission_recruiter_imperial') mobileTemplate.setLevel(16) 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("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_npe_imperial_officer.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('imp_stealth_op', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('stormtrooper_novatrooper_elite') mobileTemplate.setLevel(82) 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(12) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_restuss_dark_trooper.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('elite_novatrooper', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_command_security_guard') mobileTemplate.setLevel(15) 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(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_npe_imperial_officer.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('imp_comm_security_guard_15', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_probot_handler') mobileTemplate.setLevel(15) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_mechanic_nils_cridmeen.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_striker.iff', WeaponType.PISTOL, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('droid_corps_junior_technican', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_elite_dark_trooper_hard') mobileTemplate.setLevel(80) mobileTemplate.setDifficulty(Difficulty.ELITE) 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_dark_trooper.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('opp_7_80', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_stormtrooper_bombardier_hard') mobileTemplate.setLevel(74) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(1) 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(1) templates = Vector() templates.add('object/mobile/shared_dressed_stormtrooper_bombardier_m.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('imp_bombardier_74', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('mission_scout_trooper') mobileTemplate.setLevel(23) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(0) 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(1) templates = Vector() templates.add('object/mobile/shared_dressed_scout_trooper_white_white.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) core.spawnService.addMobileTemplate('scouttrooper', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_stormtrooper_sniper') mobileTemplate.setLevel(75) 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(1) templates = Vector() templates.add('object/mobile/shared_dressed_stormtrooper_sniper_m.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE, 1.0, 20, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('imp_stormsniper_75', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_rebel_guardsman') mobileTemplate.setLevel(25) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_crewman_human_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_female_02.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_02.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_03.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_04.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_guard_25', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_stormtrooper_medic_hard') mobileTemplate.setLevel(89) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add( 'object/mobile/shared_dressed_imperial_medic1_human_male_01.iff') templates.add( 'object/mobile/shared_dressed_imperial_medic3_human_male_01.iff') templates.add('object/mobile/shared_dressed_stormtrooper_medic_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('imp_stormsurgeon_89', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('gcw_city_imperial_captain') mobileTemplate.setLevel(90) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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) mobileTemplate.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) mobileTemplate.setNoAI(True) templates = Vector() templates.add('object/mobile/shared_dressed_imperial_captain_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('imp_invasion_captain', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_rebel_liberator_extreme') mobileTemplate.setLevel(89) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) 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_dressed_rebel_lieutenant_colonel_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_lieutenant_colonel_human_male_02.iff') templates.add('object/mobile/shared_dressed_rebel_lieutenant_colonel_moncal_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_lieutenant_colonel_rodian_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_lieutenant_colonel_rodian_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_lieutenant_colonel_zabrak_male_01.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('grizzled_rebel_liberator', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_rebel_heavy_trooper_hard') mobileTemplate.setLevel(50) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) 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_dressed_rebel_trooper_bith_m_01.iff') templates.add('object/mobile/shared_dressed_rebel_trooper_human_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_trooper_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_trooper_sullustan_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_trooper_twk_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_trooper_twk_male_01.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_weapons_master_50', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_scout_trooper_extreme') mobileTemplate.setLevel(88) 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_scout_trooper_white_white.iff') templates.add('object/mobile/shared_dressed_scout_trooper_m.iff') templates.add('object/mobile/shared_dressed_scout_trooper_black_black.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('grizzled_elite_scouttrooper', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('cheerleader_rebel_commando_hard') mobileTemplate.setLevel(70) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(True) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_commando_human_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_commando_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_commando_moncal_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_commando_rodian_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_commando_twilek_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_commando_zabrak_female_01.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('elite_rebel_commando_70', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('corvette_rebel_engineer') mobileTemplate.setLevel(80) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_crewman_human_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_female_02.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_02.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_03.iff') templates.add('object/mobile/shared_dressed_rebel_crewman_human_male_04.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_dlt20a.iff', WeaponType.RIFLE, 1.0, 24, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_engineer', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName( 'crackdown_imperial_warrant_officer_ii_hard') mobileTemplate.setLevel(33) mobileTemplate.setDifficulty(1) 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_npe_imperial_officer.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('imp_warrant_offi_1st_class_ii_33', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCustomName('A disabled AT-XT') mobileTemplate.setLevel(90) mobileTemplate.setDifficulty(Difficulty.ELITE) 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) mobileTemplate.setOptionsBitmask(Options.ATTACKABLE) mobileTemplate.setAIEnabled(False) templates = Vector() templates.add('object/mobile/shared_atxt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate( 'object/weapon/ranged/vehicle/shared_vehicle_atst_ranged.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('gcw_atst_attack_tower') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_invasion_disabled_atxt', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('mission_rebel_lance_corporal') mobileTemplate.setLevel(15) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("rebel") mobileTemplate.setAssistRange(6) mobileTemplate.setStalker(False) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(FactionStatus.Combatant) templates = Vector() templates.add('object/mobile/shared_dressed_rebel_corporal_bith_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_corporal_bothan_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_corporal_human_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_corporal_moncal_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_corporal_rodian_female_01.iff') templates.add('object/mobile/shared_dressed_rebel_corporal_sullustan_male_01.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_lance_corporal', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('veteran_assault_trooper_squad_leader') mobileTemplate.setLevel(68) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(0) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(5) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add( 'object/mobile/shared_dressed_stormtrooper_assault_trooper_m.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) core.spawnService.addMobileTemplate('Vet_assault_trooper_squad', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_stormtrooper_hard') mobileTemplate.setLevel(90) mobileTemplate.setDifficulty(Difficulty.ELITE) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(True) 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_black_white.iff') templates.add('object/mobile/shared_dressed_stormtrooper_white_black.iff') templates.add('object/mobile/shared_dressed_stormtrooper_white_white.iff') templates.add('object/mobile/shared_dark_trooper.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('imp_invasion_soldier_cl90', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_storm_commando') mobileTemplate.setLevel(16) 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("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_stormtrooper_commando_m.iff') templates.add('object/mobile/shared_dressed_stormtrooper_commando1_m.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('imp_storm_commando_16', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_probot_handler') mobileTemplate.setLevel(15) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(2) mobileTemplate.setMinSpawnDistance(4) mobileTemplate.setMaxSpawnDistance(8) mobileTemplate.setDeathblow(False) mobileTemplate.setScale(1) mobileTemplate.setSocialGroup("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(True) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add( 'object/mobile/shared_dressed_imperial_mechanic_nils_cridmeen.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate( 'object/weapon/ranged/pistol/shared_pistol_striker.iff', 2, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedshot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('droid_corps_junior_technican', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_civil_patrol_corporal') mobileTemplate.setLevel(4) 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("imperial") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_patrol_member_01.iff') templates.add('object/mobile/shared_dressed_patrol_member_02.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('civil_partrol_corporal', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('mission_rebel_army_captain') mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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_dressed_rebel_army_captain_bothan_male.iff') templates.add('object/mobile/shared_dressed_rebel_army_captain_human_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_army_captain_moncal_male_01.iff') templates.add('object/mobile/shared_dressed_rebel_army_captain_trandoshan_female.iff') templates.add('object/mobile/shared_dressed_rebel_army_captain_twk_male.iff') templates.add('object/mobile/shared_dressed_rebel_army_captain_zabrak_female.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate('object/weapon/ranged/carbine/shared_carbine_e5.iff', WeaponType.CARBINE, 1.0, 15, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rebel_army_captain', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('imperial_civil_patrol_captain') mobileTemplate.setLevel(7) mobileTemplate.setDifficulty(Difficulty.NORMAL) 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_patrol_member_01.iff') templates.add('object/mobile/shared_dressed_patrol_member_02.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('civil_partrol_captain', 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('stormtrooper_novatrooper_elite_commander') mobileTemplate.setLevel(83) 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(12) mobileTemplate.setStalker(False) mobileTemplate.setFaction("imperial") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_restuss_dark_trooper.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('elite_novatrooper_commander', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('stranded_rebel_officer') mobileTemplate.setLevel(77) 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("rebel") mobileTemplate.setAssistRange(0) mobileTemplate.setStalker(True) mobileTemplate.setFaction("rebel") mobileTemplate.setFactionStatus(1) templates = Vector() templates.add('object/mobile/shared_dressed_stranded_rebel_officer.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('stranded_rebel_officer', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('veteran_imperial_army_captain') mobileTemplate.setLevel(89) mobileTemplate.setDifficulty(1) 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_imperial_captain_m.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('vet_imperial_army_captain', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('crackdown_elite_sand_trooper') mobileTemplate.setLevel(45) mobileTemplate.setDifficulty(Difficulty.ELITE) 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(FactionStatus.Combatant) templates = Vector() templates.add( 'object/mobile/shared_dressed_stormtrooper_sandtrooper_m.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() weapontemplate = WeaponTemplate( 'object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE, 1.0, 20, 'energy') weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('rangedShot') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('elite_sandtrooper_45_2', mobileTemplate) return
def addTemplate(core): mobileTemplate = MobileTemplate() mobileTemplate.setCreatureName('fbase_stormtrooper_squad_leader_extreme') mobileTemplate.setLevel(55) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(15) mobileTemplate.setAttackSpeed(1.0) mobileTemplate.setWeaponType(1) 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(1) templates = Vector() templates.add('object/mobile/shared_stormtrooper.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('imp_stormtrooper_colonel_55', mobileTemplate) return