Page 1 of 1

acs121's coding questions

Posted: 26 Mar 2018 17:39
by acs121
Hi,
I'd like to code a tracktype (for a trainset). How do i make sprites for a tracktype and how much to i need to make ?

Re: acs121's coding questions

Posted: 26 Mar 2018 17:42
by PikkaBird
You need roughly this many.

Re: acs121's coding questions

Posted: 26 Mar 2018 17:55
by acs121
By chance, do you have any template ?
And what do i enter if i want to use default graphics or no graphics (my railtype has no level crossings) ?

Re: acs121's coding questions

Posted: 26 Mar 2018 21:03
by acs121
So, i coded another grf and here's what nmlc returns...
nmlc-version: v6379:afad0c76c40b from 2017-06-19
Error: (ValueError) "Unknown format code 'r' for object of type 'str'".
Command: ['nmlc', '-c', '--grf', 'NESPhiladelphia.grf', 'NESPhiladelphia.nml']
Location: File "nml\grfstrings.py", line 971, in handle_grflangid