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

New ships under development

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16063
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: New ships under developemnt

Post by Cody »

Shipbuilder wrote:
(I've edited my previous post to show the images of the new ships now - I keep learning a little more each day !).
Ha... three years ago, I'd never joined a forum anywhere, and had no idea how to use one (or photobucket). Then I found Oolite and was forced to join this motley collection of brigands, traders, belters, hunters and space bums. I have progressed a little since then... heh! Photobucket should offer you various types of link for each image. There is an 'Image' link and a 'Thumbnail' link which will be the most useful two... just C&P that link. It also has reasonable image editing and resizing available.

Also, have a look at Gimp - excellent free image manipulation software.
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!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New ships under developemnt

Post by Smivs »

El Viejo wrote:
... I ... was forced to join this motley collection of brigands, traders, belters, hunters and space bums.
You'd be hard pressed to find a finer body of Men and Things anywhere! :D
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: New ships under developemnt

Post by Shipbuilder »

El Viejo - Thanks I use the following for putting together my oxps (You are right Gimp really is a great piece of free software).

Software used - Gimp for the texturing, 3D Wings for the modelling and Vim for the text editing (All free and referred to on various posts on the forum).

Will anyone be able to advise me how to release one of the ship oxps in the near future ?

I don't fully know what the process entails i.e. I believe that I update the oxps on to the forum but do they then get posted on the Oolite Wiki site and if so who does this ?
Last edited by Shipbuilder on Fri Jul 06, 2012 12:17 pm, edited 1 time in total.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16063
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: New ships under developemnt

Post by Cody »

Open a free personal account at Box.com is the first step. Then look at their free upgrade option - usually very simple to 'arrange'.

Then you package your OXP in a .zip and upload it to your Box, then post the link here on the forum. As you release each OXP, start a new [Release] thread for it.
Hopefully, a kindly wiki wizard will create an entry for it on the Oolite wiki.

There are other file hosting sites, or if you have your own website you can host them as a .zip there.
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!
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New ships under developemnt

Post by Smivs »

A few points to consider.
You should attach a licence to your OXP...most people here use the Creative Commons licence.
The OXP should contain a 'readme' (which no one will read! :wink: ) containing information about the OXP, the author, licence and any credits.
The downloadable .zip should contain the complete OXP as a .oxp folder and the readme. Don't put the readme in the .oxp folder as Mac users won't see it.
Maybe ask a few board members to check and try it for you. A request here should do the job. Coding errors and case-sensitivity problems are quite common particularly if the OXP has been developed on Windows, because Mac and Linux O/Ss are much more strict and stringent. Having a few members give it a once-over pre-release can save a lot of grief after it's too late.
Best of luck,
Smivs
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Agis Silverfish
Dangerous
Dangerous
Posts: 82
Joined: Wed Apr 11, 2012 9:37 pm
Location: Where the winds of Limbo roar

Re: New ships under developemnt

Post by Agis Silverfish »

Wow! These ships look good! I was born on the 70, so I'm dying to try some of these!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16063
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: New ships under developemnt

Post by Cody »

The Oolite Chatroom (aka DS's Seedy Space Bar - usually frequented by a right disreputable bunch of old space hands) is a cool place to hang-out, and many simple queries can be answered quickly there (at least on British/European time). If you've never used IRC, it's also pretty easy to pick-up.
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!
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6881
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: New ships under developemnt

Post by Disembodied »

Some good-looking designs there! Just one comment: "Lightning" = "big electrical sparks from clouds that fry things"; "Lightening" = "to make lighter". ;)
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: New ships under developemnt

Post by Shipbuilder »

Thanks for the spot Disembodied I never noticed despite it being the first ship I started on.

I've updated the shipdata.plist
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: New ships under developemnt

Post by Shipbuilder »

Hi all – Is there anyone out there who is able to provide some advice with regard to specifying your own external views.

I am trying to set up views for the Colonial Viper Mark 1 (Which is a relatively small ship and have found that the default external views could do with being altered so that the ship looks a little bigger).

I have set up external views, based on the scripting in the Merlin oxp, but would like to add a top and bottom view.

The views from different angles around the ship look fine however I have tried to add a top view and bottom view and think that I understand the view position scripting but am struggling with, I believe, the quaternion used for the view orientation. I have attached a paste of the script below for reference.

Can someone shed any light on what I need to specify for the view_orientation script for the last two views to get the top and bottom views to work ? Basically I just want the top view to look directly down from a distance of 100m above the ship and the the bottom view to look up from 100m below the ship

<key>custom_views</key>
<array>
<dict>
<key>view_description</key>
<string>Rear View</string>
<key>view_position</key>
<string>0.0 10.0 -100.0</string>
<key>view_orientation</key>
<string>1.0 0.0 0.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Rear Right View</string>
<key>view_position</key>
<string>75 10.0 -75</string>
<key>view_orientation</key>
<string>0.9239 0.0 0.3827 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Right View</string>
<key>view_position</key>
<string>100.0 10.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Front Right View</string>
<key>view_position</key>
<string>75 10.0 75</string>
<key>view_orientation</key>
<string>0.3827 0.0 0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Front View</string>
<key>view_position</key>
<string>0.0 10.0 100.0</string>
<key>view_orientation</key>
<string>0.0 0.0 1.0 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Front Left View</string>
<key>view_position</key>
<string>-75 10.0 75</string>
<key>view_orientation</key>
<string>0.3827 0.0 -0.9239 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Left View</string>
<key>view_position</key>
<string>-100.0 10.0 0.0</string>
<key>view_orientation</key>
<string>0.7071 0.0 -0.7071 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Rear Left View</string>
<key>view_position</key>
<string>-75 10.0 -75</string>
<key>view_orientation</key>
<string>0.9239 0.0 -0.3827 0.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Top View</string>
<key>view_position</key>
<string>0.0 100.0 0.0</string>
<key>view_orientation</key>
<string>0.0 0.0 0.0 1.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
<dict>
<key>view_description</key>
<string>Bottom View</string>
<key>view_position</key>
<string>0.0 -100.0 0.0</string>
<key>view_orientation</key>
<string>0.0 0.0 0.0 1.0</string>
<key>weapon_facing</key>
<string>FORWARD</string>
</dict>
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Re: New ships under developemnt

Post by Thargoid »

In the view arrays you have 4 keys:

  • Description - self-explanatory.
  • Position - the position "in model space" where you are viewing from. Position is relative to the origin of your model.
  • Orientation - a quaternion detailing which way you are looking. See below.
  • Facing - which of the ships weapon positions will fire if the fire key is pressed when in this view.
The key you are having problems with is the Orientation one. [EliteWiki] Quaternions are described in the wiki and in several pages on the web, but are still a bit of a mathematical nightmare. Have a look in the wiki (and beyond) and see if you can follow it.

1 0 0 0 is the unit quaternion, corresponding to looking along the Z-axis (ie forward on your model).

0.7071 0.7071 0 0 is the quaternion looking "up" (ie along +Y axis).

-0.7071 0.7071 0 0 is the quaternion looking "down" (ie along -Y axis).

The quaternions are all normalised (w^2 + x^2 + y ^2 + z^2 = 1). There is a very useful excel sheet around somewhere which is great for doing such calculations. But I always forget who made it (Frame I think, but not 100% sure) and where you can get it from.[/color]
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New ships under developemnt

Post by Smivs »

I notice the Merlin has no sizes specified...are you sure it is similar enough in size to your ship to give you useable positions. As your viper is reasonably small, why not take the view positions from the default Adder which is of a similar size. From the game's own shipdata.plist:-

Code: Select all

		custom_views =
		(
			{
				view_description = "Rear View";
				view_orientation = "1.0 0.0 0.0 0.0";
				view_position = "0.0 15.0 -100";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Right View";
				view_orientation = "0.9239 0.0 0.3827 0.0";
				view_position = "70.71 15.0 -70.71";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Right View";
				view_orientation = "0.7071 0.0 0.7071 0.0";
				view_position = "100.0 15.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Right View";
				view_orientation = "0.3827 0.0 0.9239 0.0";
				view_position = "70.71 15.0 70.71";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front View";
				view_orientation = "0.0 0.0 1.0 0.0";
				view_position = "0.0 15.0 100.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Front Left View";
				view_orientation = "0.3827 0.0 -0.9239 0.0";
				view_position = "-70.71 15.0 70.71";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Left View";
				view_orientation = "0.7071 0.0 -0.7071 0.0";
				view_position = "-100.0 15.0 0.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Rear Left View";
				view_orientation = "0.9239 0.0 -0.3827 0.0";
				view_position = "-70.71 15.0 -70.71";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Top View";
				view_orientation = "-0.7071 0.7071 0.0 0.0";
				view_position = "0.0 100.0 -10.0";
				weapon_facing = "FORWARD";
			},
			{
				view_description = "Bottom View";
				view_orientation = "0.0 0.0 0.7071 0.7071";
				view_position = "0.0 -100.0 -10.0";
				weapon_facing = "FORWARD";
			}
		);
	};
