Question for Griff -Request to release Moray Star Taxi

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

Post Reply
dertien
---- E L I T E ----
---- E L I T E ----
Posts: 471
Joined: Sun Jan 23, 2011 9:27 pm
Location: Belgium, Monarchy, Feudal, Overtaxed system

Question for Griff -Request to release Moray Star Taxi

Post by dertien »

Hi Griff,

Congrats on your normalmapped ships, they really rock. This is my first go at modding oolite and I have made a little taxi skin for your Moray Star Boat. I was wondering, since I used your model, if I could release it as a packaged oxp with your moray star boat model in it for easy installation? If you like, you are free to put the skin into any coming version of your shippack should you want to.

right;

Screens:

http://img40.imageshack.us/i/95715855.jpg
http://img821.imageshack.us/i/21970302.jpg/
http://img138.imageshack.us/i/93757119.jpg/
http://img18.imageshack.us/i/11487544.jpg/
http://img196.imageshack.us/i/31387030.jpg/

Plug and play Download as soon as Griff gives me permission to release the pack including his work.


Download skin here:

http://www.box.net/shared/0bp3s2mie4

- Make amendments to shipdata.plist and shipyard.plist to include the ship in Oolite. Use Griffs' all in one normalmapped ships oxp (copy the downloaded png to the texture folder) and add this to the shipdata.plist file with notepad or use Dreamweaver like I did for a clear view of the code.

add the following lines to the shipdata.plist

// ++++++ Moray ++++++
"griff_normalmapped_moray_taxi-player" =
{
aft_eject_position = "0.0 -10.287 -28.1";
energy_recharge_rate = 3;
forward_weapon_type = "WEAPON_PULSE_LASER";
materials =
{
"griff_moray_diffuse.png" =
{
diffuse_map = "griff_moray_diffuse_taxi.png";
specular_color = ( 0.6, 0.5, 0.5 ); // Applies when specular map is not used (no shaders)
shininess = 10;
emission_map = { name = "griff_moray_normal.png"; extract_channel = "a"; };
emission_modulate_color = (0.8753, 1.0, 0.5314);
};
};
max_cargo = 7;
max_energy = 240;
max_flight_pitch = 1.5;
max_flight_roll = 2.5;
max_flight_speed = 300;
max_missiles = 2;
missiles = 2;
missile_launch_position = "0.0 -15.96 29.8";
model = "griff_moray.dat";
name = "Moray Star Taxi";
roles = "player";
thrust = 32;
scoop_position = "0.0 -15.212809 26.5399";
smooth = "false";
shaders =
{
"griff_moray_diffuse_med.png" =
{
vertex_shader = "griff_normalmap_ships.vertex";
fragment_shader = "griff_moray_player.fragment";
textures =
(
"griff_moray_diffuse_med.png",
"griff_moray_normal.png",
{ name = "griff_moray_masks.png"; repeat_s = yes; repeat_t = yes; },
{ name = "griff_moray_effects.png"; repeat_s = yes; repeat_t = yes; }
);
uniforms =
{
uColorMap = { type = texture; value = 0; };
uNormalMap = { type = texture; value = 1; };
uMasksMap = { type = texture; value = 2; };
uEffectsMap = { type = texture; value = 3; };
uTime = "universalTime";
nearly_dead = "throwingSparks";
alertlevel = "alertCondition";
hull_heat_level = "hullHeatLevel";
fresnelColor = {type = "randomUnitVector"; scale = 0.3;};
EnvironmentMapColor = {type = "randomUnitVector"; scale = 0.32;};
};
};
};
view_position_aft = "0.0 0.076074 -34.8507";
view_position_forward = "0.0 -6.77 33.468";
view_position_port = "-20.695265 -0.130955 -14.726075";
view_position_starboard = "20.695265 -0.130955 -14.726075";
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";
}
);

