Can someone please help (Code not working)
I have this ability
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetWithTravel"
instantActionTriggerType "AlwaysPerform"
buffType "BuffAsgardBeamsCapital"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 5
object "Titan"
object "CapitalShip"
object "Frigate"
object "PlanetModule"
object "StarBase"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 5000.000000
Level:1 5500.000000
Level:2 6000.000000
Level:3 0.000000
travelSpeed 1750.000000
hasWeaponEffects TRUE
weaponEffectOriginType "Targetter"
weaponEffectAttachInfo
attachType "Ability"
abilityIndex 0
weaponEffectImpactOffsetType "RandomMesh"
canWeaponEffectHitHull TRUE
canWeaponEffectHitShields TRUE
weaponEffectsDef
weaponType "Projectile"
burstCount 1
burstDelay 0.100000
fireDelay 0.000000
muzzleEffectName "Weapon_Psi_BeamCapital_Muzzle"
muzzleSoundMinRespawnTime 0.100000
muzzleSounds
soundCount 1
sound "WEAPON_ASGARDBEAMS_MUZZLE"
hitEffectName "CapitalAbility_BeamBlastImpact"
hitHullEffectSounds
soundCount 1
sound "WEAPON_ASGARDBEAMS_MUZZLE"
hitShieldsEffectSounds
soundCount 1
sound "WEAPON_ASGARDBEAMS_MUZZLE"
projectileTravelEffectName "Weapon_AsgardBeam_Travel"
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget TRUE
isUltimateAbility FALSE
maxNumLevels 3
levelSourceType "Intrinsic"
minExperienceLevelRequired
Level:0 0.000000
Level:1 2.000000
Level:2 4.000000
Level:3 0.000000
aiUseTime "OnlyInCombat"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "AntiMatter"
antiMatterCost
Level:0 100.000000
Level:1 100.000000
Level:2 100.000000
Level:3 0.000000
cooldownTime
Level:0 4.000000
Level:1 3.500000
Level:2 3.000000
Level:3 0.000000
orderAcknowledgementType "ONATTACKORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 1
ResearchPrerequisite
Subject "RESEARCHSUBJECT_ABILITYACCESS_ASGARDBEAMSTAURI"
Level 1
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
nameStringID "IDS_ABILITY_ASGARDBEAM_NAME"
descStringID "IDS_ABILITY_ASGARDBEAM_DESCRIPTION"
hudIcon "HUDICON_RESEARCHSUBJECT_WEAPONDAMAGE_BEAM1"
smallHudIcon "HUDICON_RESEARCHSUBJECT_WEAPONDAMAGE_BEAM1"
infoCardIcon ""
And I am trying to change the weapon with this one
WeaponType "Beam"
damageEnums
AttackType "ANTIHEAVY"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "ENERGY"
WeaponClassType "BEAM"
DamagePerBank:FRONT 1250.000000
DamagePerBank:BACK 0.000000
DamagePerBank:LEFT 0.000000
DamagePerBank:RIGHT 0.000000
Range 6500.000000
PreBuffCooldownTime 10.000000
CanFireAtFighter FALSE
SynchronizedTargeting FALSE
PointStaggerDelay 1.300000
TravelSpeed 0.000000
Duration 1.000000
fireConstraintType "Research"
researchPrerequisites
NumResearchPrerequisites 1
ResearchPrerequisite
Subject "RESEARCHSUBJECT_ABILITYACCESS_ASGARDBEAMSTAURI"
Level 1
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
WeaponEffects
weaponType "Beam"
burstCount 1
burstDelay 0.000000
fireDelay 0.000000
muzzleEffectName "Weapon_Psi_BeamCapital_Muzzle"
muzzleSoundMinRespawnTime 1.30000
muzzleSounds
soundCount 1
sound "WEAPON_ASGARDBEAMS_MUZZLE"
hitEffectName "Weapon_Psi_BeamCapital_Hit"
hitHullEffectSounds
soundCount 1
sound ""
hitShieldsEffectSounds
soundCount 1
sound ""
beamEffectSounds
soundCount 1
sound ""
beamGlowTextureName "PsiCapitalBeam_Glow"
beamCoreTextureName "PsiCapitalBeam_Core"
beamWidth 20.000000
beamGlowColor ffffffff
beamCoreColor ffffffff
beamTilingRate 3.000000
What I thought I could do
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetWithTravel"
instantActionTriggerType "AlwaysPerform"
buffType "BuffAsgardBeamsCapital"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 5
object "Titan"
object "CapitalShip"
object "Frigate"
object "PlanetModule"
object "StarBase"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 5000.000000
Level:1 5500.000000
Level:2 6000.000000
Level:3 0.000000
travelSpeed 1750.000000
hasWeaponEffects TRUE
weaponEffectOriginType "Targetter"
weaponEffectAttachInfo
attachType "Ability"
abilityIndex 0
weaponEffectImpactOffsetType "RandomMesh"
canWeaponEffectHitHull TRUE
canWeaponEffectHitShields TRUE
weaponEffectsDef
weaponType "Beam"
burstCount 1
burstDelay 0.000000
fireDelay 0.000000
muzzleEffectName "Weapon_Psi_BeamCapital_Muzzle"
muzzleSoundMinRespawnTime 1.30000
muzzleSounds
soundCount 1
sound "WEAPON_ASGARDBEAMS_MUZZLE"
hitEffectName "Weapon_Psi_BeamCapital_Hit"
hitHullEffectSounds
soundCount 1
sound ""
hitShieldsEffectSounds
soundCount 1
sound ""
beamEffectSounds
soundCount 1
sound ""
beamGlowTextureName "PsiCapitalBeam_Glow"
beamCoreTextureName "PsiCapitalBeam_Core"
beamWidth 20.000000
beamGlowColor ffffffff
beamCoreColor ffffffff
beamTilingRate 3.000000
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget TRUE
isUltimateAbility FALSE
maxNumLevels 3
levelSourceType "Intrinsic"
minExperienceLevelRequired
Level:0 0.000000
Level:1 2.000000
Level:2 4.000000
Level:3 0.000000
aiUseTime "OnlyInCombat"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "AntiMatter"
antiMatterCost
Level:0 100.000000
Level:1 100.000000
Level:2 100.000000
Level:3 0.000000
cooldownTime
Level:0 4.000000
Level:1 3.500000
Level:2 3.000000
Level:3 0.000000
orderAcknowledgementType "ONATTACKORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 1
ResearchPrerequisite
Subject "RESEARCHSUBJECT_ABILITYACCESS_ASGARDBEAMSTAURI"
Level 1
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
nameStringID "IDS_ABILITY_ASGARDBEAM_NAME"
descStringID "IDS_ABILITY_ASGARDBEAM_DESCRIPTION"
hudIcon "HUDICON_RESEARCHSUBJECT_WEAPONDAMAGE_BEAM1"
smallHudIcon "HUDICON_RESEARCHSUBJECT_WEAPONDAMAGE_BEAM1"
infoCardIcon ""
I cant seem to get it working, the ability still goes off but no mesh for the beam comes up if anyone can help me I would appreciate it greatly.