Page 1 of 1

Ore Processor - Custom Splinters.

Posted: Fri Jun 14, 2024 1:09 pm
by CMDR_Lemon73
Hello.

I am running Oolite-1.90_x64 on PC, Windows 10.

I have my own custom splinters that make it obvious what they contain, it sates my fruit machine addiction I think.

However the Ore Processor V 2.2.2 only allows me to randomly throw in these splinters by renaming shipdata.plist_ to shipdata.plist and 1.59 has a bug when using it on Oolite 1.90 where processed gems stones do not show up in the hold.

Is there any way I can fix Ore Processor 1.59 to process the gem stones correctly (my preferred option) or get V2.2.2 to only use my splinter textures so I know what I'm scooping as before.

Any help appreciated.

Dave.

Image

Re: Ore Processor - Custom Splinters.

Posted: Mon Jun 17, 2024 12:40 am
by phkb
Can I get a copy of your shipdata.plist file?

Re: Ore Processor - Custom Splinters.

Posted: Mon Jun 17, 2024 5:36 am
by Cholmondely
It would also be nice to get ice splinters on breaking down/lasering ice boulders, rather than plates of alloy!

Is there a simple tweak which would do it?

1) In the shipdata.plist the asteroids have debris_role = "ice_boulder";, the boulders have no equivalent term. This seems an easy fix. Even for this dumb pilot.
2) Nor are there models for ice splinters. Is it possible to just redefine the size of a boulder and then reuse it as a splinter?
3) And how does one get Oolite to allow scooping the ice splinters and then selling them as SW Economy "water"? "cargo_type" seems not to do this from the description.


References:
Icesteroids
Griff's Icesteroids

Re: Ore Processor - Custom Splinters.

Posted: Mon Jun 17, 2024 4:08 pm
by CMDR_Lemon73
phkb wrote: Mon Jun 17, 2024 12:40 am
Can I get a copy of your shipdata.plist file?
Hi phkb. Sure he it is. This is for v1.59.

