Hello
I am attempting to use the ReplaceWeapon to make carriers for KA2 V.1.1. The half-squadron (6 ships) version works fine. However, the squadron and double squadron (12 and 24) version has an error.
With the 12 ship version, the last two ships refuse to move, when I order them to i simply get the "cannot comply" voiceover. Also, after I have selected them, I can't drag a selection box any more until i select another ship with a left mouse click.
With the 24 ship version, something even stranger happens. I have the weapon setup to produce 12 Claw Fighters and 12 Sharptooth Bombers. In a similar bug to above, the last two Claw and the last two Sharptooths refuse to move, and cause the same error as above.
Code for the 12 ship version
//Display name for this weapon
wpnName = "Galaxy Class Separation"
//tooltips
tooltip = "Launch Fighters"
verboseTooltip = "Launch the Long Fang Fleet Carriers complement of Claw Fighters."
//Time Delay between shots - not used
//shotDelay = 0.0
//Location of the button in the speed panel
//buttonSlot = 4
// location of the button in the popup palette
//popupSlot = 5
// Priority of button in the speed panel, this is only
// used if it is non-zero.
buttonPriority = 10
//Type of border to use for this button.
//0 = No border.
//1 = Offensive border.
//2 = Defensive border.
//buttonBorder = 2
special = 1
//Programming Stuff DO NOT CHANGE
classLabel = "ReplaceWeapon"
//this special weapon can be assimilated by the borg tech assimilator
//assimilatable = "fedpod1"
replacement0Class0 = "sclaw2" // Fighters
replacement1Class0 = "sclaw2"
replacement2Class0 = "sclaw2"
replacement3Class0 = "sclaw2"
replacement4Class0 = "sclaw2"
replacement5Class0 = "sclaw2"
replacement6Class0 = "sclaw2"
replacement7Class0 = "sclaw2"
replacement8Class0 = "sclaw2"
replacement9Class0 = "sclaw2"
replacement10Class0 = "sclaw2"
replacement11Class0 = "sclaw2"
replacement12Class0 = "scva0" // Fighterless Carrier
replacementCreationType = 3 // Vessel is reported as separated in Admirals Log
replacementkeepName = 1
replacementKeepOwner = 0 // Disabled so that the carrier is replaced
replacement0Class0Position = 10,10,0
replacement1Class0Position = 10,20,0
replacement2Class0Position = 10,30,0
replacement3Class0Position = -10,10,0
replacement4Class0Position = -10,20,0
replacement5Class0Position = -10,30,0
replacement6Class0Position = 10,10,0
replacement7Class0Position = 10,20,0
replacement8Class0Position = 10,30,0
replacement9Class0Position = -10,10,0
replacement10Class0Position = -10,25,0
replacement11Class0Position = -10,35,0
replacement12Class0Position = 0,0,0
eventFire = "replaceweapon"
hotkeyLabel = "HOTKEY_F6"
Code for the 24 ship version
//Display name for this weapon
wpnName = "Galaxy Class Separation"
//tooltips
tooltip = "Launch Fightercraft"
verboseTooltip = "Launch the Alpha Class Supercarriers complement of Claw Fighters and Sharptooth Bombers."
//Time Delay between shots - not used
//shotDelay = 0.0
//Location of the button in the speed panel
//buttonSlot = 4
// location of the button in the popup palette
//popupSlot = 5
// Priority of button in the speed panel, this is only
// used if it is non-zero.
buttonPriority = 10
//Type of border to use for this button.
//0 = No border.
//1 = Offensive border.
//2 = Defensive border.
//buttonBorder = 2
special = 1
//Programming Stuff DO NOT CHANGE
classLabel = "ReplaceWeapon"
//this special weapon can be assimilated by the borg tech assimilator
//assimilatable = "fedpod1"
replacement0Class0 = "sclaw3" // Fighters
replacement1Class0 = "sclaw3"
replacement2Class0 = "sclaw3"
replacement3Class0 = "sclaw3"
replacement4Class0 = "sclaw3"
replacement5Class0 = "sclaw3"
replacement6Class0 = "sclaw3"
replacement7Class0 = "sclaw3"
replacement8Class0 = "sclaw3"
replacement9Class0 = "sclaw3"
replacement10Class0 = "sclaw3"
replacement11Class0 = "sclaw3"
replacement12Class0 = "ssharptooth" // Bombers
replacement13Class0 = "ssharptooth"
replacement14Class0 = "ssharptooth"
replacement15Class0 = "ssharptooth"
replacement16Class0 = "ssharptooth"
replacement17Class0 = "ssharptooth"
replacement18Class0 = "ssharptooth"
replacement19Class0 = "ssharptooth"
replacement20Class0 = "ssharptooth"
replacement21Class0 = "ssharptooth"
replacement22Class0 = "ssharptooth"
replacement23Class0 = "ssharptooth"
replacement24Class0 = "scvb0" // Fighterless Carrier
replacementCreationType = 3 // Vessel is reported as separated in Admirals Log
replacementkeepName = 1
replacementKeepOwner = 0 // Disabled so that the carrier is replaced
replacement0Class0Position = 10,10,0
replacement1Class0Position = 10,20,0
replacement2Class0Position = 10,30,0
replacement3Class0Position = -10,10,0
replacement4Class0Position = -10,20,0
replacement5Class0Position = -10,30,0
replacement6Class0Position = 10,10,0
replacement7Class0Position = 10,20,0
replacement8Class0Position = 10,30,0
replacement9Class0Position = -10,10,0
replacement10Class0Position = -10,20,0
replacement11Class0Position = -10,30,0
replacement12Class0Position = 10,10,0
replacement13Class0Position = 10,20,0
replacement14Class0Position = 10,30,0
replacement15Class0Position = -10,10,0
replacement16Class0Position = -10,20,0
replacement17Class0Position = -10,30,0
replacement18Class0Position = 10,10,0
replacement19Class0Position = 10,20,0
replacement20Class0Position = 10,30,0
replacement21Class0Position = -10,10,0
replacement22Class0Position = -10,20,0
replacement23Class0Position = -10,30,0
replacement24Class0Position = 0,0,0
eventFire = "replaceweapon"
hotkeyLabel = "HOTKEY_F6"