News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Bars on object's image..

Started by Fuzzy Peach, April 25, 2010, 11:51:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fuzzy Peach

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:
obj=vehicle
name=KX-8010 Passenger Car
copyright=Fuzzy Peach
=intro_month=3
=intro_year=2010
runningcost=150
cost=2500000
weight=20
speed=160
payload=100
freight=Passagiere
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

prissi

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

Fuzzy Peach

Do you know how i would do this in GIMP?

vilvoh

#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

Escala Real...a blog about Simutrans in Spanish...

VS

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!