{
"op_alloys" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_alloys.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.75) alloySplinter";
"script_info" = {
cargotype = Alloys;
message = "@1 ton of Alloys extracted";
quantity = 1;
};
};
"op_alloys2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_alloys.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.75) alloySplinter";
"script_info" = {
cargotype = Alloys;
message = "@1 ton of Alloys extracted";
quantity = 1;
};
};
"op_alloys3" = {
"like_ship" = "op_alloys";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_alloys2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.75) alloySplinter";
};
"op_alloys4" = {
"like_ship" = "op_alloys2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_alloys2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.75) alloySplinter";
};
"op_gems" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gem.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.15) gemSplinter";
scan_class = "CLASS_CARGO";
"script_info" = {
cargotype = "Gem-Stones";
message = "Extracted @1 gr of Gems from the splinter!!!";
quantity = "-5";
};
};
"op_gems2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gem.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.15) gemSplinter";
scan_class = "CLASS_CARGO";
"script_info" = {
cargotype = "Gem-Stones";
message = "Extracted @1 gr of Gems from the splinter!!!";
quantity = "-7";
};
};
"op_gems3" = {
"like_ship" = "op_gems";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gem2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.08) gemSplinter";
"script_info" = {
cargotype = "Gem-Stones";
message = "Extracted @1 gr of Gems from the splinter!!!";
quantity = "-10";
};
};
"op_gems4" = {
"like_ship" = "op_gems2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gem2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.08) gemSplinter";
"script_info" = {
cargotype = "Gem-Stones";
message = "Extracted @1 gr of Gems from the splinter!!!";
quantity = "-10";
};
};
"op_gold" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gold.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.2) goldSplinter";
"script_info" = {
cargotype = Gold;
message = "@1 kilogram of Gold extracted";
quantity = "-2";
};
};
"op_gold2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gold.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.2) goldSplinter";
"script_info" = {
cargotype = Gold;
message = "@1 kilogram of Gold extracted";
quantity = "-2";
};
};
"op_gold3" = {
"like_ship" = "op_gold";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gold2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.1) goldSplinter";
"script_info" = {
cargotype = Gold;
message = "@1 kilogram of Gold extracted";
quantity = "-3";
};
};
"op_gold4" = {
"like_ship" = "op_gold2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_gold2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.1) goldSplinter";
"script_info" = {
cargotype = Gold;
message = "@1 kilogram of Gold extracted";
quantity = "-6";
};
};
"op_griff_alloy_splinter_3" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_3.dat";
roles = "griff_splinter(0.75)";
script = "op_splinter.js";
"script_info" = {
cargotype = Alloys;
message = "@1 ton of Alloys extracted";
quantity = 1;
};
};
"op_griff_alloy_splinter_4" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_4.dat";
roles = "griff_splinter(0.75)";
script = "op_splinter.js";
"script_info" = {
cargotype = Alloys;
message = "@1 ton of Alloys extracted";
quantity = 1;
};
};
"op_griff_gems_splinter_5" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_5.dat";
roles = "griff_splinter(0.15)";
script = "op_splinter.js";
"script_info" = {
cargotype = "Gem-Stones";
message = "Extracted @1 gr of Gems from the splinter!!!";
quantity = "-5";
};
};
"op_griff_gold_splinter_6" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_6.dat";
roles = "griff_splinter(0.2)";
script = "op_splinter.js";
"script_info" = {
cargotype = Gold;
message = "@1 kilogram of Gold extracted";
quantity = "-2";
};
};
"op_griff_platinum_splinter_7" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_7.dat";
roles = "griff_splinter(0.15)";
script = "op_splinter.js";
"script_info" = {
cargotype = Platinum;
message = "@1 kilogram of Platinum extracted";
quantity = "-2";
};
};
"op_griff_radioactive_splinter_1" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_1.dat";
roles = "griff_splinter(0.35)";
script = "op_splinter.js";
"script_info" = {
cargotype = Alloys;
message = "@1 ton of Alloys extracted";
quantity = 1;
};
};
"op_griff_radioactive_splinter_2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_2.dat";
roles = "griff_splinter(0.35)";
script = "op_splinter.js";
"script_info" = {
cargotype = Radioactives;
message = "@1 ton of Radioactives extracted";
quantity = 1;
};
};
"op_griff_radioactive_splinter_8" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"is_external_dependency" = yes;
"like_ship" = "griff_normalmapped_splinter_template";
model = "griff_splinter_8.dat";
roles = "griff_splinter(0.35)";
script = "op_splinter.js";
"script_info" = {
cargotype = Radioactives;
message = "@1 ton of Radioactives extracted";
quantity = 1;
};
};
"op_minerals3" = {
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_minerals2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = splinter;
};
"op_minerals4" = {
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_minerals2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = splinter;
};
"op_platinum" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_platinum.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.15) platinumSplinter";
"script_info" = {
cargotype = Platinum;
message = "@1 kilogram of Platinum extracted";
quantity = "-2";
};
};
"op_platinum2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_platinum.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.15) platinumSplinter";
"script_info" = {
cargotype = Platinum;
message = "@1 kilogram of Platinum extracted";
quantity = "-3";
};
};
"op_platinum3" = {
"like_ship" = "op_platinum";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_platinum2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.08) platinumSplinter";
"script_info" = {
cargotype = Platinum;
message = "@1 kilogram of Platinum extracted";
quantity = "-3";
};
};
"op_platinum4" = {
"like_ship" = "op_platinum2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_platinum2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.08) platinumSplinter";
"script_info" = {
cargotype = Platinum;
message = "@1 kilogram of Platinum extracted";
quantity = "-6";
};
};
"op_radioactives" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_radioactives.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.35) radioactiveSplinter";
"script_info" = {
cargotype = Radioactives;
message = "@1 ton of Radioactives extracted";
quantity = 1;
};
};
"op_radioactives2" = {
"cargo_type" = "CARGO_SCRIPTED_ITEM";
"like_ship" = "op_splinter2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_radioactives.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.35) radioactiveSplinter";
"script_info" = {
cargotype = Radioactives;
message = "@1 ton of Radioactives extracted";
quantity = 1;
};
};
"op_radioactives3" = {
"like_ship" = "op_radioactives";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_radioactives2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.35) radioactiveSplinter";
};
"op_radioactives4" = {
"like_ship" = "op_radioactives2";
materials = {
"op_alloys.png" = {
"diffuse_map" = "op_radioactives2.png";
shininess = 2;
specular = (
"0.1",
"0.1",
"0.1",
"1.0"
);
};
};
roles = "splinter(0.35) radioactiveSplinter";
};
"op_splinter" = {
"ai_type" = "dumbAI.plist";
bounty = 1;
"cargo_type" = "CARGO_MINERALS";
"energy_recharge_rate" = 0;
"forward_weapon_type" = "WEAPON_NONE";
"has_ecm" = 0;
"has_escape_pod" = 0;
"has_scoop" = 0;
"is_template" = 1;
"likely_cargo" = 0;
"max_cargo" = 0;
"max_energy" = 5;
"max_flight_pitch" = 1;
"max_flight_roll" = 1;
"max_flight_speed" = 10;
missiles = 0;
model = "op_splinter.dat";
name = Splinter;
roles = baseforopsplinter;
scan_class = "CLASS_CARGO";
script = "op_splinter.js";
smooth = 1;
thrust = 0;
unpiloted = 1;
"weapon_energy" = 0;
};
"op_splinter2" = {
"ai_type" = "dumbAI.plist";
bounty = 1;
"cargo_type" = "CARGO_MINERALS";
"energy_recharge_rate" = 0;
"forward_weapon_type" = "WEAPON_NONE";
"has_ecm" = 0;
"has_escape_pod" = 0;
"has_scoop" = 0;
"is_template" = 1;
"likely_cargo" = 0;
"max_cargo" = 0;
"max_energy" = 5;
"max_flight_pitch" = 1;
"max_flight_roll" = 1;
"max_flight_speed" = 10;
missiles = 0;
model = "op_splinter2.dat";
name = Splinter;
roles = baseforopsplinter2;
scan_class = "CLASS_CARGO";
script = "op_splinter.js";
smooth = 1;
thrust = 0;
unpiloted = 1;
"weapon_energy" = 0;
};
}

