Ok I've put together a shipdata.plist which includes a player version of my new ship which uses a texture file called GalTech_Escort_Fighter_auv.png.
The shipdata.plist also includes a NPC escort version which should use a texture called GalTech_Escort_Fighter_auv_escort.png.
I have run some tests by spawning an escort version of this ship using the debug console however the escort version is using the stardard player texture i.e. GalTech_Escort_Fighter_auv.png.
I have included both texture files in the Textures folder in the test oxp.
I'm sure it is a simple issue but I must be missing something as I can't see why this is occurring (Perhaps it is just too late
).
Can anyone see the error I am making in the code below ?
EDIT - I've also just noticed that the emission map is not working on the NPC escort ship.
Code: Select all
{
// ++++++ GALTECH ESCORT FIGHTER ++++++
"GalTech_Escort_Fighter-player" =
{
name = "GalTech Escort Fighter";
roles = "player";
model = "galtech_escort_fighter.dat";
smooth = no;
forward_weapon_type = "WEAPON_BEAM_LASER";
aft_weapon_type = "WEAPON_BEAM_LASER";
laser_color = "redColor";
weapon_position_aft = "0.0 -3.1 -19.4";
weapon_position_forward = "0.0 -0.1 20.4";
missiles = 2;
max_missiles = 2;
missile_launch_position = "0.0 -0.1 21.0";
missile_load_time = 2.0;
max_energy = 300;
energy_recharge_rate = 3.3;
max_cargo = 2;
extra_cargo = 0;
aft_eject_position = "0.0 -0.3 -19.0";
scoop_position = "0.0 -4.6 -4.4";
max_flight_pitch = 1.8;
max_flight_roll = 1.7;
max_flight_speed = 355;
thrust = 40;
hyperspace_motor_spin_time = 15;
exhaust = ("0.0 0.3 -14.0 3.0 3.0 6.0");
density = 1.5;
cloak_passive = yes;
view_position_aft = "0.0 7.0 -19.0";
view_position_forward = "-0.0 1.0 25.0";
view_position_port = "3.0 0.4 13.0";
view_position_starboard = "-3.1 0.4 13.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 10.0 -100.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "75 10.0 -75.0";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "100 10.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "75 10.0 75.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 10.0 100.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-75 10.0 75.0";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-100 10.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-75 10.0 -75.0";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 100.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -100.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Cinematic View";
view_orientation = "0.0 0.35 1.0 0.05";
view_position = "-10.0 25.0 200.0";
weapon_facing = "FORWARD";
}
);
materials =
{
"GalTech_Escort_Fighter_auv.png" =
{
emission_map = "GalTech_Escort_Fighter_auv.glow.png";
shininess = 10;
};
};
};
"GalTech_Escort_Fighter-escort" =
{
like_ship = "GalTech_Escort_Fighter-player";
name = "GalTech Escort Fighter";
roles = "escort";
smooth = no;
auto_ai = yes;
missile_load_time = 8.0;
likely_cargo = 1;
cargo_type = "CARGO_NOT_CARGO";
fuel = 70;
has_ecm = 0.9;
has_scoop = yes;
materials =
{
"GalTech_Escort_Fighter_auv_escort.png" =
{
emission_map = "GalTech_Escort_Fighter_auv.glow.png";
shininess = 10;
};
};
};
}