Is it possible to make a station have no graphic, or an invisible one?
EDIT:
Never mind, I found out myself.
Invisible stations
- Periculi
- Fleet Officer
- Posts: 1282
- Joined: Sat Oct 13, 2007 7:48 pm
- Location: Necroposting in a forum near you

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!
- digdug
- 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.
But, is the station intangible to ? It would be nice to have an invisible station that can be hit.
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Well: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.
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!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
No, it was for the modding competition. Why do you ask?appleseed wrote:Hi schilcote,
There is a question what is the purpose of a invisible station, would it be a pirate station?
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
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.
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.