Bridge Commander Central
BC Forums => BC Technical Support => Topic started by: Kirk on June 15, 2009, 11:19:16 PM
-
Hey Mleo, I've been trying to add Breen Drainer Immunity to the VasKhohlr that came with KM, but I'm not having any luck. Any suggestions?
Foundation.ShipDef.VasKholhr.dTechs = { 'Breen Drainer Immune': 1, 'SubModel': {
"Setup": {
"Body": "VasKholhr_Body",
"NormalModel": shipFile,
"WarpModel": "VasKholhr_WingUp",
"AttackModel": "VasKholhr_WingDown",
"Hardpoints": {
"Port Cannon": [-0.677745, 0.514529, -0.229285],
"Star Cannon": [0.663027, 0.511252, -0.240265],
"Port Cannon 1": [-0.323324, 0.240263, -0.115398],
"Star Cannon 1": [0.319566, 0.242142, -0.11861],
},
"AttackHardpoints": {
"Port Cannon": [-0.503543, 0.524792, -0.47761],
"Star Cannon": [0.486256, 0.527008, -0.483889],
"Port Cannon 1": [-0.244469, 0.228191, -0.19762],
"Star Cannon 1": [0.243789, 0.243208, -0.201933],
},
},
"Port Wing": ["VasKholhr_Portwing", {
"Position": [0, 0, 0],
"Rotation": [0, 0, 0], # normal Rotation used if not Red Alert and if not Warp
"AttackRotation": [0, -0.3, 0],
"AttackDuration": 200.0, # Value is 1/100 of a second
"AttackPosition": [0, 0, 0.03],
"WarpRotation": [0, 0.149, 0],
"WarpPosition": [0, 0, 0.02],
"WarpDuration": 150.0,
}
],
"Starboard Wing": ["VasKholhr_Starboardwing", {
"Position": [0, 0, 0],
"Rotation": [0, 0, 0],
"AttackRotation": [0, 0.3, 0],
"AttackDuration": 200.0, # Value is 1/100 of a second
"AttackPosition": [0, 0, 0.03],
"WarpRotation": [0, -0.149, 0],
"WarpPosition": [0, 0, 0.02],
"WarpDuration": 150.0,
}
],
}}
-
What exactly isn't working?
Generally speaking (I didn't create the SubModel tech) you need to add it to both ships, you could add it to the intermediary ship (and it's nacelles) as well, but it will only be there for a short while.
-
The ship isn't immune to the Breen Drainer, despite my best efforts.
-
Does the console say anything?
-
Nope, I'll grab a screen to confirm though.
-
Confirmed, nothing in the console.
-
Bumping to make sure Mleo got an email notification.
Edit: Nevermind, I found the problem. I left another plugin in the /custom/ships that loaded after the first and overwrote my changes. Move to Solved