Rail change
Moderator: Graphics Moderators
Rail change
Is there a way to get the Electric rails to change their graphics at a certain year?
I'd like to have the overhead cables on Electric rails change to a third rail in the later years of a game.
I'd like to have the overhead cables on Electric rails change to a third rail in the later years of a game.
Re: Rail change
Yes, but it's not a very shiny implementation, because you have to reload the game in order for the changes to take effect.
But if that's not a problem to you, you could use Action07 for the job.
But if that's not a problem to you, you could use Action07 for the job.
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Rail change
I had a conversation with DaleStan.. he said that Action07 is easier.. but varAction2 is the right way to do it.. (actually one similar thing)FooBar wrote:Yes, but it's not a very shiny implementation, because you have to reload the game in order for the changes to take effect.
But if that's not a problem to you, you could use Action07 for the job.
@Slye_Fox http://wiki.ttdpatch.net/tiki-index.php ... phicsSpecs
Re: Rail change
Well, basically, save game, stop playing, return to title screen and reload savegame.Slye_Fox wrote:What do you mean by 'reload the game'?
Re: Rail change
Forgive me for asking, but how do you use varAction2 for rail graphics? Is there a way to use it for generic real sprites?lordazamath wrote:but varAction2 is the right way to do it..
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Rail change
That do I not knowZephyris wrote:Forgive me for asking, but how do you use varAction2 for rail graphics? Is there a way to use it for generic real sprites?lordazamath wrote:but varAction2 is the right way to do it..

You know I'm not THE specialist.. And I didn't know that you can use it only for engines or something like that. (Still don't know)
Sorry for false information then.
madis
Re: Rail change
You can only use VarAction2 for things that have a feature byte.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Who is online
Users browsing this forum: No registered users and 23 guests