Re: [RELEASE] Cobra MkVI ~ King Cobra
Posted: Thu Nov 24, 2011 9:19 pm
This OXP makes me wish I could get one... firstly for the cool ship, but also because I can't defend myself against those King Cobra pirates.
For information and discussion about Oolite.
https://bb.oolite.space/
How comes pirates quickly get lots of these brand new ships, when the rest of us have to wait until they appear in the local shipyard? I think we should be told!RyanHoots wrote:This OXP makes me wish I could get one... firstly for the cool ship, but also because I can't defend myself against those King Cobra pirates.
The same thing happened to me... I just assumed that it was supposed to be that way. Looks like I was wrong.Killer Wolf wrote:uh....what happened there?
How about because you spend days in witchspace, tens of minutes in local space and only moments in the space station?JazHaz wrote:How comes pirates quickly get lots of these brand new ships, when the rest of us have to wait until they appear in the local shipyard? I think we should be told!
Code: Select all
// ***************************************************
// * N P C K I N G C O B R A *
// ***************************************************
{
"kwcobra6npc" =
{
ai_type = "route1traderAI.plist";
auto_ai = yes;
aft_eject_position = "0.0 13.0 0.0";
energy_recharge_rate = 4.0;
exhaust = ("-38.1 0.34 -31.0 2.0 2.0 200.0",
"38.1 0.34 -31.0 2.0 2.0 200.0",
"0.0 -0.01 -37.0 20.0 1.3 200.0");
forward_weapon_type = "WEAPON_NONE";
weapon_position_aft = "0.0 3.7 -24.27";
weapon_position_port = "-29.2 2.18 16.27";
weapon_position_starboard = "29.25 2.18 16.27";
laser_color = "cyanColor";
max_cargo = 25;
max_energy = 350;
max_flight_pitch = 1.6;
max_flight_roll = 3.5;
max_flight_speed = 365;
fuel = 70;
has_fuel_injection = 0.69;
has_shield_booster = 0.4;
has_ecm = 0.75;
has_escape_pod = "true";
heat_insulation = 1.0;
has_scoop = "true";
max_missiles = 4;
missiles = 4;
name = "Cobra MkVI ~ King Cobra";
missile_launch_position = "0.0 -9.2 8.27";
missile_role = "EQ_KW_JIDA_MISSILE";
model = "kc-game.dat";
roles = "testkc interceptor hunter escort trader sunskim-trader";
escape_pod_model = "kw-escape-capsule";
thrust = 50;
scoop_position = "0.0 -6.2 29.3";
smooth = "false";
frangible = false;
subentities = (
"kwkcgun 0 0 0 1 0 0 0"
);
shaders =
{
"kc-skin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobrashaderf.fragment";
textures =
(
"kc-skin.png",
"kc-normals.png",
"kc-effects.png",
"kc-lites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
hull_heat_level = "hullHeatLevel";
engine_power = "speedFactor";
};
};
};
};
// ***************************************************
// * S T A R S N A K E K I N G C O B R A *
// ***************************************************
"kwstarsnake" =
{
ai_type = "pirateAI.plist";
auto_ai = yes;
bounty = 75;
aft_eject_position = "0.0 13.0 0.0";
energy_recharge_rate = 4;
exhaust = ("-38.1 0.34 -31.0 2.0 2.0 200.0",
"38.1 0.34 -31.0 2.0 2.0 200.0",
"0.0 -0.01 -37.0 20.0 1.3 200.0");
forward_weapon_type = "WEAPON_NONE";
weapon_position_aft = "0.0 3.7 -24.27";
weapon_position_port = "-29.2 2.18 16.27";
weapon_position_starboard = "29.25 2.18 16.27";
laser_color = "cyanColor";
max_cargo = 10;
max_energy = 350;
max_flight_pitch = 1.6;
max_flight_roll = 3.5;
max_flight_speed = 360;
fuel = 70;
has_fuel_injection = 0.69;
has_shield_booster = 0.4;
has_ecm = 0.75;
has_escape_pod = "true";
heat_insulation = 0.5;
has_scoop = "true";
max_missiles = 6;
missiles = 6;
name = "Cobra MkVI ~ Star Snake";
missile_launch_position = "0.0 -9.2 8.27";
missile_role = "EQ_KW_JIDA_MISSILE";
model = "kc-gamepirate.dat";
roles = "pirate";
escape_pod_model = "kw-escape-capsule";
thrust = 50;
scoop_position = "0.0 -6.2 29.3";
smooth = "false";
frangible = false;
subentities = (
"kwkcgun 0 0 0 1 0 0 0"
);
shaders =
{
"kc-skinpirate.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobrashaderf.fragment";
textures =
(
"kc-skinpirate.png",
"kc-normals.png",
"kc-effects.png",
"kc-lites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
hull_heat_level = "hullHeatLevel";
engine_power = "speedFactor";
};
};
};
};
"kwkcgun" =
{
ai_type = "nullAI.plist";
model = "kw-kcgun-game.dat";
name = "King Cobra";
roles = "kingcobra_gun";
forward_weapon_type = "WEAPON_MILITARY_LASER";
weapon_position_forward = "0 3.8 60.0";
laser_color = "redColor";
smooth = "false";
shaders =
{
"kc-subentskin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobragun.fragment";
textures =
(
"kc-subentskin.png",
"kc-subentnormals.png",
"kc-subenteffects.png",
"kc-subentlites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
hull_heat_level = "hullHeatLevel";
laser_heat_level = { binding = "laserHeatLevel"; bindToSubentity = NO; };
};
};
};
};
"kwkingcobcapsule" =
{
aft_eject_position = "0.0 0.0 -2.0";
ai_type = "homeAI.plist";
cargo_type = "CARGO_SLAVES";
energy_recharge_rate = 4;
exhaust =
(
"2.48 0 -7.6 1.5 0.4 25.0",
"-2.48 0 -7.6 1.5 0.4 25.0"
);
forward_weapon_type = "WEAPON_NONE";
max_energy = 50;
max_flight_pitch = 0.5;
max_flight_roll = 0.5;
max_flight_speed = 60;
missile_launch_position = "0.0 0.0 4.5";
missiles = 0;
model = "kw-kc-capsule.dat";
name = "Escape capsule";
roles = "kw-escape-capsule";
scan_class = "CLASS_CARGO";
subentities =
(
{
type = flasher;
size = 2;
colors = (whiteColor, redColor);
frequency = 1.0;
phase = 0.0;
position = (13.4, -0.6, 1.75);
},
{
type = flasher;
size = 2;
colors = (whiteColor, redColor);
frequency = 1.0;
phase = 0.0;
position = (-13.4, -0.6, 1.75);
},
{
type = flasher;
size = 2;
colors = (redColor, whiteColor);
phase = 0.0;
position = (14.4, -0.6, -1.53);
},
{
type = flasher;
size = 2;
colors = (redColor, whiteColor);
phase = 0.0;
position = (-14.4, -0.6, -1.53);
}
);
thrust = 5;
shaders =
{
"kc-subentskin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobrashaderf.fragment";
textures =
(
"kc-subentskin.png",
"kc-subentnormals.png",
"kc-subenteffects.png",
"kc-subentlites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
hull_heat_level = "hullHeatLevel";
engine_power = "speedFactor";
};
};
};
};
"kwjidaMissile" =
{
ai_type = "hardMissileAI.plist";
exhaust = ("0.0 0.0 -4.5 2.0 2.0 4.0");
model = "kw-jida-game.dat";
name = "ASM-12B ~ Jida Missile";
roles = "missile EQ_KW_JIDA_MISSILE";
max_energy = 5;
max_flight_pitch = 10;
max_flight_roll = 12;
max_flight_speed = 850;
scan_class = "CLASS_MISSILE";
thrust = 250;
unpiloted = yes;
weapon_energy = 5500;
shaders =
{
"kc-subentskin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobrashaderf.fragment";
textures =
(
"kc-subentskin.png",
"kc-subentnormals.png",
"kc-subenteffects.png",
"kc-subentlites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
hull_heat_level = "hullHeatLevel";
engine_power = "speedFactor";
};
};
};
};
// ************************************************************
// * P L A Y E R K I N G C O B R A *
// ************************************************************
"kwkingcobraplayer" =
{
aft_eject_position = "0.0 13.0 0.0";
energy_recharge_rate = 4;
exhaust = ("-38.1 0.34 -31.0 2.0 2.0 200.0",
"38.1 0.34 -31.0 2.0 2.0 200.0",
"0.0 -0.01 -37.0 20.0 1.3 200.0");
forward_weapon_type = "WEAPON_NONE";
weapon_position_forward = "0.0 3.8 58.0";
weapon_position_aft = "0.0 7.6 -35.3";
weapon_position_port = "-43.7 8.2 1.90";
weapon_position_starboard = "43.7 8.2 1.90";
laser_color = "cyanColor";
max_cargo = 25;
max_energy = 380;
max_flight_pitch = 1.0;
max_flight_roll = 2.5;
max_flight_speed = 365;
fuel = 70;
has_fuel_injection = "true";
has_shield_booster = "true";
has_ecm = "true";
has_escape_pod = "true";
heat_insulation = 1.0;
has_scoop = "true";
max_missiles = 4;
missiles = 4;
name = "Cobra MkVI ~ King Cobra";
missile_launch_position = "0.0 -14.0 -18.0";
missile_role = "EQ_KW_JIDA_MISSILE";
escape_pod_model = "kw-escape-capsule";
model = "kc-game.dat";
roles = "player";
thrust = 50;
script = "kw-kchud.js";
scoop_position = "0.0 -8.0 36.4";
smooth = "false";
frangible = false;
view_position_forward = "0.0 12.0 31.0";
view_position_aft = "0.0 9.0 -35.3";
view_position_starboard = "42.0 9.6 1.9";
view_position_port = "-42.0 9.6 1.9";
subentities = (
"kwkcgunplayer 0 0 0 1 0 0 0"
);
shaders =
{
"kc-skin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobrashaderf.fragment";
textures =
(
"kc-skin.png",
"kc-normals.png",
"kc-effects.png",
"kc-lites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
hull_heat_level = "hullHeatLevel";
engine_power = "speedFactor";
};
};
};
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 30.0 -200.0";
weapon_facing = "AFT";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "141.42 30.0 -141.42";
weapon_facing = "AFT";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "STARBOARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "141.42 30.0 141.42";
weapon_facing = "STARBOARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 30.0 200.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-141.42 30.0 141.42";
weapon_facing = "PORT";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-200.0 30.0 0.0";
weapon_facing = "PORT";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-141.42 30.0 -141.42";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 200.0 20.0";
weapon_facing = "AFT";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -200.0 20.0";
weapon_facing = "FORWARD";
}
);
};
"kwkcgunplayer" =
{
ai_type = "nullAI.plist";
model = "kw-kcgun-game.dat";
name = "King Cobra";
roles = "kingcobra_gun";
smooth = "false";
shaders =
{
"kc-subentskin.png" =
{
vertex_shader = "kwkingcobrashaderv.vertex";
fragment_shader = "kwkingcobragun.fragment";
textures =
(
"kc-subentskin.png",
"kc-subentnormals.png",
"kc-subenteffects.png",
"kc-subentlites.png"
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uEffectsMap = { type = texture; value = 2; };
uGlowMap = { type = texture; value = 3; };
uTime = "universalTime";
hull_heat_level = "hullHeatLevel";
laser_heat_level = { binding = "laserHeatLevel"; bindToSubentity = NO; };
};
};
};
};
}
What? What!? What makes you think there's anything wrong? I came across a pair of them, so I nuzzled up close behind to get a picture. What's wrong with my picture?Killer Wolf wrote:appears i've effed up the shipdata...
Code: Select all
exhaust = ("-38.1 0.34 -31.0 2.0 2.0 200.0",
"38.1 0.34 -31.0 2.0 2.0 200.0",
"0.0 -0.01 -37.0 20.0 1.3 200.0");
I thought that was the CD tray and speaker jacks.Pluisje wrote:The exhaust is supposed to have a big flat plume, flanked by two small plumes.