Oh the Weapons...
Just a short question...
... but what is wrong with this that keeps it from working properly?
By that i mean the second weapon simply doesn't seem to exist ingame.
:
TXT
entityType "Frigate"
defaultAutoAttackRange "GravityWell"
defaultAutoAttackOn TRUE
prefersToFocusFire TRUE
autoJoinFleetDefault TRUE
canBomb FALSE
frigateRoleType "Light"
statCountType "FrigateLight"
mainViewIcon "MAINVIEWICON_FRIGATE_TECHLIGHT"
picture "PICTURE_FRIGATE_TECHLIGHT"
NameStringID "IDS_FRIGATE_TECHLIGHT_NAME"
DescriptionStringID "IDS_FRIGATE_TECHLIGHT_DESCRIPTION"
counterDescriptionStringID "IDS_COUNTERDESC_FRIGATE_LIGHT"
basePrice
credits 300.000000
metal 55.000000
crystal 0.000000
slotCount 5.000000
BuildTime 24.000000
hasLevels FALSE
ExperiencePointsForDestroying 30.000000
MaxHullPoints 600.000000
MaxShieldPoints 350.000000
HullPointRestoreRate 1.000000
ShieldPointRestoreRate 1.000000
BaseArmorPoints 2.000000
maxMitigation 0.600000
Prerequisites
NumResearchPrerequisites 0
numRandomDebrisLarge 0
numRandomDebrisSmall 5
numSpecificDebris 0
armorType "Medium"
hudIcon "HUDICON_FRIGATE_TECHLIGHT"
smallHudIcon "HUDICONSMALL_FRIGATE_TECHLIGHT"
infoCardIcon "INFOCARDICON_FRIGATE_TECHLIGHT"
minZoomDistanceMult 1.500000
NumWeapons 2
Weapon
WeaponType "Projectile"
damageEnums
AttackType "ANTIHEAVY"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "ENERGY"
WeaponClassType "LASERTECH"
DamagePerBank:FRONT 52.250000
DamagePerBank:BACK 0.000000
DamagePerBank:LEFT 0.000000
DamagePerBank:RIGHT 0.000000
Range 3500.000000
PreBuffCooldownTime 5.500000
CanFireAtFighter FALSE
SynchronizedTargeting TRUE
PointStaggerDelay 0.300000
TravelSpeed 4000.000000
Duration 0.000000
WeaponEffects
weaponType "Projectile"
burstCount 4
burstDelay 0.250000
muzzleEffectName "Weapon_TechCapitalLaserLight_Muzzle"
muzzleSoundMinRespawnTime 0.400000
muzzleSounds
soundCount 3
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE"
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE_ALT1"
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE_ALT2"
hitEffectName "Weapon_TechCapitalLaserLight_Hit"
hitHullEffectSounds
soundCount 1
sound "WEAPONIMPACT_ENERGYLIGHT_HITHULL"
hitShieldsEffectSounds
soundCount 1
sound "WEAPONIMPACT_GENERICLIGHT_HITSHIELDS"
projectileTravelEffectName "MidDBLaser"
Weapon
WeaponType "Projectile"
damageEnums
AttackType "ANTIHEAVY"
DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
DamageApplyType "BACKLOADED"
DamageType "ENERGY"
WeaponClassType "LASERTECH"
DamagePerBank:FRONT 52.250000
DamagePerBank:BACK 0.000000
DamagePerBank:LEFT 0.000000
DamagePerBank:RIGHT 0.000000
Range 3500.000000
PreBuffCooldownTime 5.500000
CanFireAtFighter FALSE
SynchronizedTargeting TRUE
PointStaggerDelay 0.300000
TravelSpeed 4000.000000
Duration 0.000000
WeaponEffects
weaponType "Projectile"
burstCount 4
burstDelay 0.250000
muzzleEffectName "Weapon_TechCapitalLaserLight_Muzzle"
muzzleSoundMinRespawnTime 0.400000
muzzleSounds
soundCount 3
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE"
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE_ALT1"
sound "WEAPON_TECHCAPITALLASERLIGHT_MUZZLE_ALT2"
hitEffectName "Weapon_TechCapitalLaserLight_Hit"
hitHullEffectSounds
soundCount 1
sound "WEAPONIMPACT_ENERGYLIGHT_HITHULL"
hitShieldsEffectSounds
soundCount 1
sound "WEAPONIMPACT_GENERICLIGHT_HITSHIELDS"
projectileTravelEffectName "Weapon_TechCapitalLaserLight_Travel"
m_weaponIndexForRange 0
hasWeaponLevels FALSE
mass 2000.000000
ShieldMeshName "Shield_FrigateTechLight"
maxAccelerationLinear 200.000000
maxAccelerationStrafe 10.000000
maxDecelerationLinear 500.000000
maxAccelerationAngular 3.300000
maxDecelerationAngular 9.999996
maxSpeedLinear 800.000000
squadTypeEntityDef:0 ""
squadAntiMatterCost:0 0.000000
squadTypeEntityDef:1 ""
squadAntiMatterCost:1 0.000000
maxNumCommandPoints 0
NumSoundsFor:ONATTACKORDERISSUED 3
SoundID "FRIGATE_TECHLIGHT_ONATTACKORDERISSUED_0"
SoundID "FRIGATE_TECHLIGHT_ONATTACKORDERISSUED_1"
SoundID "FRIGATE_TECHLIGHT_ONATTACKORDERISSUED_2"
NumSoundsFor:ONCREATION 1
SoundID "FRIGATE_TECHLIGHT_ONCREATION"
NumSoundsFor:ONGENERALORDERISSUED 3
SoundID "FRIGATE_TECHLIGHT_ONGENERALORDERISSUED_0"
SoundID "FRIGATE_TECHLIGHT_ONGENERALORDERISSUED_1"
SoundID "FRIGATE_TECHLIGHT_ONGENERALORDERISSUED_2"
NumSoundsFor:ONSELECTED 3
SoundID "FRIGATE_TECHLIGHT_ONSELECTED_0"
SoundID "FRIGATE_TECHLIGHT_ONSELECTED_1"
SoundID "FRIGATE_TECHLIGHT_ONSELECTED_2"
NumSoundsFor:ONSTARTPHASEJUMP 1
SoundID "FRIGATE_TECHLIGHT_ONSTARTPHASEJUMP_0"
MeshName "Frigate_TechLightIM"
ExhaustParticleSystemName "Exhaust_FrigateTechLight"
ExplosionName "Frigate0"
HyperspaceChargingSoundID "HYPERSPACE_CHARGEUP"
HyperspaceTravelSoundID "HYPERSPACE_TRAVEL"
EngineSoundID "ENGINE_TECHCAPITALSHIP"
ability:0 "AbilitySabotageAntiMatter"
ability:1 ""
ability:2 ""
ability:3 ""
MaxAntiMatter 200.000000
AntiMatterRestoreRate 0.500000
cargoType "Invalid"
maxCargoCapacity 0.000000
formationRank 0
minShadow 0.100000
maxShadow 0.800000
I know it is not that great a mod, but i only started about fourteen hours ago with that stuff and simply wanted to have the frig fire with lascannons of two diffrent colours.
Given that i edited the mesh and verified that the new "weapon slots" are fully functional i'd guess the error has to be somewhere in the entity file, but i simply can't find it. So if somebody with a bit (or a lot) more experience might take a look at the above , i'd be very thankful.