light source for showShipModel:

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

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

Post by DaddyHoggy »

@Ahruman - there appeared to be a { } at the beginning and end - but I added some more just in case:

Code: Select all

{
"cobra3-alternate" =
{
	"aft_eject_position" = "0.0 15.5 -33.0";
	"ai_type" = "route1traderAI.plist";
	bounty = 0;
	"cargo_type" = "CARGO_NOT_CARGO";
	"energy_recharge_rate" = 3;
	exhaust =
	(
		"-19 0.0 -30 4.0 4.0 14",
		"19 0.0 -30 4.0 4.0 14",
		"-19 0.0 -30 8.0 8.0 14",
		"19 0.0 -30 8.0 8.0 14",
		"-38 0.0 -30 2.5 2.5 10",
		"38 0.0 -30 2.5 2.5 10",
		"-38 0.0 -30 5.0 5.5 10",
		"38 0.0 -30 5.0 5.5 10"
	);
	"forward_weapon_type" = "WEAPON_BEAM_LASER";
	fuel = 70;
	"has_ecm" = 0.95;
	"has_escape_pod" = 0.95;
	"has_scoop" = 0.95;
	"likely_cargo" = 3;
	"max_cargo" = 35;
	"max_energy" = 250;
	"max_flight_pitch" = 1;
	"max_flight_roll" = 2;
	"max_flight_speed" = 320;
	"missile_launch_position" = "0.0 -4.5 16.5";
	missiles = 3;
	model = "cobra3_redux1.dat";
	name = "Cobra Mark III";
	roles = "hunter pirate trader hermit-ship sunskim-trader";
	shaders =
	{
		"cobra3_redux.png" =
		{
			"fragment_shader" = "ahruman_charlie_updatedships_cobra3";
			"vertex_shader" = "ahruman_charlie_updatedships_cobra3";
			textures =
			(
				"ahruman_charlie_updatedships_cobra3_diffuse.png",
				"ahruman_charlie_updatedships_cobra3_effects.png"
			);
			uniforms =
			{
				"uTime" = "timeElapsedSinceSpawn";
				"uEngineLevel" = "speedFactor";
				"uLaserHeatLevel" = "laserHeatLevel";
				"uHullHeatLevel" = "hullHeatLevel";
			};
		};
	};
	subentities =
	(
		"*FLASHER* 0.0 -3.0 18\t180 0.0 0.0 14.0",
		"*FLASHER* 0.0 20 -34\t20 1.8 1.0 4.0",
		"*FLASHER* 0.0 20 -34\t0.0 0.0 0.0 2.0",
		"*FLASHER* 58 -4.0 -26\t0.0 1.0 0.25 3",
		"*FLASHER* 58 0.0 -26\t128 1.0 0.5 3",
		"*FLASHER* -58 -4.0 -26\t0.0 1.0 0.75 3",
		"*FLASHER* -58 0.0 -26\t128 1.0 1.0 3"
	);
	thrust = 32;
	"weapon_energy" = 15;
	"weapon_offset_x" = 10;
	"weapon_position_aft" = "0.0 0.0 -32.5";
	"weapon_position_forward" = "0.0 0.0 27.5";
	"weapon_position_port" = "-40.0 2.17 -4.33";
	"weapon_position_starboard" = "40.0 2.17 -4.33";
};

"cobra3-pirate" =
{
	"aft_eject_position" = "0.0 15.5 -33.0";
	"ai_type" = "pirateAI.plist";
	bounty = 50;
	"cargo_type" = "CARGO_NOT_CARGO";
	"energy_recharge_rate" = 3;
	exhaust =
	(
		"-19 0.0 -30 4.0 4.0 14",
		"19 0.0 -30 4.0 4.0 14",
		"-19 0.0 -30 8.0 8.0 14",
		"19 0.0 -30 8.0 8.0 14",
		"-38 0.0 -30 2.5 2.5 10",
		"38 0.0 -30 2.5 2.5 10",
		"-38 0.0 -30 5.0 5.5 10",
		"38 0.0 -30 5.0 5.5 10"
	);
	"forward_weapon_type" = "WEAPON_PULSE_LASER";
	fuel = 70;
	"has_ecm" = 0.1;
	"has_escape_pod" = 0.85;
	"has_scoop" = 1;
	"has_shield_booster" = 0.25;
	"likely_cargo" = 3;
	"max_cargo" = 5;
	"max_energy" = 250;
	"max_flight_pitch" = 1;
	"max_flight_roll" = 2;
	"max_flight_speed" = 300;
	"missile_launch_position" = "0.0 -4.5 16.5";
	missiles = 1;
	model = "cobra3_redux.dat";
	name = "Cobra Mark III";
	roles = "pirate hunter";
	shaders =
	{
		"cobra3_redux.png" =
		{
			"fragment_shader" = "ahruman_charlie_updatedships_cobra3";
			"vertex_shader" = "ahruman_charlie_updatedships_cobra3";
			textures =
			(
				"ahruman_charlie_updatedships_cobra3_diffuse.png",
				"ahruman_charlie_updatedships_cobra3_effects.png"
			);
			uniforms =
			{
				"uTime" = "timeElapsedSinceSpawn";
				"uEngineLevel" = "speedFactor";
				"uLaserHeatLevel" = "laserHeatLevel";
				"uHullHeatLevel" = "hullHeatLevel";
			};
		};
	};
	subentities =
	(
		"*FLASHER* 0.0 -3.0 18\t180 0.0 0.0 14.0",
		"*FLASHER* 0.0 20 -34\t20 1.8 1.0 4.0",
		"*FLASHER* 0.0 20 -34\t0.0 0.0 0.0 2.0",
		"*FLASHER* 58 -4.0 -26\t0.0 1.0 0.25 3",
		"*FLASHER* 58 0.0 -26\t128 1.0 0.5 3",
		"*FLASHER* -58 -4.0 -26\t0.0 1.0 0.75 3",
		"*FLASHER* -58 0.0 -26\t128 1.0 1.0 3"
	);
	thrust = 30;
	"weapon_position_aft" = "0.0 0.0 -32.5";
	"weapon_position_forward" = "0.0 0.0 27.5";
	"weapon_position_port" = "-40.0 2.17 -4.33";
	"weapon_position_starboard" = "40.0 2.17 -4.33";
};

"cobra3-player" =
{
	"aft_eject_position" = "0.0 15.5 -33.0";
	"custom_views" =
	(
		{
			"view_description" = "External 1 - 12 O'Clock";
			"view_orientation" = "1.0 0.0 0.0 0.0";
			"view_position" = "0.0 30.0 -220.0";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 2 - One Thirty";
			"view_orientation" = "0.9239 0.0 -0.3827 0.0";
			"view_position" = "-160.71 30.0 -160.71";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 3 - Three O'Clock";
			"view_orientation" = "0.7071 0.0 -0.7071 0.0";
			"view_position" = "-220.0 30.0 0.0";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 4 - Four Thirty";
			"view_orientation" = "0.3827 0.0 -0.9239 0.0";
			"view_position" = "-160.71 30.0 160.71";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 5 - Six O'Clock";
			"view_orientation" = "0.0 0.0 1.0 0.0";
			"view_position" = "0.0 30.0 220.0";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 6 - Seven Thirty";
			"view_orientation" = "0.3827 0.0 0.9239 0.0";
			"view_position" = "160.71 30.0 160.71";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 7 - Nine O'Clock";
			"view_orientation" = "0.7071 0.0 0.7071 0.0";
			"view_position" = "220.0 30.0 0.0";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 8 - Ten Thirty";
			"view_orientation" = "0.9239 0.0 0.3827 0.0";
			"view_position" = "160.71 30.0 -160.71";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 9 - Above Down";
			"view_orientation" = "-0.8192 0.5736 0.0 0.0";
			"view_position" = "0.0 220.0 -60.0";
			"weapon_facing" = FORWARD;
		},
		{
			"view_description" = "External 10 - Below Up";
			"view_orientation" = "-0.8192 -0.5736 0.0 0.0";
			"view_position" = "0.0 -220.0 -60.0";
			"weapon_facing" = FORWARD;
		}
	);
	"energy_recharge_rate" = 4;
	exhaust =
	(
		"-19 0.0 -30 4.0 4.0 14",
		"19 0.0 -30 4.0 4.0 14",
		"-19 0.0 -30 8.0 8.0 14",
		"19 0.0 -30 8.0 8.0 14",
		"-38 0.0 -30 2.5 2.5 10",
		"38 0.0 -30 2.5 2.5 10",
		"-38 0.0 -30 5.0 5.5 10",
		"38 0.0 -30 5.0 5.5 10"
	);
	"forward_weapon_type" = "WEAPON_PULSE_LASER";
	hud = "hud.plist";
	"laser_color" = redColor;
	"max_cargo" = 20;
	"max_energy" = 256;
	"max_flight_pitch" = 1;
	"max_flight_roll" = 2;
	"max_flight_speed" = 350;
	"max_missiles" = 4;
	"missile_launch_position" = "0.0 -4.5 16.5";
	missiles = 3;
	model = "cobra3_redux.dat";
	name = "Cobra Mark III";
	roles = player;
	shaders =
	{
		"cobra3_redux.png" =
		{
			"fragment_shader" = "ahruman_charlie_updatedships_cobra3";
			"vertex_shader" = "ahruman_charlie_updatedships_cobra3";
			textures =
			(
				"ahruman_charlie_updatedships_cobra3_diffuse.png",
				"ahruman_charlie_updatedships_cobra3_effects.png"
			);
			uniforms =
			{
				"uTime" = "timeElapsedSinceSpawn";
				"uEngineLevel" = "speedFactor";
				"uLaserHeatLevel" = "laserHeatLevel";
				"uHullHeatLevel" = "hullHeatLevel";
			};
		};
	};
	subentities = (
		"*FLASHER* 0.0 -3.0 18\t180 0.0 0.0 14.0",
		"*FLASHER* 0.0 20 -34\t20 1.8 1.0 4.0",
		"*FLASHER* 0.0 20 -34\t0.0 0.0 0.0 2.0",
		"*FLASHER* 58 -4.0 -26\t0.0 1.0 0.25 3",
		"*FLASHER* 58 0.0 -26\t128 1.0 0.5 3",
		"*FLASHER* -58 -4.0 -26\t0.0 1.0 0.75 3",
		"*FLASHER* -58 0.0 -26\t128 1.0 1.0 3"
	);
	thrust = 32;
	"view_position_aft" = "0.0 7.5 -32.5";
	"view_position_forward" = "0.0 7.25 16.25";
	"view_position_port" = "-30.0 4.75 0.0";
	"view_position_starboard" = "30.0 4.75 0.0";
	"weapon_position_aft" = "0.0 0.0 -32.5";
	"weapon_position_forward" = "0.0 0.0 27.5";
	"weapon_position_port" = "-40.0 2.17 -4.33";
	"weapon_position_starboard" = "40.0 2.17 -4.33";
};

"cobra3-trader" =
{
	"aft_eject_position" = "0.0 15.5 -33.0";
	"ai_type" = "route1traderAI.plist";
	bounty = 0;
	"cargo_type" = "CARGO_NOT_CARGO";
	"energy_recharge_rate" = 2;
	exhaust = (
		"-19 0.0 -30 4.0 4.0 14",
		"19 0.0 -30 4.0 4.0 14",
		"-19 0.0 -30 8.0 8.0 14",
		"19 0.0 -30 8.0 8.0 14",
		"-38 0.0 -30 2.5 2.5 10",
		"38 0.0 -30 2.5 2.5 10",
		"-38 0.0 -30 5.0 5.5 10",
		"38 0.0 -30 5.0 5.5 10"
	);
	"forward_weapon_type" = "WEAPON_BEAM_LASER";
	fuel = 70;
	"has_ecm" = 0.15;
	"has_escape_pod" = 0.95;
	"has_scoop" = 0.95;
	"likely_cargo" = 3;
	"max_cargo" = 20;
	"max_energy" = 150;
	"max_flight_pitch" = 1;
	"max_flight_roll" = 2;
	"max_flight_speed" = 300;
	"missile_launch_position" = "0.0 -4.5 16.5";
	missiles = 3;
	model = "cobra3_redux.dat";
	name = "Cobra Mark III";
	roles = "trader scavenger sunskim-trader";
	shaders =
	{
		"cobra3_redux.png" =
		{
			"fragment_shader" = "ahruman_charlie_updatedships_cobra3";
			"vertex_shader" = "ahruman_charlie_updatedships_cobra3";
			textures =
			(
				"ahruman_charlie_updatedships_cobra3_diffuse.png",
				"ahruman_charlie_updatedships_cobra3_effects.png"
			);
			uniforms =
			{
				"uTime" = "timeElapsedSinceSpawn";
				"uEngineLevel" = "speedFactor";
				"uLaserHeatLevel" = "laserHeatLevel";
				"uHullHeatLevel" = "hullHeatLevel";
			};
		};
	};
	subentities =
	(
		"*FLASHER* 0.0 -3.0 18\t180 0.0 0.0 14.0",
		"*FLASHER* 0.0 20 -34\t20 1.8 1.0 4.0",
		"*FLASHER* 0.0 20 -34\t0.0 0.0 0.0 2.0",
		"*FLASHER* 58 -4.0 -26\t0.0 1.0 0.25 3",
		"*FLASHER* 58 0.0 -26\t128 1.0 0.5 3",
		"*FLASHER* -58 -4.0 -26\t0.0 1.0 0.75 3",
		"*FLASHER* -58 0.0 -26\t128 1.0 1.0 3"
	);
	thrust = 30;
	"weapon_position_aft" = "0.0 0.0 -32.5";
	"weapon_position_forward" = "0.0 0.0 27.5";
	"weapon_position_port" = "-40.0 2.17 -4.33";
	"weapon_position_starboard" = "40.0 2.17 -4.33";
};
};
Still get this issue:
2008-06-04 22:15:10.734 oolite[5971] [plist.parse.foundation.failed]: Failed to parse /home/john/Oolite-dev/1.71-maintenance/oolite.app/Resources/Shady Cobra.oxp/Config/shipdata.plist as a property list using Foundation. Retrying using homebrew parser. WARNING: the homebrew parser is deprecated and will be removed in a future version of Oolite.
Parse failed at line 348 (char 9310) - extra data after parsed string
2008-06-04 22:15:10.735 oolite[5971] [plist.homebrew.parseError]: Property list isn't in XML format, homebrew parser can't help you.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

