Author Topic: Trying to remake a road to an elevated road  (Read 423 times)

0 Members and 1 Guest are viewing this topic.

Offline danivenk

Trying to remake a road to an elevated road
« on: April 12, 2017, 08:41:17 PM »
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

Offline gauthier

Re: Trying to remake a road to an elevated road
« Reply #1 on: April 13, 2017, 05:23:40 PM »
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.

Offline danivenk

Re: Trying to remake a road to an elevated road
« Reply #2 on: April 13, 2017, 08:16:18 PM »
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.

Offline TurfIt

Re: Trying to remake a road to an elevated road
« Reply #3 on: April 14, 2017, 12:29:39 AM »
If the images all need the same correction applied, automating the fix with a simple script in ImageMagick should be easy enough...

Offline danivenk

[SOLVED]
« Reply #4 on: April 14, 2017, 07:16:24 PM »
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]