Trainz Script for TANE?

Approach_Medium

Trainz Addict
Hi;
I want to try some scripting in T-ANE SP2.
I have done some scripting in TS12, but none in TANE so far. Are there differences?
Where is the best place to start learning?

Thanks
CP
 
There are, of course, new methods. That being said, it's mostly the same. There was an issue where T:ANE would cache scripts, so that if you made any changes, they would not be reflected. I'm not sure if that's still an issue or that it still requires blowing out the cache, but I still develop in TS2010 partly for that reason. I believe there has been talk about improved tools, but I don't know the status or if that's for the next version of Trainz. In any case, setting manual breakpoints and traps is still useful.
 
Uh oh. That caching issue could be a real problem. Thanks for giving me the heads-up. I might have spent hours trying to figure out why changes were not taking effect.
Do you recommend any particular tutorials, or should I just go to the Trainz Wiki?
 
I had an idea there is a new scripting language floating around for the latest version or is that just trainz dev?

Cheerio John
 
When I open the CM, right click any commited (not open for edit) error free scripted item and select view errors and warnings, CM gives message:
...validating...
...script compile...
...TADTask Validate GSMachine::CacheLibrary> Adding Library to hash. crc=XXXYYY, filenameCRC=YYYXXX, filename=*.gsl

where item filename includes path for cached script and if I understand well, this updates content of cache. And by checking date of this file You can verify if actual script is cached or not. Thats my thought.
 
Back
Top