You’ll notice that the error has in fact changed – the error is now at the end of the file, where you’ve added a semicolon. Take it away and all will be well.

Or you could just download the fixed version from the wiki.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

:) D'oh! I panicked all the other end brackets had semi-colons...

Will (re)amend.

Much appreciated.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
FSOneblin
---- E L I T E ----
---- E L I T E ----
Posts: 460
Joined: Tue Oct 30, 2007 12:15 am
Location: Yes, That is True

Post by FSOneblin »

DaddyHoggy wrote:
:) D'oh! I panicked all the other end brackets had semi-colons...

Will (re)amend.

Much appreciated.

You did WHAT!?!?!?! No panicking. I swear, next time we see eachother in the space lanes, you will have 3 things damaged. Ok? That was a joke, I wont. Or will I?



Don't panic: FSOneblin
Don't panic

Now an "adult!"
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Post by dalek501 »

I've been dipping in and out of this thread because I have been interested in the "dark ships" at the start problem, but I have got my little head a bit confused!

Is the new shady cobra fix going to fix the dark ship at the opening of the game, or is it for more general problems? IE should I bother to download it if I think my shaders are fine?
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Downloading the shady cobra oxp won't fix the dark ships on the startup screen, i don't think there's a fix for the dark ships at all at the moment.