weapon_position_aft = "0.0 -2.554795 -27.78225";
weapon_position_forward = "0.0 -11.61515 32.5756";
weapon_position_port = "-30.0 -2.0 6.25";
weapon_position_starboard = "30.0 -2.0 6.25";

};

Then open the shipyard.plist file and add this to the bottom of it (before the last }) This will make the starboat taxi show up on the buy screen.

/* Griff Moray taxi*/
"griff_normalmapped_moray_taxi-player" = {
chance = 0.375;
"optional_equipment" =
(
"EQ_ECM",
"EQ_FUEL_SCOOPS",
"EQ_PASSENGER_BERTH",
"EQ_ESCAPE_POD",
"EQ_ENERGY_BOMB",
"EQ_ENERGY_UNIT",
"EQ_NAVAL_ENERGY_UNIT",
"EQ_DOCK_COMP",
"EQ_WEAPON_PULSE_LASER",
"EQ_WEAPON_BEAM_LASER",
"EQ_WEAPON_MINING_LASER",
"EQ_WEAPON_MILITARY_LASER",
"EQ_FUEL_INJECTION",
"EQ_SCANNER_SHOW_MISSILE_TARGET",
"EQ_MULTI_TARGET",
"EQ_GAL_DRIVE",
"EQ_ADVANCED_COMPASS",
"EQ_SHIELD_BOOSTER",
"EQ_NAVAL_SHIELD_BOOSTER"
);
price = 125000;
"standard_equipment" =
{
extras =
(
"EQ_HEAT_SHIELD"
);
"forward_weapon_type" = "EQ_WEAPON_PULSE_LASER";
missiles = 2;
};
techlevel = 5;
"weapon_facings" = 15;
};

User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Question for Griff -Request to release Moray Star Taxi

Post by DaddyHoggy »

Hi dertien,

welcome to the friendliest board this side of Riedquat(tm).

I love the mod - I think it's a first for Griff's ships - the only question I would ask is this: would a 20th/21st Century mode of transport be used as the icon for a taxi in the 32nd Century? I honestly don't think you need it.

However, it's your mod, so feel free to ignore my observation!
Selezen wrote:Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here

User avatar
Phantom Hoover
Dangerous
Dangerous
Posts: 100
Joined: Mon Mar 22, 2010 9:06 pm

Re: Question for Griff -Request to release Moray Star Taxi

Post by Phantom Hoover »

The licence on the Griff Moray allows you to use it as you have described without explicit permission.

User avatar
Gimi
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: Question for Griff -Request to release Moray Star Taxi

Post by Gimi »

Phantom Hoover wrote:The licence on the Griff Moray allows you to use it as you have described without explicit permission.
True, but given the quality of the work, I would love to see it included in Griffs as an additional variant. Keeps the total number of OXP's down, but will require Griffs approval.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).

dertien
---- E L I T E ----
---- E L I T E ----
Posts: 471
Joined: Sun Jan 23, 2011 9:27 pm
Location: Belgium, Monarchy, Feudal, Overtaxed system

Re: Question for Griff -Request to release Moray Star Taxi

Post by dertien »

Thank you for the warm welcome.

Good point there DaddyHoggy, just wanted to make it recognizable... Besides the taxi company could have been around since the 21 st century on earth and kept the same logo generation after generation. :wink:

Anyways, I've uploaded a drag and drop oxp file for everybody who wants this mod and try it out.

Download here:

http://www.box.net/shared/89kmeb376i

Have fun.

Steve

PS: I've included credits to whom was due and put a whole oxp online for you boys and girls to try out. If Griff wants to include my humble little skin in his pack, he's got a green light from me.(y). I will remove this file ASAP if Griff complains about it.

****************************************************************************************

An alternate weathered skin here: Replace the texture in the oxp and overwrite.

Screens:

http://img248.imageshack.us/i/weathered1.jpg/
http://img831.imageshack.us/i/weathered2.jpg/

Download:

