Problem with length new wagons
Moderator: Graphics Moderators
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Problem with length new wagons
Hey everyone. I'm making a new graphics to OTTD and I have a problem with long wagons. If I have wagon with length +- 32px, it is OK - I'll set "shortering level" to 00 and all is OK. If I have shorter wagon I'll set shortering level to 01 02 ... But what if I have longer wagon? I have wagon with length 51px and there is a problem that two wagons are overlap. What can I do with this problem? In our Czech railroad set we have wagons with same length so there must be a way how to program it. Thanks
Re: Problem with length new wagons
You need articulated vehicle with invisible second part.
NML example here:
http://dev.openttdcoop.org/projects/pkp ... hpumn.pnml
There are some bridge clipping issues though.
NML example here:
http://dev.openttdcoop.org/projects/pkp ... hpumn.pnml
There are some bridge clipping issues though.
Formerly known as: McZapkie
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
Projects: Reproducible Map Generation patch, NewGRFs: Manpower industries, PolTrams, Polroad, 600mm narrow gauge, wired, ECS industry extension, V4 CEE train set, HotHut.
Another favorite games: freeciv longturn, OHOL/2HOL.
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Re: Problem with length new wagons
This is quite hard-level for me I'm not so good in program and only what can I do is rewriting nfo files. So this is the end for me
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Problem with length new wagons
Going beyond the 32px wagon or vehicle length is always tricky and bound to glitches, but NML could make it easier for you than NFOstefino_cz wrote:This is quite hard-level for me I'm not so good in program and only what can I do is rewriting nfo files. So this is the end for me
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- stefino_cz
- Transport Coordinator
- Posts: 268
- Joined: 02 Jul 2015 08:05
- Location: Czech Republic
- Contact:
Re: Problem with length new wagons
Okay okay. I read some information about NML and in my case - if I'll set legth at "8" in NML, it will be OK? And second guestion - are there any tutorials how to make a new vehicle with NML file? I dont know what programs I have to use for program NML file, how the sprites has to look, what program I have to use to convert this all parts into the one file what can I put into the game - if it is the same principle like NFO, where I use grfcodec to make .grf from .nfo and .pcx.
Re: Problem with length new wagons
NML tutorial, it does make new vehicles in various forms
http://www.tt-wiki.net/wiki/NMLTutorial
http://www.tt-wiki.net/wiki/NMLTutorial
Being a retired OpenTTD developer does not mean I know what I am doing.
Who is online
Users browsing this forum: No registered users and 24 guests