Ive managed to get the PuddleJumper for the new Stargate Pack to deploy its weapons pods when activating red alert. Just like the VasKholer and LC Intrepid when warping.
Problem is for some unknown reason, once the ship deploys the pods moving straight outward along the X axis, they bizarley start moving backwards!! until the next model is loaded. The script im using is this...
abbrev = 'PuddleJumper'
iconName = 'PuddleJumper'
longName = 'Puddle Jumper'
shipFile = 'PuddleJumper'
menuGroup = 'Stargate Ships'
playerMenuGroup = 'Stargate Ships'
species = 776
SubMenu = "Ancient"
Foundation.ShipDef.PuddleJumper = Foundation.FedShipDef(abbrev, species, { 'name': longName, 'iconName': iconName, 'shipFile': shipFile, "SubMenu": SubMenu })
Foundation.ShipDef.PuddleJumper.CloakingSFX = "AncientCloak"
Foundation.ShipDef.PuddleJumper.DeCloakingSFX = "AncientDeCloak"
Foundation.ShipDef.PuddleJumper.hasTGLName = 0
Foundation.ShipDef.PuddleJumper.hasTGLDesc = 0
Foundation.ShipDef.PuddleJumper.dTechs = { 'SubModel': {
"Setup": {
"Body": "PuddleJumperBody",
"NormalModel": shipFile,
"AttackModel": "PuddleJumperDeployed",
"Hardpoints": {
"Port Drone 1": [-0.0252, 0.029, -0.0065],
"Port Drone 2": [-0.0235, 0.029, -0.0135],
"Port Drone 3": [-0.0210, 0.029, -0.0200],
"Star Drone 1": [0.0252, 0.029, -0.0065],
"Star Drone 2": [0.0235, 0.029, -0.0135],
"Star Drone 3": [0.0210, 0.029, -0.0200],
},
"AttackHardpoints": {
"Port Drone 1": [-0.0342, 0.029, -0.0065],
"Port Drone 2": [-0.0325, 0.029, -0.0135],
"Port Drone 3": [-0.0300, 0.029, -0.0200],
"Star Drone 1": [0.0342, 0.029, -0.0065],
"Star Drone 2": [0.0325, 0.029, -0.0135],
"Star Drone 3": [0.0300, 0.029, -0.0200],
},
},
"Port Drones": ["DroneBaysLeft", {
"Position": [0, 0, 0],
"AttackDuration": 50.0, # Value is 1/100 of a second
"AttackPosition": [-0.009, 0, 0],
}
],
"Starboard Drones": ["DroneBaysRight", {
"Position": [0, 0, 0],
"AttackDuration": 50.0, # Value is 1/100 of a second
"AttackPosition": [0.009, 0, 0],
}
],
}}
if menuGroup: Foundation.ShipDef.PuddleJumper.RegisterQBShipMenu(menuGroup)
if playerMenuGroup: Foundation.ShipDef.PuddleJumper.RegisterQBPlayerShipMenu(playerMenuGroup)
if Foundation.shipList._keyList.has_key(longName):
Foundation.ShipDef.__dict__[longName].friendlyDetails[2] = Foundation.shipList[longName].friendlyDetails[2]
Foundation.ShipDef.__dict__[longName].enemyDetails[2] = Foundation.shipList[longName].enemyDetails[2]
Any help would be much appreciated