http://www.box.net/shared/0bp3s2mie4
Alpha Backer of Elite Dangerous
With 250 GBP :D

User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2298
Joined: Fri Jul 14, 2006 12:29 pm
Location: Wales

Re: Question for Griff -Request to release Moray Star Taxi

Post by Griff »

:) That looks great dertien! Would you like me to add a link to your oxp on the index page of the 'griff's normal mapped ships thread', i'm not sure about wiki editing but maybe someone could link to it there too on the griff industries page

User avatar
Gimi
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Re: Question for Griff -Request to release Moray Star Taxi

Post by Gimi »

Griff wrote::) That looks great dertien! Would you like me to add a link to your oxp on the index page of the 'griff's normal mapped ships thread', i'm not sure about wiki editing but maybe someone could link to it there too on the griff industries page
You should make a section under Griff industries to subcontractors, or even to companies that modify and sell variants of you ships.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).

dertien
---- E L I T E ----
---- E L I T E ----
Posts: 471
Joined: Sun Jan 23, 2011 9:27 pm
Location: Belgium, Monarchy, Feudal, Overtaxed system

Re: Question for Griff -Request to release Moray Star Taxi

Post by dertien »

Hay Griff,

Good to hear you mate. Sure, by all means you can use it as you see fit. I don't know how long the files stay stored on box.net. I know they get thrown off after a while on rapidshare, so if you feel you can give our little taxi a safe parking spot, feel free to put it on your site or somewhere safe.

If you feel that it belongs on your wiki too (http://wiki.alioth.net/index.php/Griff_Industries) between all your other masterpieces, please feel free to do so. I made this little baby to use it as a model for the taxi.oxp. Since my work is only starting in spring, I have a little bit of time to plonk around and standardize the oxp addons I use with your normalmapped ships, giving some of them an appropriate texture. I was lucky that the taxi came out so good.

*********** HIRED GUNS GRIFF OXP **************
On another note, I used your krait, cobra Mk I and viper interceptor in an amended version of the Hired Guns oxp, and they really show up fine. I will contact the author of hiredguns.oxp and ask him if I can put his oxp online using your ships, if you don't mind that is.
*******************************************

A little question Griff. Is there a way to make one oxp use the models of another without duplicating files, I mean copying all your textures, models and shader files over and over again seems a bit over redundant. So in clear language this; I have now 2 oxps in my addon folder:

- griff_shipset_all_in_1.oxp
- griff_moray_taxi.oxp

both oxp's have duplicate files and folders, it would be cool if griff_moray_taxi.oxp could be dependent on the moray model and shaders of the griff_shipset_all_in_1.oxp. Is there a thread here on the BB or could you make a quick howto readme, or even change my oxp so I can have a peek at the mechanix ? Whatever is easier for you.

I am also streamlining another oxp to use only your ships... but that takes a while since there's a lot of ships involved...

Thank you again everyone here for a warm welcome.

Hear you soon.

Steve
Alpha Backer of Elite Dangerous
With 250 GBP :D

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Disunited Kingdom
Contact:

Re: Question for Griff -Request to release Moray Star Taxi

Post by Smivs »

dertien wrote:

A little question Griff. Is there a way to make one oxp use the models of another without duplicating files, I mean copying all your textures, models and shader files over and over again seems a bit over redundant.
Steve

Hi Steve,
Yes you can do this with like_ship in a shipdata.plist. I have done this for the forthcoming TG2 OXP.
Here's an example, where I've used one of Griff's ships (the Boa) as a pirate. This plist just changes the bits I needed to change, such as laser type, extra equipment and crucially the 'roles' and AI.

Code: Select all

"griff-boa-pitbull" =
	{ 
                     like_ship = "griff_normalmapped_boa_NPC_template";
	        model = "griff_boa_mainhull.dat"; 
                     ai_type = "pirateAI.plist";
                          auto_ai = yes;
		forward_weapon_type = "WEAPON_MILITARY_LASER";
		aft_weapon_type = "WEAPON_MILITARY_LASER";
		energy_recharge_rate = 5.4;
		has_ecm = yes;
		has_fuel_injection = yes;
		has_scoop = yes;
		has_shield_booster = yes;
                   missile_role = "EQ_HARDENED_MISSILE";
                   weapon_energy = 23.0;
                   likely_cargo = 12;
		name = "Boa 'PitBull'";
		roles = "pirate";
	};
However be aware that the individual downloads and the all-in-one set do seem to have different naming structures. The above Boa needs to be named

Code: Select all

"griff_normalmapped_boa_NPC"
for the all-in-one set.


NB the weird indenting happened during copy/pasting and is not intentional :?:
Commander Smivs, the friendliest Gourd this side of Riedquat.

dertien
---- E L I T E ----
---- E L I T E ----
Posts: 471
Joined: Sun Jan 23, 2011 9:27 pm
Location: Belgium, Monarchy, Feudal, Overtaxed system

Re: Question for Griff -Request to release Moray Star Taxi

Post by dertien »

Hi Smivs,

Thank you very much for taking the time to point that out, that helps a bunch. :D Back to the test bench then and hopefully make a smaller oxp with less files. I hate heavy unnecessary downloads, and I am probably not the only one.

Laterz

Steve

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Re: Question for Griff -Request to release Moray Star Taxi

Post by Thargoid »

dertien wrote: *********** HIRED GUNS GRIFF OXP **************
On another note, I used your krait, cobra Mk I and viper interceptor in an amended version of the Hired Guns oxp, and they really show up fine. I will contact the author of hiredguns.oxp and ask him if I can put his oxp online using your ships, if you don't mind that is.
*******************************************
Hired guns deliberately doesn't come with any ships of its own - it uses whatever the current installation has for its three types (viper-interceptor, cobra3-trader and sidewinder-escort). It was deliberately set up that way to keep the OXP small, and also to allow full flexibility for whatever the user may have installed. Also those ships were specifically chosen for power balance, along with the tweaks that the OXP gives the HG versions.

If they have only Griff versions of those ships in place then they will already be used. If they don't (or have a mix of ship OXPs) then they will be taken from the pool as normal.

Honestly I would prefer to keep it that way, as having them as only Griff ships is either redundant (in the former case) or could look strange and too specific (in the latter). Plus having a second version of the OXP around gives one more to maintain, and I have quite enough already ;)

