Smivs wrote:Ah, I don't really 'do' ballturrets so am not familiar with them. Either way that information should not be in the sub-entity definition of the ship, it should be in the ballturret's shipdata.plist entry.
As you've got dark_metal.png already, that should work for the dock as well
From Core shipdata.plist,
Code: Select all
"ballturret" =
{
/* Standard turret.
Not used by Oolite directly, but provided as a resource for OXPs
starting with Oolite 1.72.
*/
ai_type = "nullAI.plist";
laser_color = magentaColor;
model = "oolite-ball-turret.dat";
smooth = "yes";
materials =
{
"back_metal.png" =
{
shininess = 15;
specular_color = (0.75, 0.75, 0.75, 1.0);
};
"oolite-ball-turret.png" =
{
shininess = 15;
specular_color = (0.75, 0.75, 0.75, 1.0);
};
};
name = "Ball Turret";
roles = "ballturret";
setup_actions = ( initialiseTurret );
thrust = 1;
weapon_energy = 25;
};
From Andricothere shipdata.plist,
Code: Select all
"ballturret" =
{
ai_type = "nullAI.plist";
model = "oolite-ball-turret.dat";
smooth = "yes";
materials =
{
"back_metal.png" =
{
shininess = 15;
specular_color = (0.75, 0.75, 0.75, 1.0);
};
"oolite-ball-turret.png" =
{
shininess = 15;
specular_color = (0.75, 0.75, 0.75, 1.0);
};
};
name = "Ball Turret";
roles = "ballturret";
setup_actions = (initialiseTurret);
thrust = 1;
weapon_energy = 25;
};
I'm not sure what you are objecting to, or telling me that I'm doing wrong. That is exactly the way I showed in my earlier post. Nothing of that do I have listed under "subentities". What I DO have under "subentities" is the key, the position, and the orientation of each individual ballturret. That is also what my earlier post indicated. It was the same with the dock, though when trying to show you WHICH dock I used from the core files, I accidently copied, and pasted the shipdata.plist listing of a dock, rather than what I had originally had, which was a dock-flat. A slip on my part, as incredible as it may seem. Now, what was the question again?