Invisible stations

Freeform discussion about anything related to modding Transcendence.
Post Reply
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

Is it possible to make a station have no graphic, or an invisible one?

EDIT:
Never mind, I found out myself.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Please delete the thread then, or write up an explanation for others.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

:lol:

harsh crew around here, eh?

So, there's usually some kind of image tag in a station xml struct. The easiest way to create an 'invisible' station is to set the X and Y to 1. Then whatever image the station is using, only a 1 pixel portion of it is shown and that is often in the mask and so 'invisible'. Ta da!
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

this is exactly what i do to, because if you remove the image tag the game crashes on loading.

But, is the station intangible to ? It would be nice to have an invisible station that can be hit.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

It's not completely intangible I think, just very, very small.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

digdug wrote:this is exactly what i do to, because if you remove the image tag the game crashes on loading.

But, is the station intangible to ? It would be nice to have an invisible station that can be hit.
Well:
just make the mask with luminosity 1, and make the station all black: sure, it inperceptibly darkens the stars behind it, but that's not a problem: you could simply make an OUTLINE of the station if it is really a concern.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
appleseed
Miner
Miner
Posts: 41
Joined: Wed Feb 11, 2009 6:53 pm
Location: 6008 welkom

Hi schilcote,

There is a question what is the purpose of a invisible station, would it be a pirate station? :?:
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

appleseed wrote:Hi schilcote,

There is a question what is the purpose of a invisible station, would it be a pirate station? :?:
No, it was for the modding competition. Why do you ask?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
Bobby
Militia Captain
Militia Captain
Posts: 675
Joined: Wed Jul 25, 2007 7:39 pm

invisible stations are good for managing and running events, like making a pirate fleet attack or keeping a trade route going.

the player won't be able to see it, or destroy it most likely, so it is almost guaranteed to stay there doing it's job.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

You also need to make it planet scale or it will show up on LRS and the map.
Dalva
Militia Lieutenant
Militia Lieutenant
Posts: 158
Joined: Sun Nov 23, 2008 2:36 pm
Location: RXDV Labs orbiting Mars

just make 2 1x1px image that is all black. then code the xml to use that image. tada! invisible station.
Image
Post Reply