acs121's coding questions

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

acs121's coding questions

Post 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 ?
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5601
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: acs121's coding questions

Post by PikkaBird »

You need roughly this many.
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: acs121's coding questions

Post 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) ?
User avatar
acs121
Tycoon
Tycoon
Posts: 1956
Joined: 03 Nov 2017 18:57
Location: Courbevoie, near Paris, France

Re: acs121's coding questions

Post 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
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 5 guests