Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Top/down instead of side lasers

General discussion for players of Oolite.

Moderators: another_commander, winston

Post Reply
Cdr. Jettison
Average
Average
Posts: 15
Joined: Wed Jun 01, 2011 2:26 pm

Top/down instead of side lasers

Post by Cdr. Jettison »

Recently, I've come across a space simulator game (I think it was Ad Astra). As in Oolite, player ship has up to four laser mounts there, but instead of port/starboard there are top/bottom lasers. All view and weapon positions in Oolite being defined in shipdata.plist, I guess it should be possible to abuse view_position_port/starboard and weapon_position_port/starboad to point up/down (zenith/nadir) instead to get this effect?

To do this properly aft view should probably also be flipped upside down (as if you were standing on your head when looking behind you). That way 1) cycling over all the views front-top-aft-bottom-front will give you consistant change, just like doing it laterally front-port-aft-starboard-front does it now and 2) the up/down controls stay the same over all four views whereas yaw/roll axes stay the same for front/aft views and are simply exchanged for top/down views.

There are OXP ships that do some nice things with custom views like gun/scoop/cargo views in Thargoid's Vortex, but yet I didn't see OXPs fiddling with view/weapon positions.

What do you think would it be practical/useful thing to do? Or have I overlooked something obvious? I probably won't have the time to do and playtest it this week (well, actually I probably should to learn quite a bit more about quaternions first :roll: ), but it would be nice if someone had a try at it and shared their experiences here in forum.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Top/down instead of side lasers

Post by JensAyton »

Cdr. Jettison wrote:
I guess it should be possible to abuse view_position_port/starboard and weapon_position_port/starboad to point up/down (zenith/nadir) instead to get this effect?
No. You can set the position, but not the direction.
User avatar
Wildeblood
---- E L I T E ----
---- E L I T E ----
Posts: 2290
Joined: Sat Jun 11, 2011 6:07 am
Location: Western Australia

Re: Top/down instead of side lasers

Post by Wildeblood »

Ahruman wrote:
Cdr. Jettison wrote:
I guess it should be possible to abuse view_position_port/starboard and weapon_position_port/starboad to point up/down (zenith/nadir) instead to get this effect?
No. You can set the position, but not the direction.
I thought about this same thing quite a while ago, but it became confusing so I stopped thinking about it. Flip your monitor onto its side. You now have top and bottom views instead of port and starboard, but your ship is drawn sideways in external views. Flip the ship's model 90 degrees. Cool. Design a custom HUD, because the normal one will be drawn down one side of your monitor. The scanner will still be drawn sideways, even if moved to a better position. That's when I stopped thinking about it. If you were willing to accept no scanner, or a scanner drawn sideways, it could be done - sort of. That's all - then I went back to thinking about a player-flyable Astromine instead.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Top/down instead of side lasers

Post by DaddyHoggy »

Wildeblood wrote:
Ahruman wrote:
Cdr. Jettison wrote:
I guess it should be possible to abuse view_position_port/starboard and weapon_position_port/starboad to point up/down (zenith/nadir) instead to get this effect?
No. You can set the position, but not the direction.
I thought about this same thing quite a while ago, but it became confusing so I stopped thinking about it. Flip your monitor onto its side. You now have top and bottom views instead of port and starboard, but your ship is drawn sideways in external views. Flip the ship's model 90 degrees. Cool. Design a custom HUD, because the normal one will be drawn down one side of your monitor. The scanner will still be drawn sideways, even if moved to a better position. That's when I stopped thinking about it. If you were willing to accept no scanner, or a scanner drawn sideways, it could be done - sort of. That's all - then I went back to thinking about a player-flyable Astromine instead.

If you're lucky - most modern LCD screens can rotate and come with rotational software - I've got one of my widescreen monitors at work, rotated and setup to be 1080x1920 - excellent for documents.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
Post Reply