Page 6 of 9

Re: *

Posted: Tue Feb 24, 2009 6:00 pm
by Thargoid
Lestradae wrote:
Hey Thargoid & Eric,

is it possible to start the "griff_explosionScript.js" via death action?
I don't think so, at least not directly. You could have something similar via spawning commands, but my script has some randomisation both in the number of each component spawned and whether it is spawned at all (just to give variation).

I'm not sure what would happen if you have both script and a death_actions keys in the same shipdata.plist entry.

Re: *

Posted: Tue Feb 24, 2009 6:05 pm
by another_commander
Thargoid wrote:
I'm not sure what would happen if you have both script and a death_actions keys in the same shipdata.plist entry.
In this case, death_actions will be ignored.

Re: *

Posted: Tue Feb 24, 2009 6:15 pm
by Eric Walch
Lestradae wrote:
Hey Thargoid & Eric,

is it possible to start the "griff_explosionScript.js" via death action?
No. With a death_action you can't start JS stuff. But why you want to do it?. When you need to edit a death_action you can just as well add the code to a script.

Kaks shows above very nice way to add this script to any existing ship without changing the oxp itself. One problem will be when to launch the code to attach the script. When you do it on jumping you will miss all ships that arrive in the system after that.

One other way is to put griffs code in a worldscript and than add the next line to all your scripts in the this.shipDied():

Code: Select all

if(worldScripts["flamingWreckage"]) worldScripts["flamingWreckage"].griff_explosionScript()
This requires manual editing of all shipscripts but it means the pasting of only one line. And it saves space because there don't need to be endless copies of this script in all oxp's.

Posted: Tue Feb 24, 2009 6:36 pm
by Thargoid
The code wouldn't need to go into all OXPs. As long as it's installed somewhere in a loaded OXP (for example Griff's existing one, which serves that and only that purpose), it can be called from any other loaded OXP via a script shipdata key?

Then it's also a single-line adding to any shipdata.plist entry that should have it, or just copy/paste into any existing shipscript where you may want it too. It's very simple code that shouldn't clash with anything.

For example I'm viewing it using a ship in my testShips OXP, with the exploder OXP installed as-is from Griff without any shipdata.plist modifications to existing ships:

Code: Select all

	testShips_exploder = {
		like_ship = "cobra3-trader";
		roles = "testShips_exploder";
		script = "griff_explosionScript.js";
	};
Just for my own viewing purposes, with the ship spawned via the JSConsole. The ship and script are in separate OXPs still :)

Posted: Tue Feb 24, 2009 8:50 pm
by ZygoUgo
I'm just getting a crash to desktop I'm afraid, the config file didn't seem to activate anything with the original ships, so I added the Script line to Allstars and the Neo's, It crashes when trying to begin the game from the theme tune.
I took out the Neo's, now I can play it, but still no flaming wreckage from any of the Allstars or classics.
Should I post the error file? Is this refreshed each time you play or do I have to know what I'm looking for?

Posted: Tue Feb 24, 2009 8:57 pm
by Thargoid
I presume you've installed the OXP part too? (Griff_Debris_sets135_no_normal_map.oxp)

If so, then all you should need to do is add the line

Code: Select all

      script = "griff_explosionScript.js";
to any ship's shipdata.plist entry that doesn't already have a script = <something> line for a file in openstep, or

Code: Select all

<key>script</key>
<string>griff_explosionScript.js</string>
for one in XML.

After any modifications you need to restart Oolite whilst holding down the shift key (as with any OXP modification work).

Posted: Tue Feb 24, 2009 8:59 pm
by Griff
Oops, i've just noticed shader errors in the log when playing in 'simple shader' mode, it's not causing oolite to crash as such but it does mean the shaders are broken, i'll get to fixing it right away

EDIT: Argh! the curse of the blink_on off function strikes again. It looks like i've left a bit of code in the fragment shaders that's got a suntax error in it, and in this case it shouldn't be there in the first place

Posted: Tue Feb 24, 2009 9:11 pm
by Griff
I've fixed the shaders & re-uploaded the oxp, same link as above, sorry about that - maybe this was what was causing the crashes ZygoUgo?
If you'd like to fix the oxp yoursef, just go to the Shaders subfolder in the oxp and open all the files that end in .fragment in a text editor, go to line number 22 which looks like this:
#define Blink_on_off(1.0)
and delete it - we're not using the blink_on_off function in these shaders so the line shouldn't be there.

A_C fixed this for me in another oxp but it looks like i've based these shaders on a broken version instead ofthe A_C fixed version - for completeness the line should actually read:
#define Blink_on_off(value) (1.0)

Posted: Tue Feb 24, 2009 9:12 pm
by ZygoUgo
I've added it in these forms,
{
"adder" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -4.5 -23.0";
ai_type = "scavengerAI.plist";
In to the Neo's to get them to work, but also to the player ships, is this a problem?
};
"adder-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -4.5 -23.0";
The Allstars are entered incorrectly yet it doesn't crash or react..
<dict>
<key>starhawk-pirate</key>
<dict>
script = "griff_explosionScript.js";
<key>ai_type</key>
<string>pirateAI.plist</string>
That one I'll correct and see if it makes a difference.

EDIT Forgot to say yes I have the OXP in the Addons' folder, the Config file (for the original ships) I have removed as it didn't react ata all, so I was trying it via editing the actual Shipdata's. It didn't crash before I did this but it didn't work either.

Out of interest incase it makes any difference,
Win SP3, NVidia card, 8600gt

Posted: Tue Feb 24, 2009 9:17 pm
by Griff
I'll bet it the broken shaders that are causing you problems, if possible try downloading the oxp again and see if it works

Posted: Tue Feb 24, 2009 9:18 pm
by Thargoid
Don't add them to player ships. There's no real point as it's eye-candy and you won't be able to see it as by definition you'll be dead ;)

Also you can't mix openStep and XML, you need to use the appropriate version for the file-type you're modifying from the code I posted above.

