Page 54 of 65

Re: Her Imperial Majesty's Space Navy

Posted: Sat Oct 23, 2021 10:35 pm
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

Re: Her Imperial Majesty's Space Navy

Posted: Sun Oct 24, 2021 12:23 pm
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!

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 2:31 pm
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

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 3:19 pm
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.

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 3:26 pm
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?

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 7:31 pm
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...

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 8:13 pm
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;
	};

Re: Her Imperial Majesty's Space Navy

Posted: Mon Nov 08, 2021 10:50 pm
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.

Re: Her Imperial Majesty's Space Navy

Posted: Tue Nov 09, 2021 9:49 am
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?

Re: Her Imperial Majesty's Space Navy

Posted: Tue Nov 09, 2021 9:59 am
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).

Re: Her Imperial Majesty's Space Navy

Posted: Tue Nov 09, 2021 10:03 am
by Cody
Thankee, Admiral - I have no intention of uploading anything to the manager, but it's useful to know.

Re: Her Imperial Majesty's Space Navy

Posted: Sat Nov 13, 2021 8:35 pm
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?

Re: Her Imperial Majesty's Space Navy

Posted: Sat Nov 13, 2021 8:58 pm
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?

Re: Her Imperial Majesty's Space Navy

Posted: Tue Nov 16, 2021 1:09 pm
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

Re: Her Imperial Majesty's Space Navy

Posted: Tue Nov 16, 2021 1:39 pm
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