- Gives some ECM resistance to standard missiles, and give an extra possible effect on missiles besides "nothing" and "explode": erratic behavior for a few seconds. This means that standard missiles are more likely to be effective for you, but they are also more effective against you.
- Adds a missile arming time at launch in order to prevent the infamous point-blank missile launch from dying NPCs.
[Release] Missile modification
Moderators: winston, another_commander
[Release] Missile modification
This little OXP does two things:
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: [Release] Missile modification
Nice! A side note: please add the URL of this topic into the info field in manifest admin form. Your Surjectors OXP missing it also. In this way the users of http://www.oolite.org/oxps/ can click on the title of your OXPs.
Re: [Release] Missile modification
Both fixed, thanks for the reminder.
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: [Release] Missile modification
Thank you for the quick fix, it would be a bit better if you reduce the last number by one in the url to scroll down to your initial post and not to my answer.
Re: [Release] Missile modification
Version 1.1 is out.
It seemed to me that standard missiles were a bit too ECM resistant, so now they have 80% to explode instead of 65%.
It seemed to me that standard missiles were a bit too ECM resistant, so now they have 80% to explode instead of 65%.
Re: [Release] Missile modification
The shipdata_overrides.plist in this OXP will be out of sync with core Oolite shipdata (I'm using the latest nightly build) for materials (gloss, specular color, shininess) and increased range (30000 in core shipdata vs. 20000 in this OXP). Below is a merged version incorporating the relevant updates.
Code: Select all
{
// ecm hardened missile (missile template is later on)
"oolite_template_ecm-proof-missile" =
{
like_ship = "oolite_template_missile";
exhaust = ("0.0 0.0 -8.36243 2.0 2.0 1.5");
is_template = 1;
ai_type = "missile-mod.js";
materials =
{
"Hull" =
{
diffuse_map = "oolite_missile_hardhead_diffuse.png";
gloss = 0.62;
specular_color = (0.25, 0.25, 0.25);
shininess = 65;
emission_map = { name = "oolite_missile_hardhead_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.2, 0.8, 1.0);
};
};
model = "oolite_missile_hardhead.dat";
name = "ECM Hardened Missile";
script_info =
{
oolite_missile_blastPower = 180;
oolite_missile_blastRadius = 32.5;
oolite_missile_blastShaping = 0.1;
oolite_missile_ecmResponse = "_ecmProofMissileResponseHard";
oolite_missile_proximity = 25;
oolite_missile_range = 30000;
};
roles = "missile EQ_HARDENED_MISSILE";
};
"oolite_template_missile" =
{
ai_type = "missile-mod.js";
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 0;
exhaust = ("0.0 0.32581 -9.87154 2.0 2.0 1.5");
explosion_type = ("oolite-builtin-slowcloud","oolite-builtin-fastspark","oolite-builtin-flash"); // not for detonation mode
forward_weapon_type = "WEAPON_NONE";
is_template = 1;
materials =
{
"Hull" =
{
diffuse_map = "oolite_missile_diffuse.png";
gloss = 0.62;
specular_color = (0.25, 0.25, 0.25);
shininess = 60;
emission_map = { name = "oolite_missile_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (1.0, 0.1, 0.0);
};
};
max_energy = 5;
max_flight_pitch = 8;
max_flight_roll = 10;
max_flight_speed = 750;
missiles = 0;
model = "oolite_missile.dat";
name = "Missile";
roles = "missile EQ_MISSILE";
scan_class = "CLASS_MISSILE";
script_info =
{
oolite_missile_blastPower = 180;
oolite_missile_blastRadius = 32.5;
oolite_missile_blastShaping = 0.1;
oolite_missile_proximity = 25;
oolite_missile_range = 30000;
oolite_missile_ecmResponse = "_ecmProofMissileResponseStd";
};
thrust = 250;
unpiloted = yes;
weapon_energy = 4500;
};
}
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: [Release] Missile modification
Note that shininess is not used in the current rendering engine. It makes no difference whether it exists in shipdata or not. It will be used only if the old rendering or the new Blinn-Phong code are used and they are both currently disabled in the shaders.