Multi-Tile House Example?

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

Moderator: Graphics Moderators

Post Reply
StoneyTT
Engineer
Engineer
Posts: 23
Joined: 29 Apr 2013 16:30
Location: Germany

Multi-Tile House Example?

Post by StoneyTT »

Can someone please show me an example NML code for a multi-tile (2x2) house? The information in the NML documentation isn't detailed enough for me to figure out how to specify it correctly.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Multi-Tile House Example?

Post by planetmaker »

Maybe the regression test in NML repo is helpful: http://dev.openttdcoop.org/projects/nml ... _house.nml

There's an unresolved issue with houses in NML: you seem to need to define the next_anim_frame callback:
http://dev.openttdcoop.org/issues/5294
StoneyTT
Engineer
Engineer
Posts: 23
Joined: 29 Apr 2013 16:30
Location: Germany

Re: Multi-Tile House Example?

Post by StoneyTT »

Thanks!
I already knew about that next_anim_frame issue, but the NML script was really helpful.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 21 guests