As to putting a modified version online - the license for the OXP is quite detailed in that area as to what would be required (nothing personal - I just don't want to have clashing or multiple versions, or to have to potentially deal with modifications I know nothing about which may break things).

dertien
---- E L I T E ----
---- E L I T E ----
Posts: 471
Joined: Sun Jan 23, 2011 9:27 pm
Location: Belgium, Monarchy, Feudal, Overtaxed system

Re: Question for Griff -Request to release Moray Star Taxi

Post by dertien »

Hey Thargoid,

Yeah no worries, I will keep that oxp private then and not share it if that is your wish. I understand about not wanting to update 15 oxp's that all do the same. I added griff's ships and altered your hired guns oxp since they didn't use griff's ships like you say they should, but showed the stock "paper model" ships that come with oolite vanilla.
I don't know why it doesnt pick them automatically like you say, but this solved my problem.

Peace

Steve
Alpha Backer of Elite Dangerous
With 250 GBP :D

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Re: Question for Griff -Request to release Moray Star Taxi

Post by Thargoid »

HG uses a like_ship to "copy" bits from shipdata.plist. So it may be that Griff's OXPs aren't truly replacing them but just suppressing them and then being picked by role. In which case then what you see will be correct, and the Griff ones won't be used.

I'll give some ponderance as to whether there is a workable way around that. But by all means hack around with any of my OXPs for personal usage. I just don't want multiple different versions of the same OXP in the wild in case problems crop up.

Post Reply