New ships under development
Moderators: winston, another_commander
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: New ships under developemnt
I give up! Those hex(?) numbers make no sense to me, as they seem to imply that a cargo pod has a greater volume than a Cobra III?
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!
And any survivors, their debts I will certainly pay. There's always a way!
- SandJ
- ---- E L I T E ----
- Posts: 1048
- Joined: Fri Nov 26, 2010 9:08 pm
- Location: Help! I'm stranded down here on Earth!
Re: New ships under developemnt
cim wrote:... A Cobra III has a bounding box volume of 2.5E5 cubic metres. A Coriolis has an internal volume of over 8.3E8 cubic metres, so you could fit well over a thousand Cobra IIIs inside the Coriolis ... A cargo pod has a bounding box volume of 3.6E2 cubic metres ...
2.5E5 = 2.5 * 10^5 = 250,000El Viejo wrote:Those hex(?) numbers make no sense to me
8.3E8 = 8.3 * 10^8 = 830,000,000
3.6E2 = 3.6 * 10^2 = 360
The 'E' stands for 'exponent'. The format may be familiar from spreadsheets which automatically switch to that format for large numbers.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: New ships under developemnt
The format may well be familiar to some (it probably would've been to me fifteen to twenty years ago, but now it makes little sense).SandJ wrote:The format may be familiar from spreadsheets
If I have to reach for a calculator to fully understand a post, you may as well post in Dutch and I'll reach for a translator.
However, thanks for the explanation, S&J!
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: New ships under developemnt
I only remember one Linux user complaining about rtf files as he did not have a rtf reader. Others linux users said they were good available. I think rtf is so universal that you should install a reader for it if you don't have it. It is a format used already by the oldest MS word versions and I use it already over 25 years without problems.El Viejo wrote:On the subject of readmes: is there any reason whySmivs wrote:There is no 'standard' template as such for readmes..rtf
shouldn't be used for a readme instead of.txt
? Many OXP authors do use.rtf
, but not all.
Rich Text Format is far more readable than.txt
, which is a pain and doesn't encourage the reading of anything!
From the Mac side I know it is implemented in the default text reader since OSX 10. Before you needed 3th party programs to read it.
I would say: only use rtf for readMes.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Shipbuilder
- ---- E L I T E ----
- Posts: 877
- Joined: Thu May 10, 2012 9:41 pm
- Location: Derby
Re: New ships under developemnt
Is it possible to design a ship then have, depending on say the role, a different texture for each role type ?
For example design a ship which when used by pirates could have a skull and crossbones or similar themed texture while the same ship used by the police could have another texture altogether.
For example design a ship which when used by pirates could have a skull and crossbones or similar themed texture while the same ship used by the police could have another texture altogether.
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"
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
Re: New ships under developemnt
Yes. Define the ship for say, the pirate role:Shipbuilder wrote:Is it possible to design a ship then have, depending on say the role, a different texture for each role type ?
For example design a ship which when used by pirates could have a skull and crossbones or similar themed texture while the same ship used by the police could have another texture altogether.
Code: Select all
"my_ship" = {
...
roles="pirate";
model="my_ship.dat";
materials = {..."pirate_texture.png"...};
...
}
Code: Select all
"my_police_ship" = {
like_ship="my_ship";
roles="police";
materials = {..."police_texture.png"...};
}
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New ships under developemnt
Yes, easily done.Shipbuilder wrote:Is it possible to design a ship then have, depending on say the role, a different texture for each role type ?
For a comprehensive example take a look at my Smivs'Shipset (the Adder is probably as good a one to look at as any), or for a simple one, the Contractor has a seperate 'pirate' skin.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- CommonSenseOTB
- ---- E L I T E ----
- Posts: 1397
- Joined: Wed May 04, 2011 10:42 am
- Location: Saskatchewan, Canada
Re: New ships under developemnt
And if you do this...cim wrote:Yes. Define the ship for say, the pirate role:Shipbuilder wrote:Is it possible to design a ship then have, depending on say the role, a different texture for each role type ?
For example design a ship which when used by pirates could have a skull and crossbones or similar themed texture while the same ship used by the police could have another texture altogether.Then define the police role using like_shipCode: Select all
"my_ship" = { ... roles="pirate"; model="my_ship.dat"; materials = {..."pirate_texture.png"...}; ... }
When you use like_ship, any parameters not specified in the ship definition will be taken from the base ship definition - so here we override roles and materials, but leave the rest the same - in practice you might want to change a little more than that.Code: Select all
"my_police_ship" = { like_ship="my_ship"; roles="police"; materials = {..."police_texture.png"...}; }
Code: Select all
"my_player_ship" = {
like_ship="my_ship";
roles="player";
materials = {..."player_texture.png"...};
}
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Re: New ships under developemnt
Or alternatively you can do it by scripting, so on spawning/launch the ship skin gets set on the fly. Both materials and shaders are fully visible to script (hence you can have the ships skin change, for example as the ship becomes damaged - see my Swarm thargoid warship for example).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New ships under developemnt
Thargoid wrote:Or alternatively you can do it by scripting, so on spawning/launch the ship skin gets set on the fly. Both materials and shaders are fully visible to script (hence you can have the ships skin change, for example as the ship becomes damaged - see my Swarm thargoid warship for example).
I suggested the Adder in my shipset as a nice straightforward example of applying different textures to variants (using 'like_ship') of the same ship, but as Thargoid mentioned there are clever things you can do with scripting as well. Most of the ships in my shipset use this to change to 'damaged' textures 'on the fly' when the ship's shields are down, and so you will also find many examples of how this works there as well. Note that to get the switching of textures working properly (with and/or without emission maps) you will need to seperate the ships though...each variant will need its own model with the correct texture for that variant specified in the .dat file.Smivs wrote:Yes, easily done.
For a comprehensive example take a look at my Smivs'Shipset (the Adder is probably as good a one to look at as any)...
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Shipbuilder
- ---- E L I T E ----
- Posts: 877
- Joined: Thu May 10, 2012 9:41 pm
- Location: Derby
Re: New ships under developemnt
Thanks guys I'll give the different texturing thing a go probably over the weekend.
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"
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
- Shipbuilder
- ---- E L I T E ----
- Posts: 877
- Joined: Thu May 10, 2012 9:41 pm
- Location: Derby
Re: New ships under developemnt
Hi Everyone.
I would like to specify an npc ship which will be equipped with ECM hardened missiles. Can anyone advise if the code below in XML format is correct ?
Is their somewhere that lists the different missile types ?
I would like to specify an npc ship which will be equipped with ECM hardened missiles. Can anyone advise if the code below in XML format is correct ?
Code: Select all
<key>missile_roles</key>
<string>EQ_ECM_HARDENED</string>
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"
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
Re: New ships under developemnt
Close.
The missile roles can be found in Oolite's standard equipment.plist file, and also in the shipdata.plist file.
Code: Select all
<key>missile_role</key>
<string>EQ_HARDENED_MISSILE</string>
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: New ships under developemnt
It's "EQ_HARDENED_MISSILE"
Aaaargh! Ninja'd
PS please consider moving to OpenStep
Aaaargh! Ninja'd
PS please consider moving to OpenStep
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Shipbuilder
- ---- E L I T E ----
- Posts: 877
- Joined: Thu May 10, 2012 9:41 pm
- Location: Derby
Re: New ships under developemnt
Oops bit of a typo with the ECM reference in the code however I intended to put EQ_HARDENED so good job I asked anyway !Smivs wrote:It's "EQ_HARDENED_MISSILE"
Aaaargh! Ninja'd
PS please consider moving to OpenStep
I do intend changing to OpenStep but have a few ships that I have already produced using XML script which I am tweaking and I wasn't too keen on rewriting them. That said future oxp ships, (other than the ones at the start of this thread) will be based on OpenStep.
One thing that I was going to do for my own purposes, in order to get my head around OpenStep, was to produce template shipdata and shipyard scripts that I would use as a starting point for future ship oxps. The idea being that I can read through the template and delete what I don’t want and alter what is left to suit (It will also act as a check list and hopefully once ready and correct should help avoid a good number of errors).
If deemed useful I would be happy to post on the forum somewhere when ready (It could also be useful for someone just starting with limited experience).
What does everyone think ?
Oh and thanks for your help with the scripting query.
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"
Increase the variety of ships within your Ooniverse by downloading my OXPs
Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"