Page 1 of 1

[Solved] Exhaust & Lasers

Posted: Sun Jun 23, 2013 3:51 pm
by mandoman
Okay, I seem to have a blind spot in these areas. I'm trying to finish a ship oxp with which I'm having the problems of no exhaust, or aft laser appearing in the game. I have another ship that is facing similar problems, also new. I have poured over the shipdata.plist of the one I'm now focusing on, and though I did find a couple of errors, neither one made any difference in the appearance of the aft laser, and exhaust. I've triple, quadruple, heck I've checked so many times the model measurements for these features that my eyes are crossed, and I am still at a loss. If someone is willing to take a look at the one I'm working on at the moment, I can send the URL for the oxp on Box.com. Thanks for any help.

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 5:24 pm
by Thargoid
Either that or just post the shipdata.plist here. I'll have a look over it if you want.

Are they not appearing, or appearing but in the wrong place?

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 6:47 pm
by mandoman
They are not appearing at all. To test my placement coordinates, I put flashers at each of the exhaust ports, and they show up just fine. Here's the shipdata.plist.

Code: Select all

{
            MTStarHopper = {
                     aft_eject_position = "0.0 1.2 23.8";
                     aft_weapon_type = "WEAPON_BEAM_LASER";
                     ai_type = "route1traderAI.plist";
                     auto_ai = no;
                     bounty = 0;
                     cargo_type = "CARGO_RANDOM";
                     cloak_active = yes;
                     energy_recharge_rate = 3.5;
                     exhuast = (
                              "-43.7 13.5 -28.1 1.0 1.0 5.0",
                              "43.7 13.5 -28.1 1.0 1.0 5.0",
                              "-43.7 -13.5 -28.1 1.0 1.0 5.0",
                              "43.7 -13.5 -28.1 1.0 1.0 5.0"
                     );
                     forward_weapon_type = "WEAPON_BEAM_LASER";
                     has_cloak = yes;
                     has_ecm = yes;
                     has_fuel_injection = yes;
                     has_heat_shield = yes;
                     has_scoop = yes;
                     laser_color = "redColor";
                     max_cargo = 35;
                     max_energy = 320;
                     max_flight_pitch = 1.5;
                     max_flight_roll = 1.7;
                     max_flight_speed = 380;
                     max_missiles = 4;
                     missile_launch_position = "0.0 -3.0 10.5";
                     model = "mtstarhopper.dat";
                     name = "MTStarHopper";
                     roles = "trader hunter";
                     scoop_position = "0.0 -2.2 9.1";
                     subentities = (
                            {
                                     type = "flasher";
                                     position = "-43.67 13.47 -28.67";
                                     color = "redColor";
                                     frequency = "0";
                                     phase = "0";
                                     size = "3.0";
                            },
                            {
                                     type = "flasher";
                                     position = "43.67 13.47 -28.67";
                                     color = "redColor";
                                     frequency = "0";
                                     phase = "0";
                                     size = "3.0";
                            },
                            {
                                     type = "flasher";
                                     position = "-43.67 -13.66 -28.67";
                                     color = "redColor";
                                     frequency = "0";
                                     phase = "0";
                                     size = "3.0";
                            },
                            {
                                     type = "flasher";
                                     position = "43.67 -13.66 -28.67";
                                     color = "redColor";
                                     frequency = "0";
                                     phase = "0";
                                     size = "3.0";
                            }
                     );
                     thrust = 45;
                     weapon_position_aft = "0.0 -1.4 -29.7";
                     weapon_position_forward = "0.0 0.5 29.1";
             };
             MTStarHopper-player = {
                     like_ship = "MTStarHopper";
                     model = "mtstarhopper.dat";
                     name = "MTStarHopper";
                     view_position_aft = "0.0 14.0 -40.0";
                     view_position_forward = "0.0 1.0 40.0";
                     view_position_port = "-58.0 1.0 25.6";
                     view_position_starboard = "58.0 1.0 25.6";
                     weapon_position_aft = "0.0 -1.4 -29.7";
                     weapon_position_forward = "0.0 0.5 29.1";
                     custum_views = (
                        {
				"view_description" = "Rear View";
				"view_orientation" = "1.0 0.0 0.0 0.0";
				"view_position" = "0.0 20.0 -250";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Rear Right View";
				"view_orientation" = "0.9239 0.0 0.3827 0.0";
				"view_position" = "200.0 10.0 -250.0";
				"weapon_facing" = "AFT";
			},
			{
				"view_description" = "Right View";
				"view_orientation" = "0.7071 0.0 0.7071 0.0";
				"view_position" = "300.0 10.0 0.0";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Front Right View";
				"view_orientation" = "0.3827 0.0 0.9239 0.0";
				"view_position" = "200.0 10.0 250.0";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Front View";
				"view_orientation" = "0.0 0.0 1.0 0.0";
				"view_position" = "0.0 10.0 250.0";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Front Left View";
				"view_orientation" = "0.3827 0.0 -0.9239 0.0";
				"view_position" = "-200.71 10.0 250.0";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Left View";
				"view_orientation" = "0.7071 0.0 -0.7071 0.0";
				"view_position" = "-300.0 10.0 0.0";
				"weapon_facing" = "FORWARD";
			},
			{
				"view_description" = "Rear Left View";
				"view_orientation" = "0.9239 0.0 -0.3827 0.0";
				"view_position" = "-200.71 10.0 -250.0";
				"weapon_facing" = "AFT";
			},
			{
				"view_description" = "Top View";
				"view_orientation" = "-0.7071 0.7071 0.0 0.0";
				"view_position" = "0.0 350.0 0.0";
				"weapon_facing" = "AFT";
			},
			{
				"view_description" = "Bottom View";
				"view_orientation" = "0.0 0.0 0.7071 0.7071";
				"view_position" = "0.0 -350.0 0.0";
				"weapon_facing" = "FORWARD";
			}
		  );
          };

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 7:27 pm
by Smivs
Got me baffled! (but that's not hard :P ).
Don't forget you should now add weapon_facings to your shipdata.plist now for v1.77 :wink:
(BTW is there any reason the example on the wiki still uses XML rather than openStep?)

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 7:30 pm
by Commander McLane
You have "exhuast" instead of "exhaust".
Smivs wrote:
Don't forget you should now add weapon_facings to your shipdata.plist now for v1.77
Not necessarily, because it defaults to all facings.

I don't see what's wrong with the aft weapon. Perhaps somebody else's eyes are better.

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 7:32 pm
by Thargoid
Try replacing exhuast with exhaust ;-)

Will look deeper about the aft laser

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 8:28 pm
by JD
I don't know whether it has any relevance to the problem you asked about, but "custum_views" should be "custom_views".

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 10:10 pm
by mandoman
Thargoid wrote:
Try replacing exhuast with exhaust ;-)

Will look deeper about the aft laser

LOL!!! I knew you'd find it, Thargoid. :lol:

I don't know how many times I looked at that, compared it with other oxps, trying to puzzle out what I did wrong, and never once noticed the misspelling. Thanks, now what's wrong with the aft laser? :D

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 10:12 pm
by mandoman
JD wrote:
I don't know whether it has any relevance to the problem you asked about, but "custum_views" should be "custom_views".
Thank you, JD. That should make some difference. I'll get it corrected, and try it out along with Thargoid's correction of "exhuast" to "exhaust". :D

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 10:20 pm
by mandoman
Those were the problems, Thargoid, and JD. Thanks very much. I do believe I'm getting too feeble minded to make these things anymore. :roll: :)

Re: Exhaust & Lasers

Posted: Sun Jun 23, 2013 10:48 pm
by Tricky
mandoman wrote:
Those were the problems, Thargoid, and JD. Thanks very much. I do believe I'm getting too feeble minded to make these things anymore. :roll: :)
No no no no no no no! You concentrate on the ship designs, the community will help out with the data integration. That way we will get loads of loveliness with the minimum effort. :D