[Solved] Exhaust & Lasers

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: another_commander, winston, Getafix

Post Reply
User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1368
Joined: Thu Apr 28, 2011 3:17 pm

[Solved] Exhaust & Lasers

Post 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.
Last edited by Getafix on Thu Oct 03, 2013 6:33 pm, edited 1 time in total.
Reason: Marked thread as "Solved"
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Re: Exhaust & Lasers

Post 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?

User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1368
Joined: Thu Apr 28, 2011 3:17 pm

Re: Exhaust & Lasers

Post 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";
			}
		  );
          };
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman

User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Disunited Kingdom
Contact:

Re: Exhaust & Lasers

Post 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?)
Commander Smivs, the friendliest Gourd this side of Riedquat.

User avatar
Commander McLane
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Exhaust & Lasers

Post 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.
Last edited by Commander McLane on Sun Jun 23, 2013 7:33 pm, edited 1 time in total.

User avatar
Thargoid
Thargoid
Thargoid
Posts: 5510
Joined: Thu Jun 12, 2008 6:55 pm

Re: Exhaust & Lasers

Post by Thargoid »

Try replacing exhuast with exhaust ;-)

Will look deeper about the aft laser

JD
Deadly
Deadly
Posts: 154
Joined: Thu Nov 25, 2010 10:42 pm
Location: London, UK

Re: Exhaust & Lasers

Post by JD »

I don't know whether it has any relevance to the problem you asked about, but "custum_views" should be "custom_views".

User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1368
Joined: Thu Apr 28, 2011 3:17 pm

Re: Exhaust & Lasers

Post 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
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman

User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1368
Joined: Thu Apr 28, 2011 3:17 pm

Re: Exhaust & Lasers

Post 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
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman

User avatar
mandoman
---- E L I T E ----
---- E L I T E ----
Posts: 1368
Joined: Thu Apr 28, 2011 3:17 pm

Re: Exhaust & Lasers

Post 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: :)
Mandotech Industries Wiki Page.

http://wiki.alioth.net/index.php/User:Mandoman

User avatar
Tricky
---- E L I T E ----
---- E L I T E ----
Posts: 821
Joined: Sun May 13, 2012 11:12 pm
Location: Bradford, UK. (Anarchic)

Re: Exhaust & Lasers

Post 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

Post Reply