Posted: Tue Feb 24, 2009 9:31 pm
by ZygoUgo
Yes changed the format as you posted, as for player ships, I wanted to see more bits and shrapnel hanging round the screen if you get a death where the veiw doesn't move much, just out of interest :D

Now the corrected Allstars versions explode as they should, hang I'll be back in a sec, I'll try and add the Neo versions again.

EDIT, yup, now it crashes again.
Is this to do with Version 1.72.2 not reading scripts properly?
It seems to have worked with XML but the openStep version is making it crash?

Posted: Tue Feb 24, 2009 9:41 pm
by Thargoid
Can you post the shipdata.plist entry for the neo so I can look at it?

Also for everyone's convenience (at least those with the debug console), Griff has added (to the newly uploaded revised version) a couple of example test ships.

These can be spawned with roles griff_explodingCobra and griff_explodingPython.

Posted: Tue Feb 24, 2009 9:45 pm
by ZygoUgo
{
"adder" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -4.5 -23.0";
ai_type = "scavengerAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2;
exhaust = ("-6.40 0.0 -17 3.0 3.0 6.0", "6.40 0.0 -17 3.0 3.0 6.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_ecm = 0.01;
has_scoop = yes;
likely_cargo = 1;
max_cargo = 5;
max_energy = 85;
max_flight_pitch = 2;
max_flight_roll = 2.8;
max_flight_speed = 240;
missile_launch_position = "0.0 -3.5 0.0";
missiles = 1;
model = "neoadder.dat";
name = "Adder";
roles = "hunter scavenger shuttle hermit-ship oolite-adder";
thrust = 30;
weapon_position_aft = "0.0 0.0 -17.5";
weapon_position_forward = "0.0 0.0 19.5";
weapon_position_port = "-13.0 0.0 7.0";
weapon_position_starboard = "13.0 0.0 -7.0";
};
"adder-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -4.5 -23.0";
energy_recharge_rate = 2;
exhaust = ("-6.40 0.0 -17 3.0 3.0 6.0", "6.40 0.0 -17 3.0 3.0 6.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud-small.plist";
max_cargo = 2;
max_energy = 85;
max_flight_pitch = 2;
max_flight_roll = 2.8;
max_flight_speed = 240;
max_missiles = 1;
missile_launch_position = "0.0 -3.5 0.0";
missiles = 1;
model = "neoadder.dat";
name = "Adder";
roles = "player";
thrust = 30;
view_position_aft = "0.0 5.0 0.0";
view_position_forward = "0.0 2.6 15.0";
view_position_port = "-12.0 1.5 -1.0";
view_position_starboard = "12.0 1.5 -1.0";
weapon_position_aft = "0.0 0.0 -17.5";
weapon_position_forward = "0.0 0.0 19.5";
weapon_position_port = "-13.0 0.0 7.0";
weapon_position_starboard = "13.0 0.0 -7.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 15.0 -100";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "70.71 15.0 -70.71";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "100.0 15.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "70.71 15.0 70.71";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 15.0 100.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-70.71 15.0 70.71";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-100.0 15.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-70.71 15.0 -70.71";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 100.0 -10.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -100.0 -10.0";
weapon_facing = "FORWARD";
}
);
};
"anaconda" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -20.0 -67.0";
aft_weapon_type = "WEAPON_PULSE_LASER";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
escort-ship = "cobramk1";
escorts = 6;
exhaust = ("17.45 0.72 -60 20.0 10.0 8.0", "-17.45 0.72 -60 20.0 10.0 8.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_ecm = 0.95;
has_escape_pod = 0.95;
has_scoop = 0.95;
likely_cargo = 7;
max_cargo = 750;
max_energy = 500;
max_flight_pitch = 0.4;
max_flight_roll = 0.75;
max_flight_speed = 140;
missile_launch_position = "0.0 -20, 22";
missiles = 7;
model = "neoanaconda.dat";
name = "Anaconda";
roles = "trader oolite-anaconda";
shaders =
{
"specials-tex.png" =
{
vertex_shader = "neolite-sfx.vertex";
fragment_shader = "neolite-sfx-basic.fragment";

textures = ("specials-tex.png","specials-sfx.png");
uniforms =
{
uTime = "universalTime";
uEngineLevel = "speedFactor";
uHullHeatLevel= "hullHeatLevel";
uLaserHeatLevel = "laserHeatLevel";
};
};
};
thrust = 14;
weapon_position_aft = "0.0 0.0 -63.0";
weapon_position_forward = "0.0 0.0 100";
weapon_position_port = "-21 0 0";
weapon_position_starboard = "21 0 0";
};
"anaconda-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -20.0 -67.0";
energy_recharge_rate = 3;
exhaust = ("17.45 0.72 -60 20.0 10.0 8.0", "17.45 0.72 -60 20.0 10.0 8.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud.plist";
max_cargo = 750;
max_energy = 500;
max_flight_pitch = 0.4;
max_flight_roll = 0.75;
max_flight_speed = 140;
max_missiles = 7;
missile_launch_position = "0.0 -20, 22";
missiles = 3;
model = "neoanaconda.dat";
name = "Anaconda";
roles = "player";
shaders =
{
"specials-tex.png" =
{
vertex_shader = "neolite-sfx.vertex";
fragment_shader = "neolite-sfx-basic.fragment";

textures = ("specials-tex.png","specials-sfx.png");
uniforms =
{
uTime = "universalTime";
uEngineLevel = "speedFactor";
uHullHeatLevel= "hullHeatLevel";
uLaserHeatLevel = "laserHeatLevel";
};
};
};
thrust = 14;
view_position_aft = "0.0 -6.0 18.0";
view_position_forward = "0.0 12.0 33";
view_position_port = "-6 12 33";
view_position_starboard = "6 12 33";
weapon_position_aft = "0.0 0.0 -63.0";
weapon_position_forward = "0.0 0.0 100";
weapon_position_port = "-21 0 0";
weapon_position_starboard = "21 0 0";
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 300.0 -22.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -300.0 -22.0";
weapon_facing = "FORWARD";
}
);
};
"asp" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -5.0 -18.5";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 4;
exhaust = ("0.0 0.0 -18.0 9.0 3.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_ecm = 0.85;
has_fuel_injection = 0.5;
has_scoop = 0.99;
has_shield_booster = 0.5;
likely_cargo = 1;
max_energy = 350;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 400;
missile_launch_position = "0.0 -6.0 10.5";
missiles = 1;
model = "neoasp.dat";
name = "Asp Mark II";
roles = "hunter pirate asp-pirate oolite-asp";
thrust = 50;
weapon_position_aft = "0.0 -5.0 -12.0";
weapon_position_forward = "0.0 0.0 16.0";
weapon_position_port = "-15 0.0 0.0";
weapon_position_starboard = "15.0 0.0 0.0";
};
"asp-cloaked" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -5.0 -18.5";
ai_type = "pirateAI.plist";
bounty = 150;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 4;
exhaust = ("0.0 0.0 -18.0 9.0 3.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_cloaking_device = yes;
has_scoop = yes;
max_energy = 320;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 400;
missile_launch_position = "0.0 -6.0 10.5";
missiles = 1;
model = "neoasp.dat";
name = "Asp Mark II";
roles = "asp-cloaked oolite-asp-cloaked";
script = "oolite-cloaking-device-target-ship.js";
thrust = 50;
weapon_position_aft = "0.0 -5.0 -12.0";
weapon_position_forward = "0.0 0.0 16.0";
weapon_position_port = "-15 0.0 0.0";
weapon_position_starboard = "15.0 0.0 0.0";
};
"asp-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -5.0 -18.5";
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 4;
exhaust = ("0.0 0.0 -18.0 9.0 3.0 10.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
max_energy = 350;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 400;
max_missiles = 1;
missile_launch_position = "0.0 -6.0 10.5";
model = "neoasp.dat";
name = "Asp Mark II";
roles = "player";
thrust = 50;
view_position_aft = "0.0 5.0 -5.0";
view_position_forward = "0.0 2.3 13.5";
view_position_port = "-2.3 3.0 13.0";
view_position_starboard = "2.3 3.0 13.0";
weapon_position_aft = "0.0 -5.0 -12.0";
weapon_position_forward = "0.0 0.0 16.0";
weapon_position_port = "-15 0.0 0.0";
weapon_position_starboard = "15.0 0.0 0.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 20.0 -150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 20.0 150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 150.0 -10.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -150.0 -10.0";
weapon_facing = "FORWARD";
}
);
};
"boa-belly" =
{
script = "griff_explosionScript.js";
cargo_type = "CARGO_NOT_CARGO";
density = 0.5;
model = "neoboa-belly.dat";
name = "Boa Cargo Access";
roles = "neolito-boa-belly";
};
"boa-skiff" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3 -12";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
density = 0.75;
energy_recharge_rate = 2;
exhaust = ("8.8 3.1 -10 5.0 3.0 14.0", "-8.8 3.1 -10 5.0 3.0 14.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_ecm = 0.75;
has_escape_pod = 0.75;
has_scoop = 0.75;
likely_cargo = 0;
max_cargo = 2;
max_energy = 100;
max_flight_pitch = 2.0;
max_flight_roll = 2.8;
max_flight_speed = 210;
missile_launch_position = "0.0 -3.5 0.0";
missiles = 1;
model = "neoboa-skiff.dat";
name = "Boa Skiff";
roles = "shuttle neolite-boa-skiff";
thrust = 30;
weapon_position_aft = "0.0 0.0 -12.0";
weapon_position_forward = "0.0 0.0 10.0";
weapon_position_port = "-9 0 0";
weapon_position_starboard = "9 0 0";
};
"boa-skiff-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3 -12";
density = 0.75;
energy_recharge_rate = 2;
exhaust = ("8.8 3.1 -10 5.0 3.0 14.0", "-8.8 3.1 -10 5.0 3.0 14.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_ecm = 0.75;
has_escape_pod = 0.5;
has_scoop = 0.75;
likely_cargo = 0;
max_cargo = 2;
max_energy = 100;
max_flight_pitch = 2.0;
max_flight_roll = 2.8;
max_flight_speed = 210;
missile_launch_position = "0.0 -3.5 0.0";
missiles = 1;
model = "neoboa-skiff.dat";
name = "Boa Skiff";
roles = "player neoboa-skiff-player";
thrust = 30;
view_position_aft = "0.0 3.0 -12.0";
view_position_forward = "0.0 2.3 9.0";
view_position_port = "-4.5 2.5 7.1";
view_position_starboard = "4.5 2.5 7.1";
weapon_position_aft = "0.0 0.0 -12.0";
weapon_position_forward = "0.0 0.0 10.0";
weapon_position_port = "-9 0 0";
weapon_position_starboard = "9 0 0";
};
"boa" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -15.0 -50.5";
aft_weapon_type = "WEAPON_BEAM_LASER";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
escape_pod_model = "neoboa-skiff";
escorts = 4;
exhaust = ("0.0 0.0 -40 10.0 8.0 14.0");
forward_weapon_type = "WEAPON_NONE";
frangible = false;
fuel = 70;
has_ecm = 0.75;
has_escape_pod = yes;
has_scoop = 0.75;
likely_cargo = 12;
max_cargo = 125;
max_energy = 450;
max_flight_pitch = 1;
max_flight_roll = 2.8;
max_flight_speed = 240;
missile_launch_position = "0.0 -16.0 0.0";
missiles = 4;
model = "neoboa-body.dat";
name = "Boa";
roles = "trader oolite-boa";
subentities =
(
"boa-belly 0 0 0 1 0 0 0",
"boa-skiff 0 5.2530 42.8779 1 0 0 0"
);
thrust = 36;
weapon_position_aft = "0.0 10.0 -40.0";
weapon_position_forward = "0.0 0.0 70.0";
weapon_position_port = "-16 0 32";
weapon_position_starboard = "16 0 32";
};
"boa-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -15.0 -50.5";
energy_recharge_rate = 3;
escape_pod_model = "neoboa-skiff-player";
exhaust = ("0.0 0.0 -40 10.0 8.0 14.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
frangible = false;
has_escape_pod = yes;
hud = "hud.plist";
max_cargo = 125;
max_energy = 450;
max_flight_pitch = 1;
max_flight_roll = 2.8;
max_flight_speed = 240;
max_missiles = 4;
missile_launch_position = "0.0 -16.0 0.0";
missiles = 4;
model = "neoboa-body.dat";
name = "Boa";
roles = "player";
subentities =
(
"boa-belly 0 0 0 1 0 0 0",
"boa-skiff 0 5.2530 42.8779 1 0 0 0"
);
thrust = 36;
view_position_aft = "0 11 -40";
view_position_forward = "0 7.5 52";
view_position_port = "-4.5 7.5 50";
view_position_starboard = "4.5 7.5 50";
weapon_position_aft = "0.0 10.0 -40.0";
weapon_position_forward = "0.0 0.0 70.0";
weapon_position_port = "-16 0 32";
weapon_position_starboard = "16 0 32";
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 210.0 -15.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -210.0 -15.0";
weapon_facing = "FORWARD";
}
);
};
"boa-mk2-belly" =
{
script = "griff_explosionScript.js";
cargo_type = "CARGO_NOT_CARGO";
density = 0.5;
forward_weapon_type = "WEAPON_NONE";
model = "neoboa2-belly.dat";
name = "Boa Cargo Access";
roles = "neolito-boa2-belly";
};
"boa-mk2" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -15.75 -50.75";
aft_weapon_type = "WEAPON_BEAM_LASER";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3.2;
escorts = 4;
exhaust = ("8.2 6.5 -40.0 6.5 5.0 9.0", "8.2 -6.8 -40.0 6.5 5.0 9.0",
"-8.2 6.5 -40.0 6.5 5.0 9.0", "-8.2 -6.8 -40.0 6.5 5.0 9.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
frangible = false;
fuel = 70;
has_ecm = 0.95;
has_escape_pod = yes;
has_scoop = yes;
likely_cargo = 15;
max_cargo = 175;
max_energy = 525;
max_flight_pitch = 1;
max_flight_roll = 2.5;
max_flight_speed = 312;
missile_launch_position = "0.0 -14.0 0.0";
missiles = 5;
model = "neoboa2-main.dat";
name = "Boa Class Cruiser";
roles = "trader sunskim-trader oolite-boa-mk2";
subentities =
(
"boa-mk2-belly 0 0 0 1 0 0 0",
);
thrust = 40;
weapon_energy = 15;
weapon_position_aft = "0.0 -14.6 -40.0";
weapon_position_forward = "0.0 0.0 50.0";
weapon_position_port = "-16 2.0 8.0";
weapon_position_starboard = "16 2.0 8.0";
};
"boa-mk2-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -15.75 -50.75";
energy_recharge_rate = 3.2;
escorts = 4;
exhaust = ("8.2 6.5 -40.0 6.5 5.0 9.0", "8.2 -6.8 -40.0 6.5 5.0 9.0",
"-8.2 6.5 -40.0 6.5 5.0 9.0", "-8.2 -6.8 -40.0 6.5 5.0 9.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
frangible = false;
hud = "hud.plist";
max_cargo = 175;
max_energy = 525;
max_flight_pitch = 1;
max_flight_roll = 2.5;
max_flight_speed = 312;
max_missiles = 5;
missile_launch_position = "0.0 -14.0 0.0";
missiles = 5;
model = "neoboa2-main.dat";
name = "Boa Class Cruiser";
roles = "player";
subentities =
(
"boa-mk2-belly 0 0 0 1 0 0 0",
);
scoop_position = "0.0 0.0 -13.5";
smooth = "true";
thrust = 40;
view_position_aft = "0.0 -15.0 0.0";
view_position_forward = "0.0 8.8 15.0";
view_position_port = "-11 7.5 17.0";
view_position_starboard = "11 7.5 17.0";
weapon_position_aft = "0.0 -14.6 -40.0";
weapon_position_forward = "0.0 0.0 50.0";
weapon_position_port = "-16 2.0 8.0";
weapon_position_starboard = "16 2.0 8.0";
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 210.0 -15.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -210.0 -15.0";
weapon_facing = "FORWARD";
},
{
view_description = "Scoop Camera";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 -13.5 -27.0";
weapon_facing = "FORWARD";
}
);
};

