Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Sniper weaponset with combine weapon -->
- <WeaponSetUpdate
- id="ModuleTag_WeaponSetUpdate">
- <WeaponSlotHardpoint
- ID="1"
- AllowInterleavedFiring="false"
- InterleavedStyle="INTERLEAVE_FIRST_AVAILABLE"
- WeaponChoiceCriteria="PREFER_MOST_DAMAGE">
- <Weapon
- Ordering="PRIMARY_WEAPON"
- Template="SIGMA_SniperRifle" />
- <Weapon
- Ordering="PRIMARY_WEAPON"
- Template="SIGMA_SniperRifle_Combined"
- ObjectStatus="COMBINED_ATTACHED" />
- </WeaponSlotHardpoint>
- </WeaponSetUpdate>
- <!-- Sniper combine modules -->
- <CombineSpecialPower
- id="ModuleTag_CombineSpecialPower"
- SpecialPowerTemplate="SpecialPower_SIGMA_CombineWithUnit"
- UpdateModuleStartsAttack="false" />
- <AISpecialPowerUpdate
- id="ModuleTag_AlienCombineAI"
- CommandButtonName="Command_SIGMA_CombineWithUnit"
- SpecialPowerAIType="SPECIAL_POWER_BUFF_ALLY"
- SpecialPowerRadius="50.0"
- UnitKindOf="VEHICLE"
- AllyUnitExclude="HARVESTER AIRCRAFT EXPANSION_UNIT" />
- <!-- Predator uncombine module -->
- <UncombineSpecialPower
- id="ModuleTag_SpecialPowerUncombine"
- SpecialPowerTemplate="SpecialPower_SIGMA_UncombineWithUnit" />
- <!-- Specialpowers -->
- <SpecialPowerTemplate
- id="SpecialPower_SIGMA_CombineWithUnit"
- TargetType="OBJECT"
- Flags="NEEDS_OBJECT_FILTER"
- NameOfVoiceNameToUseAsInitiateIntendToDoVoice="CombineWithUnit" >
- <ObjectFilter Relationship="SAME_PLAYER" Rule="NONE">
- <IncludeThing>GDIMammoth</IncludeThing>
- <IncludeThing>GDIPredator</IncludeThing>
- </ObjectFilter>
- </SpecialPowerTemplate>
- <SpecialPowerTemplate
- id="SpecialPower_SIGMA_UncombineWithUnit"
- TargetType="NONE"
- InitiateSound="ALI_Buzzers_Uncombine"
- NameOfVoiceNameToUseAsInitiateIntendToDoVoice="UncombineWithUnit"
- RequiredConditions="COMBINED_PARENT"
- />
- <!-- Logiccommands -->
- <LogicCommand
- Type="SPECIAL_POWER"
- id="Command_SIGMA_CombineWithUnit">
- <SpecialPower>SpecialPower_SIGMA_CombineWithUnit</SpecialPower>
- </LogicCommand>
- <LogicCommand
- Type="SPECIAL_POWER"
- id="Command_SIGMA_Uncombine">
- <SpecialPower>SpecialPower_SIGMA_UncombineWithUnit</SpecialPower>
- </LogicCommand>
- <!-- unitabilitybuttons -->
- <TargetedSpecialPowerButton
- Id="Command_SIGMA_CombineWithUnit"
- ValidTargetCursor="Bombard">
- <State
- Image="Button_AbilityBuzzersCombine"
- Title="NAME:AbilityBuzzersCombine"
- Description="DESC:AbilityBuzzersCombine" />
- </TargetedSpecialPowerButton>
- <SpecialPowerButton
- Id="Command_SIGMA_Uncombine">
- <State
- Image="Button_AbilityBuzzersUncombine"
- Title="NAME:AbilityBuzzersUncombine"
- Description="DESC:AbilityBuzzersUncombine" />
- </SpecialPowerButton>
- <!-- scriptedmodeldraw additions to sniper and predator -->
- <!-- predator -->
- <ScriptedModelDraw
- id="ModuleTag_DrawCombined">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT" />
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="COMBINED_PARENT">
- </ModelConditionState>
- </ScriptedModelDraw>
- <!-- sniper -->
- <ScriptedModelDraw
- id="ModuleTag_DrawCombined">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT" />
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="COMBINED_CHILD">
- </ModelConditionState>
- </ScriptedModelDraw>
- <!-- sniper combined weapon with combined update -->
- <WeaponTemplate
- id="SIGMA_SniperRifle_Combined"
- Name="SIGMA_SniperRifle_Combined"
- AttackRange="450.0"
- WeaponSpeed="999999.0"
- PreAttackType="PER_SHOT"
- RadiusDamageAffects="ALLIES ENEMIES NEUTRALS"
- ClipSize="1"
- CanFireWhileMoving="true"
- RequiredFiringObjectStatus="COMBINED_ATTACHED"
- FireSoundPerClip="GDI_Sniper_RifleFire"
- FireFX="FX_GDISniperFire"
- FireVeteranFX="FX_GDISniperFireHeroic">
- <PreAttackDelay
- MinSeconds=".2s"
- MaxSeconds=".2s" />
- <FiringDuration
- MinSeconds="2.00s"
- MaxSeconds="2.02s" />
- <ClipReloadTime
- MinSeconds="0.1s"
- MaxSeconds="0.1s" />
- <Nuggets>
- <DamageNugget
- Damage="500.0"
- Radius="0.0"
- DelayTimeSeconds="0s"
- DamageType="SNIPER"
- DamageFXType="GDI_RIFLE"
- DeathType="NORMAL">
- <SpecialObjectFilter Rule="ALL" Exclude="STRUCTURE VEHICLE" />
- </DamageNugget>
- <SuppressionNugget
- Radius="15.0"
- Suppression="250"
- DurationSeconds="10s">
- <SpecialObjectFilter Rule="ALL" Exclude="STRUCTURE" />
- </SuppressionNugget>
- </Nuggets>
- <CombinedAttackObjectFilter
- Rule="ANY"
- Include="INFANTRY"
- Relationship="ENEMIES"/>
- </WeaponTemplate>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement