custom wrecks

Freeform discussion about anything related to modding Transcendence.
Post Reply
Silentdances
Commonwealth Pilot
Commonwealth Pilot
Posts: 56
Joined: Fri Mar 21, 2008 6:06 am

how would one go about creating custom wrecks? (image format, how to call to it)
"Darkness makes the sunlight so bright, that our eyes blur with tears. Misery sharpens the edges of our joy. Challenges remind us that we are capable of great things. Life is hard. It is supposed to be."
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Oh, good question! I am not sure there is a way- the wreck object uses the ship image. Then I think it is applying a layer that produces the damaged look.

To create wrecks that are just wrecks to begin with, you just need to make them a station and choose an image for them.

(Look near the bottom end of the Transcendence.xml file to find some wreck station samples.)
F50
Fleet Officer
Fleet Officer
Posts: 1004
Joined: Sat Mar 11, 2006 5:25 pm

So in other words, to do that you need to use the ugly CSC-style ship/station hybrid?
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

:shock: What?

You know those wrecks that are around that you never destroyed? Those are simple stations. They just use a ship graphic to be static wrecks.


CSC station/ship is NOT ugly. It is a tricky little set up to make use of some advanced events. I like <OnAttackedByPlayer> and find it handy for many things.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

A wreck uses this code in the image element:

Code: Select all


	<Image shipwreckID="&scRepentant;, &scEI100M;, &scBarbary;"/>
Which produces a wrecked version of the ship UNID you add to shipwreckID="UNID".

Nothing to it.
Silentdances
Commonwealth Pilot
Commonwealth Pilot
Posts: 56
Joined: Fri Mar 21, 2008 6:06 am

Oh, good question! I am not sure there is a way- the wreck object uses the ship image. Then I think it is applying a layer that produces the damaged look.

To create wrecks that are just wrecks to begin with, you just need to make them a station and choose an image for them.

(Look near the bottom end of the Transcendence.xml file to find some wreck station samples.)
yep.. that would have been it.. I had thought that the leaveswreck = "value" was referencing a numbered list.. instead it's expressing the chance of a wreck occurring.

thanks :)

added: I had been using low values, and never getting a wreck
"Darkness makes the sunlight so bright, that our eyes blur with tears. Misery sharpens the edges of our joy. Challenges remind us that we are capable of great things. Life is hard. It is supposed to be."
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Periculi wrote:CSC station/ship is NOT ugly. It is a tricky little set up to make use of some advanced events. I like <OnAttackedByPlayer> and find it handy for many things.
I think he means the code, but i don't know what's so ugly about it... :? It's almost identical to a station code- the encounter system is slightly different though.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Post Reply