You will notice this code is in the prefered OpenStep, but it should be easy enough to translate it to XML which you are using at the moment.
You will find the games' 'resources' folder where the shipdata.plist and others reside is very useful reference and resource for all sorts of things.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: New ships under developemnt

Post by Shipbuilder »

Thank you very much gents for your prompt and helpful advice.

I'll get on to this tomorrow and take a look at the info on the Wiki.

I'm hoping I will be able to get a ship up to standard and released within the next week or so.

With regard to the XML verses OpenStep coding issue their any particular advantage for using one rather than the other ?

I am just starting out therefore it's hopefully not too much of an issue to change to Openstep if that is the standard moving forward as I am in the learning process at the moment anyway.
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: New ships under developemnt

Post by Smivs »

I think most people favour OpenStep as it is far more human-readable. It is also eaier to write and easier to bug-fix. As I pointed out the plists for the core game are coded in OpenStep.
Indeed the core game files are an invaluable resource. If you haven't found it yet, the 'resources' folder contains all the plists, models, AIs and scripts for the game. There are good examples of almost everything in there.
With regard to skins, you might also want to look at stuff the core game doesn't use but OXPs can, like light-maps and shaders. For these you will need to look at OXPs. For shader examples you can't beat Griff's work, and all of my ship OXPs use light-maps so take a look at those - the 'materials' section of the plist is what you want.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
maik
Wiki Wizard
Wiki Wizard
Posts: 2020
Joined: Wed Mar 10, 2010 12:30 pm
Location: Ljubljana, Slovenia (mainly industrial, feudal, TL12)

Re: New ships under developemnt

Post by maik »

El Viejo wrote:
Hopefully, a kindly wiki wizard will create an entry for it on the Oolite wiki.
Or just ask for an account for yourself so you can create the entry ;-)
Post Reply