Her Imperial Majesty's Space Navy

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

Question about naval bases:

Should their livery be identical to that of the ships (see below) or different?

Arguments for identity:
*The ghastly term: "Corporate image"
*Easier for someone to do - and thus increases chance of getting this out!
*Placement of some bases means that the white colour gives the station a better chance of not immolating!

Reference:
Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cody »

Cholmondely wrote: Sat Oct 23, 2021 10:35 pm
Placement of some bases means that the white colour gives the station a better chance of not immolating!
It's those sunwards bases which could do with being darker. Bases in IS aren't so bad due to the different lighting there.



About sunwards: I play with sun_distance_multiplier = 5; but I just switched to the default for a quick look.
I'd forgotten how ghastly the sun looks at "normal" distance, totally out of proportion. Planets would be frying!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

Cody wrote: Mon Oct 18, 2021 1:30 pm
Cholmondely wrote: Mon Oct 18, 2021 12:47 pm
Cody: am I correct in my estimation of publishability of the alpha version?
<grumbles> I suppose I'd better install the OXP and take a look. Where is the version you're using?
Sorry - missed this! Newest version is here: http://wiki.alioth.net/index.php/File:H ... a_test.oxz

Reference: https://bb.oolite.space/viewtopic.ph ... 79#p217079
_________________________________________________________________________________________________________________________________

Trade-goods.plist

I want to write a market script for HIMSN's naval bases to set prices & quantities.

I've read through the Trade-goods.plist page on the wiki, and can even understand bits of it!