"cobra3-alternate" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 15.5 -33.0";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("-24.4 0.6 -22.5 7.5 6.0 8.5", "-35.0 1.0 -22.5 9.5 4.5 7.0",
"24.4 0.6 -22.5 7.5 6.0 8.5", "35.0 1.0 -22.5 9.5 4.5 7.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_ecm = 0.95;
has_escape_pod = 0.95;
has_scoop = 0.95;
likely_cargo = 3;
max_cargo = 35;
max_energy = 250;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 320;
missile_launch_position = "0.0 -4.5 16.5";
missiles = 3;
model = "neocobra3-alt.dat";
name = "Cobra Mark III";
roles = "hunter pirate trader hermit-ship sunskim-trader oolite-cobra3-alternate";
thrust = 32;
weapon_energy = 15;
weapon_position_aft = "0.0 -3.0 -21.0";
weapon_position_forward = "0.0 0.8 32.0";
weapon_position_port = "-52.0 0.1 -1.2";
weapon_position_starboard = "52.0 0.1 -1.2";
};
"cobra3-pirate" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 15.5 -33.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
bounty = 50;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("-24.4 0.6 -22.5 7.5 6.0 8.5", "-35.0 1.0 -22.5 9.5 4.5 7.0",
"24.4 0.6 -22.5 7.5 6.0 8.5", "35.0 1.0 -22.5 9.5 4.5 7.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_ecm = 0.1;
has_escape_pod = 0.85;
has_scoop = yes;
has_shield_booster = 0.25;
likely_cargo = 3;
max_cargo = 5;
max_energy = 250;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 300;
missile_launch_position = "0.0 -4.5 16.5";
missiles = 1;
model = "neocobra3-prt.dat";
name = "Cobra Mark III";
roles = "pirate hunter oolite-cobra3-pirate";
thrust = 30;
weapon_position_aft = "0.0 -3.0 -21.0";
weapon_position_forward = "0.0 0.8 32.0";
weapon_position_port = "-52.0 0.1 -1.2";
weapon_position_starboard = "52.0 0.1 -1.2";
};
"cobra3-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 15.5 -33.0";
energy_recharge_rate = 4;
exhaust = ("-24.4 0.6 -22.5 7.5 6.0 8.5", "-35.0 1.0 -22.5 9.5 4.5 7.0",
"24.4 0.6 -22.5 7.5 6.0 8.5", "35.0 1.0 -22.5 9.5 4.5 7.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud.plist";
laser_color = "redColor";
max_cargo = 20;
max_energy = 256;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 350;
max_missiles = 4;
missile_launch_position = "0.0 -4.5 16.5";
missiles = 3;
model = "neocobra3.dat";
name = "Cobra Mark III";
roles = "player";
thrust = 32;
view_position_aft = "0.0 9.0 -21.0";
view_position_forward = "0.0 8.5 17.0";
view_position_port = "-19.0 6.0 16.0";
view_position_starboard = "19.0 6.0 16.0";
weapon_position_aft = "0.0 -3.0 -21.0";
weapon_position_forward = "0.0 0.8 32.0";
weapon_position_port = "-52.0 0.1 -1.2";
weapon_position_starboard = "52.0 0.1 -1.2";
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 -15.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -200.0 -15.0";
weapon_facing = "FORWARD";
}
);
};
"cobra3-trader" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 15.5 -33.0";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2;
exhaust = ("-24.4 0.6 -22.5 7.5 6.0 8.5", "-35.0 1.0 -22.5 9.5 4.5 7.0",
"24.4 0.6 -22.5 7.5 6.0 8.5", "35.0 1.0 -22.5 9.5 4.5 7.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_ecm = 0.15;
has_escape_pod = 0.95;
has_scoop = 0.95;
likely_cargo = 3;
max_cargo = 20;
max_energy = 150;
max_flight_pitch = 1;
max_flight_roll = 2;
max_flight_speed = 300;
missile_launch_position = "0.0 -4.5 16.5";
missiles = 3;
model = "neocobra3.dat";
name = "Cobra Mark III";
roles = "trader scavenger sunskim-trader oolite-cobra3-trader";
thrust = 30;
weapon_position_aft = "0.0 0.0 -32.5";
weapon_position_forward = "0.0 0.0 27.5";
weapon_position_port = "-40.0 2.17 -4.33";
weapon_position_starboard = "40.0 2.17 -4.33";
};
cobramk1 =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 7.5 -21.0";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2.5;
exhaust = ("9.2 0.0 -15.0 4.0 4.0 6.0", "-9.2 0.0 -15.0 4.0 4.0 6.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_scoop = 0.95;
likely_cargo = 2;
max_cargo = 10;
max_energy = 150;
max_flight_pitch = 1.2;
max_flight_roll = 2;
max_flight_speed = 260;
missile_launch_position = "0.0 -2.0 14.0";
missiles = 1;
model = "neocobra1.dat";
name = "Cobra Mark I";
roles = "pirate hunter scavenger trader hermit-ship oolite-cobramk1";
thrust = 25;
weapon_position_aft = "0.0 -3.0 -5.0";
weapon_position_forward = "0.0 0.0 27.0";
weapon_position_port = "-35.0 1.4 7.0";
weapon_position_starboard = "35.0 -1.4 7.0";
};
"cobramk1-alt" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 7.5 -21.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3.75;
exhaust = ("9.2 0.0 -15.0 4.0 4.0 6.0", "-9.2 0.0 -15.0 4.0 4.0 6.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_fuel_injection = 0.25;
has_scoop = 0.95;
has_shield_booster = 0.25;
likely_cargo = 2;
max_cargo = 10;
max_energy = 200;
max_flight_pitch = 1.2;
max_flight_roll = 2;
max_flight_speed = 260;
missile_launch_position = "0.0 -2.0 14.0";
missiles = 1;
model = "neocobra1-alt.dat";
name = "Cobra Mark I";
roles = "pirate oolite-cobramk1-alt";
thrust = 30;
weapon_position_aft = "0.0 -3.0 -5.0";
weapon_position_forward = "0.0 0.0 27.0";
weapon_position_port = "-35.0 1.4 7.0";
weapon_position_starboard = "35.0 -1.4 7.0";
};
"cobramk1-miner" =
{
script = "griff_explosionScript.js";
accuracy = 8;
aft_eject_position = "0.0 7.5 -21.0";
ai_type = "minerAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2.5;
exhaust = ("9.2 0.0 -15.0 4.0 4.0 6.0", "-9.2 0.0 -15.0 4.0 4.0 6.0");
forward_weapon_type = "WEAPON_MINING_LASER";
fuel = 70;
has_scoop = yes;
max_cargo = 10;
max_energy = 150;
max_flight_pitch = 1.2;
max_flight_roll = 2;
max_flight_speed = 260;
missile_launch_position = "0.0 -2.0 14.0";
missiles = 1;
model = "neocobra1-mnr.dat";
name = "Cobra Mark I";
roles = "miner oolite-cobramk1-miner";
thrust = 25;
weapon_position_aft = "0.0 -3.0 -5.0";
weapon_position_forward = "0.0 0.0 27.0";
weapon_position_port = "-35.0 1.4 7.0";
weapon_position_starboard = "35.0 -1.4 7.0";
};
"cobramk1-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 7.5 -21.0";
energy_recharge_rate = 2.5;
exhaust = ("9.2 0.0 -15.0 4.0 4.0 6.0", "-9.2 0.0 -15.0 4.0 4.0 6.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud-small.plist";
max_cargo = 10;
max_energy = 150;
max_flight_pitch = 1.2;
max_flight_roll = 2;
max_flight_speed = 260;
max_missiles = 1;
missile_launch_position = "0.0 -2.0 14.0";
missiles = 1;
model = "neocobra1.dat";
name = "Cobra Mark I";
roles = "player";
thrust = 25;
view_position_aft = "0.0 7.5 -5.0";
view_position_forward = "0.0 5.9 10.0";
view_position_port = "-2.3 6.1 9.6";
view_position_starboard = "2.3 6.1 9.6";
weapon_position_aft = "0.0 -3.0 -5.0";
weapon_position_forward = "0.0 0.0 27.0";
weapon_position_port = "-35.0 1.4 7.0";
weapon_position_starboard = "35.0 -1.4 7.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 20.0 -150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 20.0 150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 150.0 -10.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -150.0 -10.0";
weapon_facing = "FORWARD";
}
);
};
"constrictor" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3.0 -23.0";
ai_type = "oolite-constrictor-AI.plist";
bounty = 250;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 5;
exhaust = ("-7.7 0.9 -23.0 4.0 4.0 12.0, 7.7 0.9 -23.0 4.0 4.0 12.0");
forward_weapon_type = "WEAPON_MILITARY_LASER";
fuel = 70;
has_ecm = yes;
has_escape_pod = yes;
has_fuel_injection = yes;
likely_cargo = 3;
max_cargo = 15;
max_energy = 450;
max_flight_pitch = 1.75;
max_flight_roll = 2.5;
max_flight_speed = 600;
missile_launch_position = "0.0 -3.0 6.0";
missiles = 3;
model = "neoconstrictor.dat";
name = "Constrictor";
pilot = "constrictor-mission-thief"; // key to entry in characters.plist
roles = "constrictor oolite-constrictor";
script = "oolite-constrictor.js";
thrust = 50;
weapon_position_aft = "0.0 -0.0 -23.0";
weapon_position_forward = "0.0 0.0 23.0";
weapon_position_port = "-24.0 0.0 0.0";
weapon_position_starboard = "24.0 0.0 0.0";
};
"ferdelance-engines" =
{
script = "griff_explosionScript.js";
ai_type = "nullAI.plist";
cargo_type = "CARGO_NOT_CARGO";
density = 5.0;
forward_weapon_type = "WEAPON_NONE";
model = "nfdlengines.dat";
name = "Fer-de-Lance";
roles = "ferdelance-engines";
thrust = 1;
};
"ferdelance" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3.0 -38.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
density = 0.5;
energy_recharge_rate = 5.5;
exhaust = ("8.8 -1.4 -12 2.0 2.0 10.0", "-8.8 -1.4 -12 2.0 2.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
frangible = false;
fuel = 70;
has_ecm = yes;
has_escape_pod = 0.25;
has_fuel_injection = 0.75;
has_scoop = yes;
has_shield_booster = 0.5;
has_shield_enhancer = 0.5;
likely_cargo = 2;
max_cargo = 12;
max_energy = 250;
max_flight_pitch = 1;
max_flight_roll = 3.6;
max_flight_speed = 400;
missile_launch_position = "0.0 -10.5 16.5";
missiles = 2;
model = "neofdlmain.dat";
name = "Fer-de-Lance";
roles = "pirate hunter oolite-ferdelance";
smooth = "true";
subentities =
(
"ferdelance-engines 0 0 0 1 0 0 0",
);
thrust = 36;
weapon_position_aft = "0.0 0.0 -42.5";
weapon_position_forward = "0.0 0.0 4.18";
weapon_position_port = "-16.875 -4.0 3.5";
weapon_position_starboard = "16.875 -4.0 3.5";
};
"ferdelance-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3.0 -38.0";
density = 0.5;
energy_recharge_rate = 5.5;
exhaust = ("8.8 -1.4 -12 2.0 2.0 10.0", "-8.8 -1.4 -12 2.0 2.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
frangible = false;
has_scoop = yes;
hud = "hud.plist";
max_cargo = 12;
max_energy = 250;
max_flight_pitch = 1;
max_flight_roll = 3.6;
max_flight_speed = 400;
max_missiles = 2;
missile_launch_position = "0.0 -10.5 16.5";
missiles = 2;
model = "neofdlmain-smooth.dat";
name = "Fer-de-Lance";
smooth = 1;
subentities =
(
"ferdelance-engines 0 0 0 1 0 0 0",
);
roles = "player";
smooth = "true";
thrust = 36;
view_position_aft = "0.0 -7.0 -7.0";
view_position_forward = "0.0 6.6 0.0";
view_position_port = "-5.5 6.8 -4.0";
view_position_starboard = "5.5 6.8 -4.0";
weapon_position_aft = "0.0 0.0 -42.5";
weapon_position_forward = "0.0 -9.5 35.0";
weapon_position_port = "-16.875 -4.0 3.5";
weapon_position_starboard = "16.875 -4.0 3.5";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 20.0 -150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 20.0 150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 150.0 -13.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -165.0 -12.0";
weapon_facing = "FORWARD";
}
);
};
"gecko" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 3.5 -11.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 4;
exhaust = ("-4.1 0.8 9.6 2.5 2.5 5.0, 4.1 0.8 9.6 2.5 2.5 5.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
has_scoop = yes;
has_shield_booster = 0.4;
likely_cargo = 1;
max_cargo = 3;
max_energy = 250;
max_flight_pitch = 1.5;
max_flight_roll = 3;
max_flight_speed = 300;
missile_launch_position = "0.0 -2.0 10.0";
missiles = 1;
model = "neogecko.dat";
name = "Gecko";
roles = "pirate oolite-gecko";
smooth = yes;
thrust = 45;
weapon_position_aft = "0.0 0.0 -10.0";
weapon_position_forward = "0.0 -1.7 17.0";
weapon_position_port = "-17.0 0.0 0.0";
weapon_position_starboard = "17.0 0.0 0.0";
};
krait =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -4.0 -20.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2.5;
exhaust = ("0.0 -1.8 -12 4.0 3.0 5.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_fuel_injection = 0.65;
has_scoop = 0.95;
has_shield_booster = 0.5;
has_shield_enhancer = 0.25;
likely_cargo = 2;
max_cargo = 2;
max_energy = 250;
max_flight_pitch = 1.5;
max_flight_roll = 2.75;
max_flight_speed = 300;
missile_launch_position = "0.0 -3.5 0.0";
missiles = 0;
model = "neokrait.dat";
name = "Krait";
roles = "pirate hunter oolite-krait";
thrust = 35;
weapon_position_aft = "0.0 2.0 -15.0";
weapon_position_forward = "0.0 0.0 20.0";
weapon_position_port = "-19 0.0 0.0";
weapon_position_starboard = "19.0 0.0 0.0";
};
mamba =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 6.0 -17.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("0.0 0.0 -15 7.0 5.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
has_scoop = 0.95;
has_shield_booster = 0.25;
likely_cargo = 1;
max_cargo = 4;
max_energy = 240;
max_flight_pitch = 1.4;
max_flight_roll = 2.1;
max_flight_speed = 320;
missile_launch_position = "0.0 -3.5 9.0";
missiles = 0;
model = "neomamba.dat";
name = "Mamba";
roles = "pirate oolite-mamba";
thrust = 32;
weapon_position_aft = "0.0 -5.0 -13.0";
weapon_position_forward = "0.0 0.0 22.0";
weapon_position_port = "-18.0 0.0 0.0";
weapon_position_starboard = "18.0 0.0 0.0";
};
"mamba-escort" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 6.0 -17.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("0.0 0.0 -15 7.0 5.0 10.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
likely_cargo = 1;
max_cargo = 4;
max_energy = 240;
max_flight_pitch = 1.4;
max_flight_roll = 2.1;
max_flight_speed = 320;
missile_launch_position = "0.0 -3.5 9.0";
missiles = 0;
model = "neomamba.dat";
name = "Mamba Escort";
roles = "escort oolite-mamba-escort";
thrust = 32;
weapon_position_aft = "0.0 -5.0 -13.0";
weapon_position_forward = "0.0 0.0 22.0";
weapon_position_port = "-18.0 0.0 0.0";
weapon_position_starboard = "18.0 0.0 0.0";
};
"moray" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 5.75 -8.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("0.0 -0.8 -19.0 2.0 2.0 16.0",
"4.9 -0.8 -19.0 2.0 2.0 16.0",
"-4.9 -0.8 -19.0 2.0 2.0 16.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_scoop = yes;
has_shield_booster = 0.5;
likely_cargo = 2;
max_cargo = 7;
max_energy = 240;
max_flight_pitch = 1.5;
max_flight_roll = 2.5;
max_flight_speed = 300;
missile_launch_position = "0.0 -5 0.5";
missiles = 2;
model = "neomoray.dat";
name = "Moray Star Boat";
roles = "pirate oolite-moray";
smooth = "true";
thrust = 32;
weapon_position_aft = "0.0 2.2 -15.2";
weapon_position_forward = "0.0 0.0 15.5";
weapon_position_port = "-5.0 0.0 11.0";
weapon_position_starboard = "5.0 0.0 11.0";
};
"moray-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 5.75 -8.0";
energy_recharge_rate = 3;
exhaust = ("0.0 -0.8 -19.0 2.0 2.0 16.0",
"4.9 -0.8 -19.0 2.0 2.0 16.0",
"-4.9 -0.8 -19.0 2.0 2.0 16.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud.plist";
max_cargo = 7;
max_energy = 240;
max_flight_pitch = 1.5;
max_flight_roll = 2.5;
max_flight_speed = 300;
max_missiles = 2;
missile_launch_position = "0.0 -5 0.5";
missiles = 2;
model = "neomoray.dat";
name = "Moray Star Boat";
roles = "player";
smooth = "true";
thrust = 32;
view_position_aft = "0.0 5.7 -7.0";
view_position_forward = "0.0 2.2 15.0 ";
view_position_port = "-4.0 2.0 13.5";
view_position_starboard = "4.0 2.0 13.5";
weapon_position_aft = "0.0 2.2 -15.2";
weapon_position_forward = "0.0 0.0 15.5";
weapon_position_port = "-5.0 0.0 11.0";
weapon_position_starboard = "5.0 0.0 11.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 20.0 -150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 20.0 150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 150.0 -10.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -150.0 -10.0";
weapon_facing = "FORWARD";
}
);
};
"morayMED" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 5.75 -8.0";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3;
exhaust = ("0.0 -0.8 -19.0 2.0 2.0 16.0",
"4.9 -0.8 -19.0 2.0 2.0 16.0",
"-4.9 -0.8 -19.0 2.0 2.0 16.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
fuel = 70;
has_scoop = yes;
likely_cargo = 7;
max_cargo = 22;
max_energy = 240;
max_flight_pitch = 1.5;
max_flight_roll = 2.5;
max_flight_speed = 300;
missile_launch_position = "0.0 -5 0.5";
missiles = 2;
model = "neomoray-med.dat";
name = "Moray Medical Boat";
roles = "trader sunskim-trader oolite-morayMED";
smooth = true;
thrust = 32;
weapon_position_aft = "0.0 2.2 -15.2";
weapon_position_forward = "0.0 0.0 15.5";
weapon_position_port = "-5.0 0.0 11.0";
weapon_position_starboard = "5.0 0.0 11.0";
};
"morayMED-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 5.75 -8.0";
energy_recharge_rate = 2.75;
exhaust = ("0.0 -0.8 -19.0 2.0 2.0 16.0",
"4.9 -0.8 -19.0 2.0 2.0 16.0",
"-4.9 -0.8 -19.0 2.0 2.0 16.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud.plist";
max_cargo = 7;
max_energy = 240;
max_flight_pitch = 1.5;
max_flight_roll = 2.5;
max_flight_speed = 300;
max_missiles = 2;
missile_launch_position = "0.0 -5 0.5";
missiles = 2;
model = "neomoray-med.dat";
name = "Moray Medical Boat";
roles = "player";
smooth = true;
thrust = 32;
view_position_aft = "0.0 5.7 -7.0";
view_position_forward = "0.0 2.2 15.0 ";
view_position_port = "-4.0 2.0 13.5";
view_position_starboard = "4.0 2.0 13.5";
weapon_position_aft = "0.0 2.2 -15.2";
weapon_position_forward = "0.0 0.0 15.5";
weapon_position_port = "-5.0 0.0 11.0";
weapon_position_starboard = "5.0 0.0 11.0";
custom_views =
(
{
view_description = "Rear View";
view_orientation = "1.0 0.0 0.0 0.0";
view_position = "0.0 20.0 -150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Right View";
view_orientation = "0.9239 0.0 0.3827 0.0";
view_position = "106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Right View";
view_orientation = "0.3827 0.0 0.9239 0.0";
view_position = "106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Front View";
view_orientation = "0.0 0.0 1.0 0.0";
view_position = "0.0 20.0 150.0";
weapon_facing = "FORWARD";
},
{
view_description = "Front Left View";
view_orientation = "0.3827 0.0 -0.9239 0.0";
view_position = "-106.06 20.0 106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0.0 -0.7071 0.0";
view_position = "-150.0 20.0 0.0";
weapon_facing = "FORWARD";
},
{
view_description = "Rear Left View";
view_orientation = "0.9239 0.0 -0.3827 0.0";
view_position = "-106.06 20.0 -106.06";
weapon_facing = "FORWARD";
},
{
view_description = "Top View";
view_orientation = "-0.7071 0.7071 0.0 0.0";
view_position = "0.0 150.0 -10.0";
weapon_facing = "FORWARD";
},
{
view_description = "Bottom View";
view_orientation = "0.0 0.0 0.7071 0.7071";
view_position = "0.0 -150.0 -10.0";
weapon_facing = "FORWARD";
}
);
};
"python" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -7.0 0.0";
ai_type = "route1traderAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 2.5;
exhaust = ("3.7 -0.2 -37 6.0 6.0 13.0", "-3.7 -0.2 -37 6.0 6.0 13.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_escape_pod = 0.75;
has_scoop = yes;
has_shield_booster = 0.75;
likely_cargo = 10;
max_cargo = 100;
max_energy = 450;
max_flight_pitch = 0.8;
max_flight_roll = 2;
max_flight_speed = 200;
missile_launch_position = "0.0 -7.0 0.0";
missiles = 2;
model = "neopython.dat";
name = "Python";
roles = "trader pirate oolite-python";
thrust = 20;
weapon_position_aft = "0.0 0.0 -37.0";
weapon_position_forward = "0.0 0.0 57.0";
weapon_position_port = "-25.0 0.0 0.0";
weapon_position_starboard = "25.0 0.0 0.0";
};
"python-blackdog" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 15.5 -50.0";
ai_type = "pirateAI.plist";
auto_ai = yes;
cargo_type = "CARGO_NOT_CARGO";
energy_recharge_rate = 3.5;
escorts = 2;
exhaust = ("3.7 -0.2 -37 6.0 6.0 13.0", "-3.7 -0.2 -37 6.0 6.0 13.0");
forward_weapon_type = "WEAPON_BEAM_LASER";
fuel = 70;
has_ecm = 0.75;
has_escape_pod = 0.75;
has_scoop = yes;
has_shield_booster = 0.85;
likely_cargo = 10;
max_cargo = 100;
max_energy = 450;
max_flight_pitch = 0.8;
max_flight_roll = 2;
max_flight_speed = 200;
missile_launch_position = "0.0 -7.0 0.0";
missiles = 2;
model = "neopython-bd.dat";
name = "Python";
roles = "pirate oolite-python-blackdog";
thrust = 20;
weapon_position_aft = "0.0 0.0 -37.0";
weapon_position_forward = "0.0 0.0 57.0";
weapon_position_port = "-25.0 0.0 0.0";
weapon_position_starboard = "25.0 0.0 0.0";
};
"python-player" =
{
script = "griff_explosionScript.js";
aft_eject_position = "0.0 -7.0 0.0";
energy_recharge_rate = 2.5;
exhaust = ("3.7 -0.2 -37 6.0 6.0 13.0", "-3.7 -0.2 -37 6.0 6.0 13.0");
forward_weapon_type = "WEAPON_PULSE_LASER";
hud = "hud.plist";
max_cargo = 100;
max_energy = 450;
max_flight_pitch = 0.8;
max_flight_roll = 2;
max_flight_speed = 200;
max_missiles = 2;
missile_launch_position = "0.0 -7.0 0.0";
missiles = 2;
model = "neopython.dat";
name = "Python";
roles = "player";
thrust = 20;
view_position_aft = "0.0 15.0 13.0";
view_position_forward = "0.0 6.3 33";
view_position_port = "-2.5 6.2 32";
view_position_starboard = "2.5 6.2 32";
weapon_position_aft = "0.0 0.0 -37.0";
weapon_position_forward = "0.0 0.0 57.0";
weapon_position_port = "-25.0 0.0 0.0";
weapon_position_starboard = "25.0 0.0 0.0";
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Right View";
view_orientation = "0.7071 0.0 0.7071 0.0";
view_position = "200.0 30.0 0.0";
weapon_facing = "FORWARD";
},
{
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 = "FORWARD";
},
{
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 = "FORWARD";
},
{
view_description = "Left View";
view_orientation = "0.7071 0

Posted: Tue Feb 24, 2009 9:58 pm
by Thargoid
You've got the line in things that shouldn't have it (player ships, sub-entities and ships which already have script keys).

Try removing the line from the following entries:

  • adder-player
  • anaconda-player
  • asp-cloaked
  • asp-player
  • boa-belly
  • boa-skiff-player
  • boa-skiff
  • boa-player
  • boa-mk2-belly
  • boa-mk2-player
  • cobra3-player
  • cobramk1-player
  • constrictor
  • ferdelance-engines
  • ferdelance-player
  • moray-player
  • morayMED-player
  • python-player
And then see if it works.
[/color]