Umm. All corrections made but still failing to download in-game.
Links to wiki and download from Ooolite.org work, but not the in-game download.
Running my mouse over the file:page in the wiki achieved nothing (even when holding down shift/option/command/control buttons).
But when I ran my mouse over the downloaded file and pressed command-i, I got this:
http://wiki.alioth.net/img_auth.php/2/2 ... wnload.png
There were a couple of mishaps, but I sorted them out, and it now works.
Thank you very much Gentlemen, I'd never have managed it without you both!
Oh! And is there some way of reducing the size of the graphics posted here? How can I shrink that imaginative, illustrious and insightful image just above?
Deciphering Javascipt/Legacy Script
Moderators: winston, another_commander
- Cholmondely
- 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: Deciphering Javascipt/Legacy Script
Last edited by Cholmondely on Thu Aug 26, 2021 3:42 pm, edited 2 times in total.
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?
•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?
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Deciphering Javascipt/Legacy Script
Post it as a thumbnail; post it as a link without image tags; or shrink it yourself, then post it.Cholmondely wrote: ↑Thu Aug 26, 2021 1:33 pmAnd is there some way of reducing the size of the graphics posted here?
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Cholmondely
- 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: Deciphering Javascipt/Legacy Script
Can't get the thumbnail - just a link or a gigantic graphic. Nothing in between!Cody wrote: ↑Thu Aug 26, 2021 3:40 pmPost it as a thumbnail; post it as a link without image tags; or shrink it yourself, then post it.Cholmondely wrote: ↑Thu Aug 26, 2021 1:33 pmAnd is there some way of reducing the size of the graphics posted here?
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?
•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?
- Cholmondely
- 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: Deciphering Javascipt/Legacy Script
Trying to make sense of some of the programming pages on the wiki.
I came across this statement on the Property List page:
But when I opened up oolite.oxp.another_commander.188NSGMaps.1_1 and looked inside the shipdata-overrides.plist I found this:
I presume that this is in Javascript, and that it works across all formats - and that the wiki page is thus wrong.
I came across this statement on the Property List page:
This was last edited by somebody knowledgeable almost a decade ago.Formats
A property list is an abstract structure which can be represented files using at least five different formats. Since Oolite uses two different implementations of property list support, one on Mac OS X and another on other platforms, it can’t consistently read all these formats.
Two formats are recommended for Oolite: the traditional OpenStep format, which is easy to read, and the XML format, which is more flexible. The other formats are Apple binary format (which can be read by both implementations, but is not human-readable), and the GNUstep text and binary formats, which are not supported under Mac OS X.
While the OpenStep format does not support all the data types used by Oolite – specifically, it does not support integers, reals or booleans – Oolite can in most cases automatically convert strings to these types starting with Oolite 1.69. (If you find an exception, please report it.) As such, the types can be used interchangeably. In prior versions of Oolite, some types, especially booleans, could not be converted automatically, so XML format was required for some property lists.
But when I opened up oolite.oxp.another_commander.188NSGMaps.1_1 and looked inside the shipdata-overrides.plist I found this:
Code: Select all
{
"oolite_template_adder" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_adder_diffuse.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_adder_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_adder_normal.png";
specular_map = "oolite_adder_specular.png";
};
};
};
"oolite_template_anaconda" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_anaconda_diffuse.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_anaconda_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_anaconda_normal.png";
specular_map = "oolite_anaconda_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_anaconda_subents.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_anaconda_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_anaconda_subents_normal.png";
specular_map = "oolite_anaconda_subents_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_anaconda_subents.png";
gloss = 0.622;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
};
};
};
"oolite_template_asp" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_asp_diffuse.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_asp_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_asp_normal.png";
specular_map = "oolite_asp_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_asp_subents.png";
gloss = 0.622;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
};
};
};
"oolite_template_asteroid" =
{
materials =
{
"oolite_asteroid_diffuse.png" =
{
gloss = 0.322;
shininess = 29;
specular_color = (0.3, 0.3, 0.3, 1.0);
normal_map = "oolite_asteroid_normal.png";
};
};
};
"oolite_template_asteroid_alt" =
{
materials =
{
"oolite_alt_asteroid_diffuse.png" =
{
gloss = 0.322;
shininess = 29;
specular_color = (0.3, 0.3, 0.3, 1.0);
normal_map = "oolite_alt_asteroid_normal.png";
};
};
};
"oolite_template_boa" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_boa_diffuse.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_boa_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.9926, 0.9686, 0.7325);
normal_map = "oolite_boa_normal.png";
specular_map = "oolite_boa_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_boa_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_boa_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_boa_subents_normal.png";
specular_map = "oolite_boa_subents_specular.png";
};
};
};
"oolite_template_boa-mk2" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_boa-mk2_diffuse.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_boa-mk2_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_boa-mk2_normal.png";
specular_map = "oolite_boa-mk2_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_boa-mk2_subents.png";
specular_color = (0.25, 0.25, 0.25);
gloss = 1.0;
shininess = 42;
emission_map =
{
name = "oolite_boa-mk2_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_boa-mk2_subents_normal.png";
specular_map = "oolite_boa-mk2_subents_specular.png";
};
};
};
"oolite_template_cobra3" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobra3_diffuse.png";
specular_color = ( 0.25, 0.25, 0.25 );
gloss = 0.8;
shininess = 42;
emission_map = { name = "oolite_cobra3_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobra3_normal.png";
specular_map = "oolite_cobra3_specular.png";
};
"Gun" =
{
gloss = 0.622;
diffuse_map = "oolite_cobra3_subents.png";
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
normal_map = "oolite_cobra3_subents_normal.png";
};
};
};
"oolite_template_cobra3-alternate" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobra3_diffuse_alt.png";
gloss = 0.8;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_cobra3_diffuse_alt.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobra3_normal.png";
specular_map = "oolite_cobra3_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_cobra3_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
normal_map = "oolite_cobra3_subents_normal.png";
};
};
};
"oolite_template_cobra3-pirate" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobra3_diffuse_pirate.png";
gloss = 0.8;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_cobra3_diffuse_pirate.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobra3_normal.png";
specular_map = "oolite_cobra3_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_cobra3_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
normal_map = "oolite_cobra3_subents_normal.png";
};
};
};
"oolite_template_cobramk1" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobramk1_diffuse.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_cobramk1_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobramk1_normal.png";
specular_map = "oolite_cobramk1_specular.png";
};
};
};
"oolite_template_cobramk1-alt" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobramk1_diffuse_alt.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_cobramk1_diffuse_alt.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobramk1_normal.png";
specular_map = "oolite_cobramk1_specular.png";
};
};
};
"oolite_template_cobramk1-miner" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_cobramk1_diffuse_miner.png";
gloss = 0.8;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_cobramk1_diffuse_miner.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_cobramk1_normal.png";
specular_map = "oolite_cobramk1_specular.png";
};
};
};
"oolite_template_ferdelance" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_ferdelance_diffuse.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_ferdelance_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_ferdelance_normal.png";
specular_map = "oolite_ferdelance_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_ferdelance_subents.png";
gloss = 1.0;
specular_color = ( 0.6, 0.5, 0.5 );
shininess = 29;
emission_map =
{
name = "oolite_ferdelance_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_ferdelance_subents_normal.png";
specular_map = "oolite_ferdelance_subents_specular.png";
};
};
};
"oolite_template_gecko" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_gecko_diffuse.png";
gloss = 0.9;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_gecko_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_gecko_normal.png";
specular_map = "oolite_gecko_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_gecko_subents.png";
gloss = 1.0;
specular_color = ( 0.6, 0.5, 0.5 );
shininess = 29;
normal_map = "oolite_gecko_subents_normal.png";
specular_map = "oolite_gecko_subents_specular.png";
};
};
};
"oolite_template_krait" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_krait_diffuse.png";
gloss = 0.9;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_krait_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_krait_normal.png";
specular_map = "oolite_krait_specular.png";
};
};
};
"oolite_template_mamba" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_mamba_diffuse.png";
gloss = 0.67;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_mamba_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_mamba_normal.png";
specular_map = "oolite_mamba_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_mamba_subents.png";
gloss = 0.622;
specular_color = ( 0.6, 0.5, 0.5 );
shininess = 40;
normal_map = "oolite_mamba_subents_normal.png";
};
};
};
"oolite_template_mamba-escort" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_mamba_diffuse_escort.png";
gloss = 0.67;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_mamba_diffuse_escort.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_mamba_normal.png";
specular_map = "oolite_mamba_specular.png";
};
"Gun" =
{
diffuse_map = "oolite_mamba_subents.png";
gloss = 0.622;
specular_color = ( 0.6, 0.5, 0.5 );
shininess = 40;
normal_map = "oolite_mamba_subents_normal.png";
};
};
};
"oolite_template_moray" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_moray_diffuse.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_moray_normal.png";
specular_map = "oolite_moray_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_moray_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_moray_subents_normal.png";
};
};
};
"oolite_template_morayMED" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_moray_diffuse_med.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_diffuse_med.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_moray_normal.png";
specular_map = "oolite_moray_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_moray_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.2, 1.0, 1.0);
normal_map = "oolite_moray_subents_normal.png";
};
};
};
"oolite_template_morayMED-player" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_moray_diffuse_med.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_diffuse_med.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_moray_normal.png";
specular_map = "oolite_moray_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_moray_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_moray_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_moray_subents_normal.png";
};
};
};
"oolite_template_viper" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_viper_diffuse.png";
gloss = 0.55;
specular_color = (0.5, 0.5, 0.5 );
shininess = 45;
emission_map =
{
name = "oolite_viper_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_viper_normal.png";
};
"Engine" =
{
diffuse_map = "oolite_viper_diffuse.png";
gloss = 0.55;
specular_color = (0.6, 0.5, 0.5 );
shininess = 45;
emission_map =
{
name = "oolite_viper_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
};
};
};
"oolite_template_viper-interceptor" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_viper_interceptor_diffuse.png";
gloss = 0.55;
specular_color = (0.5, 0.5, 0.5);
shininess = 45;
emission_map =
{
name = "oolite_viper_interceptor_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_viper_interceptor_normal.png";
};
"Engine" =
{
diffuse_map = "oolite_viper_interceptor_diffuse.png";
gloss = 0.55;
specular_color = ( 0.5, 0.5, 0.5 );
shininess = 45;
emission_map =
{
name = "oolite_viper_interceptor_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
};
};
};
"oolite_template_viper-pursuit" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_viper_diffuse_pursuit.png";
gloss = 0.55;
specular_color = (0.5, 0.5, 0.5);
shininess = 45;
emission_map =
{
name = "oolite_viper_diffuse_pursuit.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_viper_normal.png";
};
"Engine" =
{
diffuse_map = "oolite_viper_diffuse_pursuit.png";
gloss = 0.55;
specular_color = (0.6, 0.5, 0.5 );
shininess = 45;
emission_map =
{
name = "oolite_viper_diffuse_pursuit.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
};
};
};
"oolite_template_python" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_python_diffuse.png";
gloss = 0.75;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_python_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_python_normal.png";
specular_map = "oolite_python_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_python_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_python_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
};
"Gun" =
{
diffuse_map = "oolite_python_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
};
};
};
"oolite_template_python-blackdog" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_python_diffuse_blackdog.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_python_diffuse_blackdog.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_python_normal.png";
specular_map = "oolite_python_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_python_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_python_subents.png"; extract_channel = "a";
};
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
};
"Gun" =
{
diffuse_map = "oolite_python_subents.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
};
};
};
"oolite_template_python-player" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_python_diffuse_trader.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_python_diffuse_trader.png"; extract_channel = "a"; };
emission_modulate_color = (0.95, 0.90, 0.80);
normal_map = "oolite_python_normal.png";
specular_map = "oolite_python_specular_trader.png";
};
"Engines" =
{
diffuse_map = "oolite_python_subents_trader.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_python_subents_trader.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_python_subents_normal_trader.png";
specular_map = "oolite_python_subents_specular_trader.png";
};
};
};
"oolite_template_python-trader" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_python_diffuse_trader.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_python_diffuse_trader.png"; extract_channel = "a"; };
emission_modulate_color = (0.95, 0.90, 0.80);
normal_map = "oolite_python_normal.png";
specular_map = "oolite_python_specular_trader.png";
};
"Engines" =
{
diffuse_map = "oolite_python_subents_trader.png";
gloss = 0.622;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_python_subents_trader.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_python_subents_normal_trader.png";
specular_map = "oolite_python_subents_specular_trader.png";
};
};
};
"oolite_template_sidewinder" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_sidewinder_diffuse.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_sidewinder_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_sidewinder_normal.png";
specular_map = "oolite_sidewinder_specular.png";
};
};
};
"oolite_template_sidewinder-escort" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_sidewinder_diffuse_escort.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 40;
emission_map =
{
name = "oolite_sidewinder_diffuse_escort.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_sidewinder_normal.png";
specular_map = "oolite_sidewinder_specular_escort.png";
};
};
};
"oolite_template_shuttle" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_shuttle_diffuse.png";
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_shuttle_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_shuttle_normal.png";
specular_map = "oolite_shuttle_specular.png";
};
};
};
"oolite_template_transporter" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_transporter_diffuse.png";
gloss = 0.65;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_transporter_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_transporter_normal.png";
specular_map = "oolite_transporter_specular.png";
};
};
};
"oolite_template_transporter-miner" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_transporter_diffuse_miner.png";
gloss = 0.65;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map = { name = "oolite_transporter_diffuse_miner.png"; extract_channel = "a"; };
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_transporter_normal.png";
specular_map = "oolite_transporter_specular.png";
};
};
};
"oolite_template_worm" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_worm_diffuse.png";
gloss = 0.85;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_worm_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_worm_normal.png";
specular_map = "oolite_worm_specular.png";
};
};
};
"oolite_template_worm-miner" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_worm_diffuse_miner.png";
gloss = 0.85;
specular_color = (0.25, 0.25, 0.25);
shininess = 42;
emission_map =
{
name = "oolite_worm_diffuse_miner.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_worm_normal.png";
specular_map = "oolite_worm_specular.png";
};
};
};
"oolite_template_coriolis-station" =
{
materials =
{
"oolite_coriolis_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25);
gloss = 1.0;
shininess = 42;
emission_map =
{
name = "oolite_coriolis_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_coriolis_normal.png";
specular_map = "oolite_coriolis_specular.png";
};
};
};
"oolite_coriolis_tris" =
{
materials =
{
"oolite_coriolis_tris_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 1.0;
shininess = 42;
emission_map =
{
name = "oolite_coriolis_tris_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_coriolis_tris_normal.png";
specular_map = "oolite_coriolis_tris_specular.png";
};
};
};
"oolite_coriolis_faceplate" =
{
materials =
{
"oolite_coriolis_faceplate_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
shininess = 42;
emission_map =
{
name = "oolite_coriolis_faceplate_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_coriolis_faceplate_normal.png";
specular_map = "oolite_coriolis_faceplate_specular.png";
};
};
};
"oolite_coriolis_dock" =
{
materials =
{
"oolite_coriolis_dock_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 0.55;
shininess = 42;
emission_map =
{
name = "oolite_coriolis_dock_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_coriolis_dock_normal.png";
};
};
};
"oolite_template_dodecahedron-station" =
{
materials =
{
"oolite_dodo_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
shininess = 42;
emission_map =
{
name = "oolite_dodo_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_dodo_normal.png";
specular_map = "oolite_dodo_specular.png";
};
};
};
"oolite_dodo_faceplate" =
{
materials =
{
"oolite_dodo_faceplate_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 1.0;
shininess = 42;
emission_map =
{
name = "oolite_dodo_faceplate_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_dodo_faceplate_normal.png";
specular_map = "oolite_dodo_faceplate_specular.png";
};
};
};
"oolite_dodo_dock" =
{
materials =
{
"oolite_dodo_dock_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 0.65;
shininess = 42;
emission_map =
{
name = "oolite_dodo_dock_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_dodo_dock_normal.png";
};
};
};
"oolite_template_icosahedron-station" =
{
materials =
{
"oolite_ico_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
shininess = 42;
emission_map =
{
name = "oolite_ico_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_ico_normal.png";
specular_map = "oolite_ico_specular.png";
};
};
};
"oolite_ico_mainhull" =
{
materials =
{
"oolite_ico_hull_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 1.0;
shininess = 42;
emission_map =
{
name = "oolite_ico_hull_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_ico_hull_normal.png";
specular_map = "oolite_ico_hull_specular.png";
};
};
};
"oolite_ico_dock" =
{
model = "oolite_ico_dock.dat";
smooth = 0;
materials =
{
"oolite_ico_dock_diffuse.png" =
{
specular_color = (0.25, 0.25, 0.25); // Applies when specular map is not used (no shaders)
gloss = 0.65;
shininess = 42;
emission_map =
{
name = "oolite_ico_dock_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.9520, 0.9630, 0.8824);
normal_map = "oolite_ico_dock_normal.png";
};
};
};
"oolite_template_tharglet" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_thargon_diffuse.png";
gloss = 1.0;
specular_modulate_color = (0.375, 0.675, 0.225);
shininess = 49;
emission_map =
{
name = "oolite_thargon_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.6, 0.9, 0.8);
normal_map = "oolite_thargon_normal.png";
specular_map = "oolite_thargon_specular.png";
};
};
};
"oolite_template_thargoid" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_thargoid_diffuse.png";
gloss = 0.85;
specular_modulate_color = (0.375, 0.675, 0.225);
shininess = 49;
emission_map = { name = "oolite_thargoid_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (0.965, 0.656, 0.242);
normal_map = "oolite_thargoid_normal.png";
specular_map = "oolite_thargoid_specular.png";
};
};
};
"oolite_template_escape-capsule" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_escape_capsule_diffuse.png";
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_escape_capsule_diffuse.png"; extract_channel = "a";
};
emission_modulate_color = (0.9926, 0.9686, 0.7325, 1.0);
normal_map = "oolite_escape_capsule_normal.png";
specular_map = "oolite_escape_capsule_specular.png";
};
};
};
"oolite_template_barrel" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_barrel_diffuse.png";
gloss = 0.85;
specular_color = (0.2, 0.2, 0.2);
shininess = 60;
normal_map = "oolite_barrel_normal.png";
specular_map = "oolite_barrel_specular.png";
};
};
};
"oolite_template_rock-hermit" =
{
materials =
{
"oolite_rock_hermit_diffuse.png" =
{
gloss = 0.7;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_rock_hermit_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.6388, 0.9704, 0.9566);
normal_map = "oolite_rock_hermit_normal.png";
specular_map = "oolite_rock_hermit_specular.png";
};
};
};
"oolite_rock_hermit_rock" =
{
materials =
{
"oolite_rock_hermit_rock_diffuse.png" =
{
gloss = 0.322;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
normal_map = "oolite_rock_hermit_rock_normal.png";
};
};
};
"oolite_rock_hermit_pipes" =
{
materials =
{
"oolite_rock_hermit_pipes_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_rock_hermit_pipes_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.6388, 0.9704, 0.9566);
normal_map = "oolite_rock_hermit_pipes_normal.png";
specular_map = "oolite_rock_hermit_pipes_specular.png";
};
};
};
"oolite_rock_hermit_tunnel_extras" =
{
materials =
{
"oolite_rock_hermit_tunnel_extras_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_rock_hermit_tunnel_extras_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.6388, 0.9704, 0.9566);
normal_map = "oolite_rock_hermit_tunnel_extras_normal.png";
specular_map = "oolite_rock_hermit_tunnel_extras_specular.png";
};
};
};
"oolite_rock_hermit_dock" =
{
materials =
{
"oolite_rock_hermit_dock_diffuse.png" =
{
gloss = 1.0;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map =
{
name = "oolite_rock_hermit_dock_diffuse.png";
extract_channel = "a";
};
emission_modulate_color = (0.6388, 0.9704, 0.9566);
normal_map = "oolite_rock_hermit_dock_normal.png";
specular_map = "oolite_rock_hermit_dock_specular.png";
};
};
};
"oolite_template_constrictor" =
{
materials =
{
"Hull" =
{
diffuse_map = "oolite_constrictor_diffuse.png";
gloss = 0.9;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map = { name = "oolite_constrictor_diffuse.png"; extract_channel = "a"; };
emission_modulate_color = (1.0, 0.1, 0.0);
normal_map = "oolite_constrictor_normal.png";
specular_map = "oolite_constrictor_specular.png";
};
"Engine" =
{
diffuse_map = "oolite_constrictor_subents.png";
gloss = 0.8;
specular_color = (0.2, 0.2, 0.2);
shininess = 42;
emission_map = { name = "oolite_constrictor_subents.png"; extract_channel = "a"; };
emission_modulate_color = (0.7325, 0.9686, 0.9926, 1.0);
normal_map = "oolite_constrictor_subents_normal.png";
specular_map = "oolite_constrictor_subents_specular.png";
};
};
};
}
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?
•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?
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: Deciphering Javascipt/Legacy Script
No, this is OpenStep plist format, which is something completely different to Javascript - the two should not be confused and the wiki is correct.
- Cholmondely
- 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: Deciphering Javascipt/Legacy Script
phkb wrote: ↑Thu Jan 20, 2022 12:33 amYou'll need to add the following to the "startUpComplete" function:Cholmondely wrote: ↑Thu Jan 20, 2022 12:25 amIs there something I can add to the code for the Education.oxp to suppress XenonUI's suppression of the bar image?If you ever change the "screenID" of your mission screen, you'll need to make the same change here. And if you add new screens with different screenID's that also have backgrounds you want to keep, you'll need to add extra exceptions for each one.Code: Select all
var wx = worldScripts.XenonUI; if (wx) wx.$addMissionScreenException("show_bar"); var wr = worldScripts.XenonReduxUI; if (wr) wr.$addMissionScreenException("show_bar");
Gentlemen, thanks for this!
I can't find any of this on the Wiki.
Questions about background - overlay:
1) Why would one use background rather than overlay?
2) Are there other advantages to using overlay?
Questions about Descriptions.plist vs Missiontext.plist
Why would one use the one rather than the other?
(If I understand correctly, I could have used either .plist for my list of bar hints, but I need Missiontext to allow player choice - for example, for buying drinks)
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?
•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?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Deciphering Javascipt/Legacy Script
A file with a js extension is JavaScript, plist is not.Cholmondely wrote: ↑Tue Jan 11, 2022 10:04 amI presume that this is in Javascript, and that it works across all formats - and that the wiki page is thus wrong.
The background setting is useful if you just want a centered image, but otherwise leave the original screen. I think GN is using it for some mission screens.Cholmondely wrote: ↑Sun Jan 23, 2022 12:11 pmQuestions about background - overlay:
1) Why would one use background rather than overlay?
EDIT:
This might be useful for you: http://wiki.alioth.net/index.php/Oolite ... e:_Mission
Last edited by montana05 on Mon Jan 24, 2022 12:30 am, edited 1 time in total.
Scars remind us where we've been. They don't have to dictate where we're going.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Deciphering Javascipt/Legacy Script
Well, the first bit about adding an exception for Xenon UI is on the Xenon UI wiki page. See the "Conflict" section.
There isn't a lot of difference with how most OXP's use a background, because they usually only need to display one image. Overlays are layered on top of backgrounds, which allows things like Xenon UI to do fancy things on the F6 screen with different key info based on what the player has selected to view on the map (sun colour, government type, techlevel, etc).
Not sure if I have an easy one-line response for this. I think there are some differences, but I need to do some research/testing to confirm my thoughts. I'll get back to you (and if anyone else with the knowledge wants to jump in, please feel free!).