Exemplo n.º 1
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('respec_seller')
    mobileTemplate.setLevel(1)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)
    mobileTemplate.setSocialGroup("township")
    mobileTemplate.setOptionsBitmask(Options.CONVERSABLE
                                     | Options.INVULNERABLE)
    mobileTemplate.setConversationFileName('respec')

    templates = Vector()
    templates.add('object/mobile/shared_respec_seller_f_1.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('professioncounselor', mobileTemplate)
    return
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('outbreak_imperial_officer_captain_piett')
	mobileTemplate.setLevel(1)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setOptionsBitmask(Options.INVULNERABLE | Options.CONVERSABLE)
	mobileTemplate.setConversationFileName('outbreak_imperial_officer_captain_piett')
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_imperial_officer_firmus_piett.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 0, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	core.spawnService.addMobileTemplate('outbreak_imperial_officer_captain_piett', mobileTemplate)
	return
Exemplo n.º 3
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('respec_seller')
	mobileTemplate.setLevel(1)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)
	mobileTemplate.setSocialGroup("township")
	mobileTemplate.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE)
	mobileTemplate.setConversationFileName('respec')
		
	templates = Vector()
	templates.add('object/mobile/shared_respec_seller_f_1.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('professioncounselor', mobileTemplate)
	return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

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

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setOptionsBitmask(Options.CONVERSABLE)
    mobileTemplate.setConversationFileName(
        'storm_trooper_leader_quarantine_zone')

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

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

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

    core.spawnService.addMobileTemplate(
        'outbreak_facility_stormtrooper_survivor', mobileTemplate)
    return
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('outbreak_facility_stormtrooper_survivor')
	mobileTemplate.setLevel(90)
	mobileTemplate.setDifficulty(Difficulty.BOSS)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setOptionsBitmask(Options.CONVERSABLE)
	mobileTemplate.setConversationFileName('storm_trooper_leader_quarantine_zone')
	
	templates = Vector()
	templates.add('object/mobile/shared_stormtrooper.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE, 1.0, 0, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	core.spawnService.addMobileTemplate('outbreak_facility_stormtrooper_survivor', mobileTemplate)
	return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

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

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setOptionsBitmask(Options.CONVERSABLE)
    mobileTemplate.setConversationFileName(
        'outbreak_imperial_trooper_gate_keeper'
    )  #Needs correct conversation when made

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

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

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

    core.spawnService.addMobileTemplate(
        'outbreak_stormtrooper_groupleader_hx138', mobileTemplate)
    return
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('outbreak_stormtrooper_groupleader_hx138')
	mobileTemplate.setLevel(90)
	mobileTemplate.setDifficulty(Difficulty.BOSS)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setOptionsBitmask(Options.CONVERSABLE)
	mobileTemplate.setConversationFileName('outbreak_imperial_trooper_gate_keeper') #Needs correct conversation when made
	
	templates = Vector()
	templates.add('object/mobile/shared_stormtrooper.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/ranged/rifle/shared_rifle_e11.iff', WeaponType.RIFLE, 1.0, 0, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('rangedHit')
	mobileTemplate.setAttacks(attacks)
	
	core.spawnService.addMobileTemplate('outbreak_stormtrooper_groupleader_hx138', mobileTemplate)
	return
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('outbreak_imperial_officer_captain_piett')
    mobileTemplate.setLevel(1)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setOptionsBitmask(Options.INVULNERABLE
                                     | Options.CONVERSABLE)
    mobileTemplate.setConversationFileName(
        'outbreak_imperial_officer_captain_piett')

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

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

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

    core.spawnService.addMobileTemplate(
        'outbreak_imperial_officer_captain_piett', mobileTemplate)
    return
Exemplo n.º 9
0
def addTemplate(core):
	mobileTemplate = MobileTemplate()
	
	mobileTemplate.setCreatureName('rebel_recruiter')
	mobileTemplate.setLevel(1)
	mobileTemplate.setDifficulty(Difficulty.NORMAL)

	mobileTemplate.setMinSpawnDistance(4)
	mobileTemplate.setMaxSpawnDistance(8)
	mobileTemplate.setOptionsBitmask(Options.INVULNERABLE | Options.CONVERSABLE)
	mobileTemplate.setConversationFileName('reb_recruiter')
	
	templates = Vector()
	templates.add('object/mobile/shared_dressed_rebel_recruiter_human_female_01.iff')
	templates.add('object/mobile/shared_dressed_rebel_recruiter_human_female_02.iff')
	templates.add('object/mobile/shared_dressed_rebel_recruiter_moncal_male_01.iff')
	templates.add('object/mobile/shared_dressed_rebel_recruiter_twilek_female_01.iff')
	mobileTemplate.setTemplates(templates)
	
	weaponTemplates = Vector()
	weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 0, 'kinetic')
	weaponTemplates.add(weapontemplate)
	mobileTemplate.setWeaponTemplateVector(weaponTemplates)
	
	attacks = Vector()
	mobileTemplate.setDefaultAttack('meleeHit')
	mobileTemplate.setAttacks(attacks)
	
	core.spawnService.addMobileTemplate('rebel_recruiter', mobileTemplate)
	return
Exemplo n.º 10
0
def addTemplate(core):
    mobileTemplate = MobileTemplate()

    mobileTemplate.setCreatureName('rebel_recruiter')
    mobileTemplate.setLevel(1)
    mobileTemplate.setDifficulty(Difficulty.NORMAL)

    mobileTemplate.setMinSpawnDistance(4)
    mobileTemplate.setMaxSpawnDistance(8)
    mobileTemplate.setOptionsBitmask(Options.INVULNERABLE
                                     | Options.CONVERSABLE)
    mobileTemplate.setConversationFileName('reb_recruiter')

    templates = Vector()
    templates.add(
        'object/mobile/shared_dressed_rebel_recruiter_human_female_01.iff')
    templates.add(
        'object/mobile/shared_dressed_rebel_recruiter_human_female_02.iff')
    templates.add(
        'object/mobile/shared_dressed_rebel_recruiter_moncal_male_01.iff')
    templates.add(
        'object/mobile/shared_dressed_rebel_recruiter_twilek_female_01.iff')
    mobileTemplate.setTemplates(templates)

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

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

    core.spawnService.addMobileTemplate('rebel_recruiter', mobileTemplate)
    return