
Originally Posted by
ajlsunrise
You're welcome, even though I don't think you're getting the point I'm trying to make. But alas, that is more likely my fault than yours.
ajlsunrise.
you know how to build multible turrets with a single build action.
i have ben "stealing" the idea of another mod,,,, building 4 turrets at once.
and eventhough i copy the code,, it wont work when i do it... really strange... please take a look and tell me whats wrong
build menu
Code:
{
Type = SubSystem,
ThingToBuild = "vgr_qje_quadflechette_stbdF4",
RequiredResearch = "",
RequiredFleetSubSystems = "",
RequiredShipSubSystems = "",
DisplayPriority = 73,
DisplayedName = "CanadusTest",
Description = "Bygger et turret hvis det virker" },
{
Type = SubSystem,
ThingToBuild = "vgr_qje_quadflechette_stbdF5",
RequiredResearch = "unbuildable",
DisplayPriority = 0,},
{
Type = SubSystem,
ThingToBuild = "vgr_qje_quadflechette_stbdF6",
RequiredResearch = "unbuildable",
DisplayPriority = 0,},
{
Type = SubSystem,
ThingToBuild = "vgr_qje_quadflechette_stbdF7",
RequiredResearch = "unbuildable",
DisplayPriority = 0,},
Vgr_mothership
Code:
StartShipHardPointConfig(NewShipType,"Weapon 9","Hardpoint_Canadus1","Weapon","Sensors","Damageable","","vgr_qje_quadflechette_stbdF4")
StartShipHardPointConfig(NewShipType,"Weapon 10","Hardpoint_Canadus2","Weapon","Sensors","Damageable","","vgr_qje_quadflechette_stbdF5")
StartShipHardPointConfig(NewShipType,"Weapon 11","Hardpoint_Canadus3","Weapon","Sensors","Damageable","","vgr_qje_quadflechette_stbdF6")
StartShipHardPointConfig(NewShipType,"Weapon 12","Hardpoint_Canadus4","Weapon","Sensors","Damageable","","vgr_qje_quadflechette_stbdF7")
subsystem .sub file
Code:
NewSubSystemType = StartSubSystemConfig()
NewSubSystemType.displayedName = "Double Kinetic Cannon"
NewSubSystemType.sobDescription = "Adv. Anti-Frigate"
NewSubSystemType.tacticalIcon = "hexagon"
NewSubSystemType.tacticalIconMinSize = 0.0035
NewSubSystemType.tacticalIconMinFadeSize = 0.0045
NewSubSystemType.tacticalIconMaxFadeSize = 0.008
NewSubSystemType.groupMergeSize = 0.001
NewSubSystemType.mouseOverMinFadeSize = 0.045
NewSubSystemType.mouseOverMaxFadeSize = 0.1
NewSubSystemType.maxhealth = 25000
NewSubSystemType.regentime = 250
NewSubSystemType.nlips = 0
NewSubSystemType.nlipsRange = 0
NewSubSystemType.nlipsFar = 0
NewSubSystemType.nlipsFarRange = 0
NewSubSystemType.meshRenderLimit = 0.004
NewSubSystemType.minimumZoomFactor = 0.6800000000000001
NewSubSystemType.selectionLimit = 5000
NewSubSystemType.preciseATILimit = 5000
NewSubSystemType.selectionPriority = 37.5
NewSubSystemType.type = "Weapon"
NewSubSystemType.typeString = "DoubleKineticCannonF4"
NewSubSystemType.collateralDamage = 100
NewSubSystemType.inactiveTimeAfterDamage = 80
NewSubSystemType.activateHealthPercentage = 0.1
NewSubSystemType.costToBuild = 1
NewSubSystemType.timeToBuild = 1
NewSubSystemType.isResearch = 0
NewSubSystemType.visible = 1
LoadSharedModel(NewSubSystemType, "vgr_qje_quadflechette_stbd")
NewSubSystemType.BuildFamily = "SubSystem_Vgr"
NewSubSystemType.AttackFamily = "SubSystem"
NewSubSystemType.DockFamily = "CantDock"
NewSubSystemType.DisplayFamily = "Weapon"
NewSubSystemType.ArmourFamily = "SubSystemArmour"
StartSubSystemWeaponConfig(NewSubSystemType,"vgr_qje_quadflechette","Weapon_StbdAft","Weapon_Flechette")
i hope this is all the info you need to look where i messed up..
thanks for your time... it is really apriciated.
cheers
Canadus