But what I really need is something to copy and tweak. I've gone through a zillion-and-one station/dockable oxp's and all I can find are the old commodity.plists, tweaked as per Spara's formula. The only thing I've found which seems newer is Stranger's "Orbital Stations" oxp where the markets seem invisible in the code (despite working and being unique in the game). I've not found a single Trade-goods.plist anywhere (outside of general economics oxp's, which are too different for me to use)!

Where should I look? I need some sort of a template (from a station or dockable) to copy and tweak. If the worst comes to the worst, I suppose that I can always the old commodities.plist which works fine in Galactic Navy.

Thanks, Cholmondeley
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Her Imperial Majesty's Space Navy

Post by montana05 »

Cholmondely wrote: Mon Nov 08, 2021 2:31 pm
Where should I look? I need some sort of a template (from a station or dockable) to copy and tweak. If the worst comes to the worst, I suppose that I can always the old commodities.plist which works fine in Galactic Navy.

Thanks, Cholmondeley
Try the shipdata.plist from the source-code, rock hermits, for example.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cody »

Cholmondely wrote: Mon Nov 08, 2021 2:31 pm
Sorry - missed this! Newest version is here: http://wiki.alioth.net/index.php/File:H ... a_test.oxz
<chortles> Don't worry, I found it (I think). According to the manifest, I have version = "0.701"; - is that correct?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

Cody wrote: Mon Nov 08, 2021 3:26 pm
Cholmondely wrote: Mon Nov 08, 2021 2:31 pm
Sorry - missed this! Newest version is here: http://wiki.alioth.net/index.php/File:H ... a_test.oxz
<chortles> Don't worry, I found it (I think). According to the manifest, I have version = "0.701"; - is that correct?
My HIMSN manifest plist shows this:

{
identifier = "himsn_alpha_test";
version = "0.701";
title = "Her Imperial Majesty's Space Navy (Beta Test)";
required_oolite_version = "1.79";
description = "Alpha Test for Her Imperial Majesty's Space Navy OXZ";
category = "Misc";
author = "Gimi, Pleb, Keeper, Smivs, Cody & Disembodied";
license = "GPL v2+ / CC-BY-NC-SA 4.0";
download_url = "http://www.pleb-industries.com/Oolite/O ... a_test.oxz";
file_size = 26333184;
}

One presumes that the file size is the real give-away...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

montana05 wrote: Mon Nov 08, 2021 3:19 pm
Try the shipdata.plist from the source-code, rock hermits, for example.
Is this it? (from the shipdata.plist in the config folder)

Code: Select all

	"oolite_template_rock-hermit" = 
	{
		ai_type = "oolite-rockHermitAI.js";
		allegiance = "neutral";
		cargo_type = "CARGO_NOT_CARGO";
		energy_recharge_rate = 5;
		"equipment_price_factor" = 4.5;
		"equivalent_tech_level" = 1;
		forward_weapon_type = "WEAPON_NONE";
		frangible = 0;
		has_ecm = yes;
		has_escape_pod = no;
		has_scoop = no;
		is_carrier = 1;
		is_template = 1;
		"market_capacity" = 31; // maximum capacity for any good
		"market_definition" = (
			{
				// export cheap mining products
				"type" = "class";
				"name" = "oolite-mining";
				"price_multiplier" = 0.8;
				"price_randomiser" = 0.1;
				"quantity_multiplier" = 3.5;
				"quantity_randomiser" = 3.0;
			},
			{
				// import supplies a bit
				"type" = "class";
				"name" = "oolite-edible";
				"price_multiplier" = 1.05;
				"price_randomiser" = 0.05;
				"quantity_multiplier" = 0.0;
				"capacity" = 15;
			},
			{
				// sometimes need clothes, but usually have enough already
				"type" = "class";
				"name" = "oolite-wearable";
				"price_multiplier" = 0.8;
				"price_randomiser" = 0.4;
				"quantity_multiplier" = 0.0;
				"capacity" = 7;
			},
			{
				// sometimes need new mining equipment
				"type" = "class";
				"name" = "oolite-machinery";
				"price_multiplier" = 0.8;
				"price_randomiser" = 0.4;
				"quantity_multiplier" = 0.0;
				"capacity" = 7;
			},
			{
				// not really interested
				"type" = "default";
				"price_multiplier" = 0.55;
				"price_randomiser" = 0.25;
				"quantity_multiplier" = 0.0;
				"capacity" = 3;
			}
		);
		"market_monitored" = no;
		materials = 
		{ 
			"oolite_rock_hermit_diffuse.png" = 
			{ 
				gloss = 0.5;
				specular_color = (0.25, 0.25, 0.25);
				shininess = 42; 
				emission_map = 
				{
					name = "oolite_rock_hermit_diffuse.png";
					extract_channel = "a";
				}; 
				emission_modulate_color = (0.6388, 0.9704, 0.9566); 
			}; 
		};
		"max_defense_ships" = 2;
		max_energy = 1000;
		max_flight_pitch = 8;
		max_flight_roll = 8;
		max_flight_speed = 0;
		"max_scavengers" = 1;
		missiles = 0;
		model = "oolite_rock_hermit.dat";
		name = "Rock Hermit";
		roles = "rockhermit station";
		rotating = yes;
		requires_docking_clearance = no;
		scan_class = "CLASS_ROCK";
		show_damage = no;
		smooth = yes;
		station_roll = "0.06"; // 0.5G at rim
		subentities = 
		(
			{
				subentity_key = "oolite_rock_hermit_rock";
				position = "0 0 0";
				orientation = "1 0 0 0";
			},
			{
				subentity_key = "oolite_rock_hermit_pipes";
				position = "0 0 0";
				orientation = "1 0 0 0";
			},
			{
				subentity_key = "oolite_rock_hermit_tunnel_extras";
				position = "0 0 0";
				orientation = "1 0 0 0";
			},
			{
				subentity_key = "oolite_rock_hermit_dock";
				position = "0 0 -129.6059";
				orientation = "1 0 0 0";
				is_dock = true;
			}
		);
		thrust = 100;
		tunnel_corners = 6;
		tunnel_start_angle = 0;
		tunnel_aspect_ratio = 1;
		weapon_energy = 0;
	};
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Her Imperial Majesty's Space Navy

Post by montana05 »

Cholmondely wrote: Mon Nov 08, 2021 8:13 pm
Is this it? (from the shipdata.plist in the config folder)
Correct, I built the markets for bio-stations based on this.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cody »

Cholmondely wrote: Mon Nov 08, 2021 7:31 pm
One presumes that the file size is the real give-away...
One presumes you're correct - I have the matching version.



Question for oxz wizards: having tinkered, if I want to re-oxz it, do I need to amend the file_size in the manifest?
If yes, which size do I use? Windows gives me two options: "Size" and "Size on disk". I'm guessing the former?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Re: Her Imperial Majesty's Space Navy

Post by another_commander »

Cody wrote: Tue Nov 09, 2021 9:49 am
Question for oxz wizards: having tinkered, if I want to re-oxz it, do I need to amend the file_size in the manifest?
If yes, which size do I use? Windows gives me two options: size and size on disk.
Unless you want to upload it to the manager, you don't need to mess with the file_size entry. This field is just for information and used by the manager to let the user have an idea of how long the download will take.

If you do need to mess with it, then use the first size option, the actual one (i.e. not the size on disk one).
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cody »

Thankee, Admiral - I have no intention of uploading anything to the manager, but it's useful to know.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

Just trying to get my head around the markets scripts for this.

Montana05 - thanks for the tip!

Gentlemen, questions:

First Question:
Should the markets be monitored for legal infringement (dealing in slaves/narcotics/firearms)?

I understand that the HIMSN do not serve as police, but that is quite different to participating in dealing in illegal goods (especially with part of their funding now coming from GalCop, would would presumably take a dim view of such matters).

Putative "secondary market script":

Code: Select all

	{	
		....
		"market_capacity" = 85; // smaller than an entire populated planet
		"market_definition" = (
			{
				// import supplies
				"type" = "class";
				"name" = "oolite-edible";
				"price_multiplier" = 1.05;
				"price_randomiser" = 0.05;
				"quantity_multiplier" = 0.0;
				"capacity" = 30;
			},
			{
				// import shipyard goods
				"type" = "class";
				"name" = "oolite-machinery";
				"price_multiplier" = 1.05;
				"price_randomiser" = 0.05;
				"quantity_multiplier" = 0.0;
			},
			{
				// alien items
				"type" = "class";
				"name" = "oolite-alien";
				"price_multiplier" = 1.05;
				"price_randomiser" = 0.05;
				"quantity_multiplier" = 0.0;
				"capacity" = 85;
			}
			{
				// sometimes need clothes, but usually have enough already
				"type" = "class";
				"name" = "oolite-wearable";
				"price_multiplier" = 0.8;
				"price_randomiser" = 0.4;
				"quantity_multiplier" = 0.0;
				"capacity" = 7;
			},			
			{
				// not really interested
				"type" = "default";
				"price_multiplier" = 0.55;
				"price_randomiser" = 0.25;
				"quantity_multiplier" = 0.0;
				"capacity" = 5;
			}
		);
				//"no" allows dealing in illegals with impunity - buying firearms and narcotics (for medicine)
		"market_monitored" = no; 
		....
	};
Second Question:
How do I get this to work in witch-space?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cody »

Cholmondely wrote: Sat Nov 13, 2021 8:35 pm
How do I get this to work in witch-space?
<chortles> You mean interstellar space... right?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Her Imperial Majesty's Space Navy

Post by Cholmondely »

Cody wrote: Sun Oct 24, 2021 12:23 pm
Cholmondely wrote: Sat Oct 23, 2021 10:35 pm
Placement of some bases means that the white colour gives the station a better chance of not immolating!
It's those sunwards bases which could do with being darker. Bases in IS aren't so bad due to the different lighting there.
Sorry: Cody, (i) are you suggesting that the IS bases should be in the livery of the top ship, while the sunwards bases should be in the livery of the bottom ship?

And (ii) which logo should they have emblazoned on them?

Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Her Imperial Majesty's Space Navy

Post by Disembodied »

Cholmondely wrote: Tue Nov 16, 2021 1:09 pm
which logo should they have emblazoned on them?
There was a specific logo for stations:
Gimi wrote: Wed Feb 26, 2014 9:19 am
HIMSN Stations will have a white flaring sun on a blue background.
Image
see https://bb.oolite.space/viewtopic.ph ... 71#p216471
Post Reply