We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The air_drag_coefficient property of trains and road vehicles has some magic values:
air_drag_coefficient
Currently NML applies unit conversion to this value, so to get no air drag you have to set "1/255", while "0" does something entirely different.
The text was updated successfully, but these errors were encountered:
nitpick: Most NML constants have the 'enum name' first, so these should probably be AIR_DRAG_DEFAULT and AIR_DRAG_NONE or similar.
AIR_DRAG_DEFAULT
AIR_DRAG_NONE
Sorry, something went wrong.
We should also ensure that the unit conversion handles this properly -- i.e. generate 1 for zero and 2 for other values below 2/255.
EDIT: of course, that would break grfs using 1/255 as the workaround you mentioned... might need a warning.
1/255
No branches or pull requests
The
air_drag_coefficient
property of trains and road vehicles has some magic values:Currently NML applies unit conversion to this value, so to get no air drag you have to set "1/255", while "0" does something entirely different.
The text was updated successfully, but these errors were encountered: