News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Trying to remake a road to an elevated road

Started by danivenk, April 12, 2017, 08:41:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

danivenk

I am trying to make elevated roads out of the SIS Project roads that do not have one yet.
But constantly I'm coming across the problem that the wrong pictures show op in simutrans when I've compiled it.
Can somebody help me?

The icon works, but the cursor and the way on it's own won't work right T=T

Link to the files I've used
pakset: pak128
simutrans version: 120.2.1 (stable release)
addon type: way
makeobj version: 60.0

gauthier

You are compiling for pak128 but using images with 256*256 base grid: each part of the object is actually in the middle of a 256*256 square but makeobj is taking 128*128 squares so you get halves of the wrong images. You have to remake your images and place the parts on a 128*128 grid.

danivenk

Would you know how to easily do that?
Because the ways themselves are the right size, but moving them all is a hell of a work.

TurfIt

If the images all need the same correction applied, automating the fix with a simple script in ImageMagick should be easy enough...

danivenk

This topic has been solved, there is no more need to react to this topic.
I'd like to thank @gauthier and @TurfIt for their input.

[SOLVED]