I am in the process of developing a new ship OXP and would like to use a variety of different ship textures for the different roles.
For example the player ship would have one texture but the OXP would then use different textures for a ship with other roles such as police, pirate etc.
I am putting together different texture files at the moment as follows:-
Re the code above, just to be clear, this will allow you to use just one model for all the varieties. The .dat file will have 'myship.png' (the trader version) as the specified texture, then the police, pirate and player versions will have the correct textures applied.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Don't forget to use is_template = yes for the base used by like_ship
I don't think this is required/necessary if the 'base' ship (the one you are 'like_ship'-ing to) is an actual ship used in the game, as in my example above.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Don't forget to use is_template = yes for the base used by like_ship
I don't think this is required/necessary if the 'base' ship (the one you are 'like_ship'-ing to) is an actual ship used in the game, as in my example above.
Sorry. Was only a quick look on my part. Thought it was a layout for all ships.
No worries...it's a good point to make. 'is_template' is essential if the base is purely a template which is not an actual ship used in the game, and we don't know exactly how shipbuilder is structuring his OXP.
Commander Smivs, the friendliest Gourd this side of Riedquat.
No worries...it's a good point to make. 'is_template' is essential if the base is purely a template which is not an actual ship used in the game, and we don't know exactly how shipbuilder is structuring his OXP.
Hopefully in a properly structured way. Helpful when it comes to debugging.
short related question: Is there a way to make a ship take on a random texture, or would I have to randomize wich ship is used after having all possible textures defined via shipdata.plist?
Thanks gents for your advice and suggestions. I have almost completed the various textures the aim then is to set up a shipdata.plist which will define the player ship with the standard texture then set up in detail one of the npc roles including the alternative option. The remaining npc ships can then be set up using the like_ship method.
Once I've got everything set up and have carried out some play-testing would anyone be willing to take a look at a pre-release version of this oxp as it is the first one I have looked at using Openstep ?
The GalTech Industries Corporation - Building ships to populate the galaxies.
short related question: Is there a way to make a ship take on a random texture, or would I have to randomize wich ship is used after having all possible textures defined via shipdata.plist?
As far as I am aware this is not possible but I'm sure one of the noggins will be along shortly to confirm either way.
I do think that this would be a great option.
A question to the development team - If this is not currently an option would there be any chance that this could be looked at for a future release ?
The GalTech Industries Corporation - Building ships to populate the galaxies.