Currently i have made 2 ships. one is working the other isn't. the one that works has an edited copy of a shipdata.plist from one of charlies ships. the one that doesn't is an edited version of my first one.
and how do you work out where to put the exhaust. its got me baffled right now.
i'm using wings3d in ubuntu for the model.
oxp not working
Moderators: winston, another_commander
More .oxp's great!
Exhausts:
In your shipdata.plist:
.
.
.
<key>exhaust</key>
<array>
<string>x y z width height length</string>
</array>
.
.
.
A seperate entry between <array> </array> for each plume.
x y z: are the position of the exhaust origin relative to the centre of the ship.
width hight length: dictate the shape of the exhaust plume.
( though the length never seems to make a lot of difference for me )
It's worth mentionig the origin of the exhaust moves a bit depending on thrust level.
( I've been in the habbit of putting the origin inside the ship a bit to counteract this as I don't like that behavior )
I hope this helps - let me know if you have more questions.
PS
Watch out with some of my .plists if you're in the 'learning phase' ( aren't we all? ) Some are written in quite an odd way to screw extra features out of Oolite.
Kestrel & Merlin probably have the most standard .plists ( apart form their exhausts! )
The rest have a few fun bits in them you may find useful.
Exhausts:
In your shipdata.plist:
.
.
.
<key>exhaust</key>
<array>
<string>x y z width height length</string>
</array>
.
.
.
A seperate entry between <array> </array> for each plume.
x y z: are the position of the exhaust origin relative to the centre of the ship.
width hight length: dictate the shape of the exhaust plume.
( though the length never seems to make a lot of difference for me )
It's worth mentionig the origin of the exhaust moves a bit depending on thrust level.
( I've been in the habbit of putting the origin inside the ship a bit to counteract this as I don't like that behavior )
I hope this helps - let me know if you have more questions.
PS
Watch out with some of my .plists if you're in the 'learning phase' ( aren't we all? ) Some are written in quite an odd way to screw extra features out of Oolite.
Kestrel & Merlin probably have the most standard .plists ( apart form their exhausts! )
The rest have a few fun bits in them you may find useful.
Benulobiweed.inc
By Appointment to
--- : GalCoop : ---
Your nearest Benulobiweed.inc dealer:
http://www.box.net/public/b2tic3tjsk#main
Charlie
By Appointment to
--- : GalCoop : ---
Your nearest Benulobiweed.inc dealer:
http://www.box.net/public/b2tic3tjsk#main
Charlie
something is broke and i can't work out what it is.
my first ship, made from all the abandoned "flying-bricks" laying around the Ooniverse works fine with the player part of your Cobra with the exhaust info removed.
my second ship all the config stuff is from the first ship. i have changed the name and the date filename in all the relevant files. i've found a missing </dict> in the shipdata. i've also added (hopefully) an exhaust.
when i start a new game with just the first ship, it turns up in my buy ship screen every time, but when i add the second ship, none of my models turn up. model 2 has been tried with and without exhausts.
it's going to be something really daft. my years of html, css and sloppy scripting have taught me this.
my first ship, made from all the abandoned "flying-bricks" laying around the Ooniverse works fine with the player part of your Cobra with the exhaust info removed.
my second ship all the config stuff is from the first ship. i have changed the name and the date filename in all the relevant files. i've found a missing </dict> in the shipdata. i've also added (hopefully) an exhaust.
when i start a new game with just the first ship, it turns up in my buy ship screen every time, but when i add the second ship, none of my models turn up. model 2 has been tried with and without exhausts.
it's going to be something really daft. my years of html, css and sloppy scripting have taught me this.
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
Ships are not always offered immediately at the shipyard, it may take several jumps to finally find it on sale.
Best way to test ships is not the shipyard, but the 'parade' of the start screen or the classical 'scripting a small encounter script'.
The first method is a quick way to see if your shipmodel (subentities and lights too) is working, you just need to place the name of your custom ship in the Demoships.plist .
The second method, is better for testing out the behaviour of the ship, lasers, exhausts, missiles etc. Some use it also to investigate their creations upclose from any angle, by temporarily replacing their AI by dumbAI.plist.
---
exhausts are also hardcoded to be directed to the rear (or -Z) of the shipentity.
Sometimes you might want to direct them outward at angles to the main body, but this is not possible.
---
In general, the best way to start out is to take the shipdata of a similar ship/entity to what you want to produce, then edit stuff.
When you want to add special behaviours or effects, look at how it is done in examples done by others.
-lights: look at police or orbs.
-turrets: look at behemoth or Armoured Transport.
-carrier: look at behemoth.
-other dockables: hermit, stations by OXPers.
-subentities: look at weeviloids, AT1.
-deathactions: Cloaked Asp.
etc, ofcourse there are many other examples of cool coding.
Don't forget to look in the elite-wiki at Alioth.net.
--
Have fun!
ps Some less fun stuff:
If you want your ships to be accepted by the community in general,
be carefull not to create unrealistically powerfull ships.
Balance things out: Great speed usually needs a big engine so less cargo space, Offensive equipment is most effective when custom fitted, making a craft powerfull but less versatile in its configuration and difficult to upgrade.
Most ships are contemporaries and the classic designs in the Ooniverse have lasted for centuries. The Cobra3 is supposed to be a revolutionary design triumph and although it is a multi-role ship it is still superior to many older ships.
You could include code to limit your powerfull Nu-design to a later game time, but this is usually a bit beyond the casual OXPer.
Best way to test ships is not the shipyard, but the 'parade' of the start screen or the classical 'scripting a small encounter script'.
The first method is a quick way to see if your shipmodel (subentities and lights too) is working, you just need to place the name of your custom ship in the Demoships.plist .
The second method, is better for testing out the behaviour of the ship, lasers, exhausts, missiles etc. Some use it also to investigate their creations upclose from any angle, by temporarily replacing their AI by dumbAI.plist.
---
exhausts are also hardcoded to be directed to the rear (or -Z) of the shipentity.
Sometimes you might want to direct them outward at angles to the main body, but this is not possible.
---
In general, the best way to start out is to take the shipdata of a similar ship/entity to what you want to produce, then edit stuff.
When you want to add special behaviours or effects, look at how it is done in examples done by others.
-lights: look at police or orbs.
-turrets: look at behemoth or Armoured Transport.
-carrier: look at behemoth.
-other dockables: hermit, stations by OXPers.
-subentities: look at weeviloids, AT1.
-deathactions: Cloaked Asp.
etc, ofcourse there are many other examples of cool coding.
Don't forget to look in the elite-wiki at Alioth.net.
--
Have fun!
ps Some less fun stuff:
If you want your ships to be accepted by the community in general,
be carefull not to create unrealistically powerfull ships.
Balance things out: Great speed usually needs a big engine so less cargo space, Offensive equipment is most effective when custom fitted, making a craft powerfull but less versatile in its configuration and difficult to upgrade.
Most ships are contemporaries and the classic designs in the Ooniverse have lasted for centuries. The Cobra3 is supposed to be a revolutionary design triumph and although it is a multi-role ship it is still superior to many older ships.
You could include code to limit your powerfull Nu-design to a later game time, but this is usually a bit beyond the casual OXPer.
Riding the Rocket!
- Cholmondely
- Archivist
- Posts: 5368
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re:
Should any of this advice be included in the wiki (or linked to)?Arexack_Heretic wrote: ↑Sat Feb 24, 2007 9:52 pmShips are not always offered immediately at the shipyard, it may take several jumps to finally find it on sale.
Best way to test ships is not the shipyard, but the 'parade' of the start screen or the classical 'scripting a small encounter script'.
The first method is a quick way to see if your shipmodel (subentities and lights too) is working, you just need to place the name of your custom ship in the Demoships.plist .
The second method, is better for testing out the behaviour of the ship, lasers, exhausts, missiles etc. Some use it also to investigate their creations upclose from any angle, by temporarily replacing their AI by dumbAI.plist.
---
exhausts are also hardcoded to be directed to the rear (or -Z) of the shipentity.
Sometimes you might want to direct them outward at angles to the main body, but this is not possible.
---
In general, the best way to start out is to take the shipdata of a similar ship/entity to what you want to produce, then edit stuff.
When you want to add special behaviours or effects, look at how it is done in examples done by others.
-lights: look at police or orbs.
-turrets: look at behemoth or Armoured Transport.
-carrier: look at behemoth.
-other dockables: hermit, stations by OXPers.
-subentities: look at weeviloids, AT1.
-deathactions: Cloaked Asp.
etc, ofcourse there are many other examples of cool coding.
Don't forget to look in the elite-wiki at Alioth.net.
--
Have fun!
ps Some less fun stuff:
If you want your ships to be accepted by the community in general,
be carefull not to create unrealistically powerfull ships.
Balance things out: Great speed usually needs a big engine so less cargo space, Offensive equipment is most effective when custom fitted, making a craft powerfull but less versatile in its configuration and difficult to upgrade.
Most ships are contemporaries and the classic designs in the Ooniverse have lasted for centuries. The Cobra3 is supposed to be a revolutionary design triumph and although it is a multi-role ship it is still superior to many older ships.
You could include code to limit your powerfull Nu-design to a later game time, but this is usually a bit beyond the casual OXPer.
And does any of it need changing?
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: oxp not working
Personally I like Gallery.OXP to view ships. You can rotate and zoom everything there, so light effects under different suns or "sloppy" pixels are easily tested. http://wiki.alioth.net/index.php/Gallery
Scars remind us where we've been. They don't have to dictate where we're going.
- Cholmondely
- Archivist
- Posts: 5368
- Joined: Tue Jul 07, 2020 11:00 am
- Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
- Contact:
Re:
Any ideas for updating this list?Arexack_Heretic wrote: ↑Sat Feb 24, 2007 9:52 pmWhen you want to add special behaviours or effects, look at how it is done in examples done by others.
-lights: look at police or orbs.
-turrets: look at behemoth or Armoured Transport.
-carrier: look at behemoth.
-other dockables: hermit, stations by OXPers.
-subentities: look at weeviloids, AT1.
-death actions: Cloaked Asp.
etc, of course there are many other examples of cool coding.
(I presume that the cloaked asp is from the Vanilla game code)
I can think of:
- animation: butterflies & Stellar Serpents
- subentities: Z GrOovy HPC pack
- death actions: Sabre's Tribant (just reading the label on his box!)
Comments wanted:
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
•Missing OXPs? What do you think is missing?
•Lore: The economics of ship building How many built for Aronar?
•Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
- hiran
- Theorethicist
- Posts: 2403
- Joined: Fri Mar 26, 2021 1:39 pm
- Location: a parallel world I created for myself. Some call it a singularity...
Re: Re:
Animation is also contained in the Imperial Courier.Cholmondely wrote: ↑Mon Nov 08, 2021 9:46 amAny ideas for updating this list?Arexack_Heretic wrote: ↑Sat Feb 24, 2007 9:52 pmWhen you want to add special behaviours or effects, look at how it is done in examples done by others.
-lights: look at police or orbs.
-turrets: look at behemoth or Armoured Transport.
-carrier: look at behemoth.
-other dockables: hermit, stations by OXPers.
-subentities: look at weeviloids, AT1.
-death actions: Cloaked Asp.
etc, of course there are many other examples of cool coding.
(I presume that the cloaked asp is from the Vanilla game code)
I can think of:
- animation: butterflies & Stellar Serpents
- subentities: Z GrOovy HPC pack
- death actions: Sabre's Tribant (just reading the label on his box!)
Sunshine - Moonlight - Good Times - Oolite