I'm drawing new modern stations for ttd/ottd and I'm running on a problem:
Offcourse in modern stations you're having a lot of glass buildings and i want to know how do I make glass transparent?
Has it to do with the colors, or is it something with the coding process maybe?
Transparent colors?
Moderator: Graphics Moderators
- RSpeed tycoonfreak
- Transport Coordinator
- Posts: 349
- Joined: 02 Feb 2006 13:17
- Location: Azewijn The netherlands
- Contact:
Transparent colors?
Visit The Fake Airport Website

Hobbys: being 18 years old, soccer, go karting, and transport tycoon.
Hobbys: being 18 years old, soccer, go karting, and transport tycoon.
Re: Transparent courours?
When coding newstations you can define a sprite as transparent. This makes every color (except from color 1 with the proper bits set in your action 1 block IIRC) look like glass. Look at the documentation, especially the part about the sprite IDs and offsets etc. IIRC for glass you want your sprite ID to be 0x03883342D+X but I'm not sure about that.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: Transparent courours?
and:
If you decode the original grfs you will see that the stations have an extra sprite for transparency (yellow color: but as already stated, except color 1, any color can be used).
If you decode the original grfs you will see that the stations have an extra sprite for transparency (yellow color: but as already stated, except color 1, any color can be used).
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Who is online
Users browsing this forum: Google [Bot] and 29 guests