Re: Ore Processor - Custom Splinters.

Posted: Mon Jun 17, 2024 10:53 pm
by phkb
CMDR_Lemon73 wrote: Mon Jun 17, 2024 4:08 pm
Hi phkb. Sure he it is. This is for v1.59.
Right. I have a patch for v2.22 that will allow you to use the custom splinters in the hidden shipdata file without needing to rename anything. You can choose to turn on the custom splinters using Library Config.

I'll just run a couple of tests to make sure it's working and get a release out shortly.

Re: Ore Processor - Custom Splinters.

Posted: Mon Jun 17, 2024 11:28 pm
by phkb
OK, new version should be available from the DM shortly. I've fixed up the shipdata file so it should work now, and you don't have to rename it. Just go into Library Config, find the "Ore Processor" item, and change the flag "Use custom splinters" to true.

Re: Ore Processor - Custom Splinters.

Posted: Tue Jun 18, 2024 12:56 pm
by CMDR_Lemon73
phkb wrote: Mon Jun 17, 2024 11:28 pm
OK, new version should be available from the DM shortly. I've fixed up the shipdata file so it should work now, and you don't have to rename it. Just go into Library Config, find the "Ore Processor" item, and change the flag "Use custom splinters" to true.
Thank you so much phkb, sorry for my ignorace but what is the DM?

Re: Ore Processor - Custom Splinters.

Posted: Tue Jun 18, 2024 12:58 pm
by Wildeblood
Download Manager.