What the shady cobra.oxp will do is add a new version of the cobraIII to your game that features a few new graphical effects such as glowing windows & exhausts, a heated metal effect near the where the lasers fire from and extra shinyness to the ship, it's very cool and worth trying out, i remember when i first saw it i spent ages flying around using the external views cooing at all the lovely graphics!
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Post by dalek501 »

Yeah I've got the shady cobra installed now, I was just wondering what difference, if any, there will be by changing to Ahruman's new "fixed" version?
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

dalek501 wrote:
Yeah I've got the shady cobra installed now, I was just wondering what difference, if any, there will be by changing to Ahruman's new "fixed" version?
The only difference is that the "fixed" version will also appear on Linux-systems. The "unfixed" version could not exist on Linux, due to a syntax error.

So if you're on Mac or Windows, there's nothing different.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Post by dalek501 »

Right, cool thanks. Yeah I have a PC.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6645
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Actually, you do need the fixed version for Windows as well, since GNUstep is used with both the Linux and Windows ports. Any GNUstep related error happening on Linux will also happen on Windows and vice versa.

Bottomline: Play safe, get the fixed version.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Post by dalek501 »

OK will do.

Thanks for all the great work.
User avatar
dalek501
Deadly
Deadly
Posts: 185
Joined: Sat May 17, 2008 10:47 am
Contact:

Post by dalek501 »

As a little up date to this, I had shady cobra installed on my PC but it obviously wasn't working because when I installed this new fixed version I suddenly got some flashing lights and glow effects I didn't get before!
Post Reply