Page 1 of 1

scripts

Unread postPosted: Wed May 08, 2013 11:49 am
by eyein12
So I know this was mentioned before but has anything developed in regards to being able to read scripts? they arent readable anymore. I need to learn how to write scripts in the future.

Re: scripts

Unread postPosted: Wed May 08, 2013 12:51 pm
by _o_OOOO_oo-Kanawha
Chunkspy is the best tool to make those obfuscated .out scripts readable I think. You still don't get ready to run .lua code, but it will give an idea of the general structure, use of variables and how to interface with the controllers.

Not much has changed since the Amtrak PH42DC, the older version has the glass cockpit in clear lua you can study.

luaforge.net/projects/chunkspy/

Re: scripts

Unread postPosted: Wed May 08, 2013 6:47 pm
by eyein12
hmm seems like I cant download it. i'll bookmark this for later. IF nothing has changed then I still have some old .lua files lying around.

Re: scripts

Unread postPosted: Thu May 09, 2013 4:07 am
by mrennie
Hi Ian,

if there's anything specific you need help on, I might have some lua code snippets I could send you that would do what you need.

Cheers,

Mike

EDIT: Except that my lua code is for a steam loco, so it might not fit the bill exactly.