NML tutorial buggy?

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
MagicBuzz
Tycoon
Tycoon
Posts: 1354
Joined: 15 Feb 2003 17:32
Location: Vergezac, France

NML tutorial buggy?

Post by MagicBuzz »

Hello,
I'm trying to create a new GRF, and I'm discovering the NML language.

I tried to compile the NML tutorial code, and I get an error :

Code: Select all

nmlc ERROR: "mytrain.nml", line 214: Unknown property name: shorten_vehicle
I tried to find in the available variables if I can see a deprecated variable named shorten_vehicle or some variable with a similar name, but I can't.

Am I doing something wrong?

When I comment this line it compiles correctly... but as a programmer I don't like commenting things I don't understand...
User avatar
jfs
Tycoon
Tycoon
Posts: 1758
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: NML tutorial buggy?

Post by jfs »

Which version of NML are you using?
User avatar
MagicBuzz
Tycoon
Tycoon
Posts: 1354
Joined: 15 Feb 2003 17:32
Location: Vergezac, France

Re: NML tutorial buggy?

Post by MagicBuzz »

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 46 guests