Skip to main content
Topic: Bars on object's image.. (Read 16576 times) previous topic - next topic

Bars on object's image..

I'm using Makeobj 50 and Pakhelper 3.2. I made the PNG and the DAT files and when i go to make it it works fine. But when i try to use it in game it has a weird effect. It places white lines in front of the picture and the pictures aren't aligned.

Here's the DAT:
Code: [Select]
obj=vehicle
name=KX-8010 P****enger Car
copyright=Fuzzy Peach
=intro_month=3
=intro_year=2010
runningcost=150
cost=2500000
weight=20
speed=160
payload=100
freight=P****agiere
length=8
waytype=track
EmptyImage[S]=KX-8010.0.2
EmptyImage[E]=KX-8010.0.0
EmptyImage[SE]=KX-8010.0.1
EmptyImage[SW]=KX-8010.0.3
EmptyImage[N]=KX-8010.0.2
EmptyImage[W]=KX-8010.0.0
EmptyImage[NW]=KX-8010.0.1
EmptyImage[NE]=KX-8010.0.3

The PAK is attached in the ZIP below.

mod note: subject modified to explain better the content of the thread.
~vilvoh

Re: Problems making a PAK file.

Reply #1
Use a 24 bit PNG not 32 bit PNG solves this. Also the newest moekogj may solve this (not available in binary form).


Re: Problems making a PAK file.

Reply #3
Just cut the original image, create a new one of the same size and then paste the original one into the new one. Finally save it and voila!!

PS: It's not a bug, It's a well known effect in Simutrans, called the bars effect

Re: Problems making a PAK file.

Reply #4
In GIMP, open a png, then in menu layer->transparency->remove alpha channel. Save.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!