TWLan Forum
Buildings - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Fragen & Probleme (https://twlan.org/forumdisplay.php?fid=7)
+----- Thread: Buildings (/showthread.php?tid=4458)



Buildings - ThePaparranas - 27.06.2011

How can I change the position of the Buildings?
For example, moving the Main Building from the right to the left.


RE: Buildings - ThePaparranas - 27.06.2011

I just find out that Ican move the image from the building through the stamm.css.
And I know that I can move the link of the building throught the buildings.php on the include file...
But I don't know how to manage the Graphic Coords :/




RE: Buildings - Molt - 27.06.2011

Which graphic coords?
You moved the image, you moved the link, what's left?


RE: Buildings - ThePaparranas - 27.06.2011

No, I only moved the image, not the link


RE: Buildings - Molt - 27.06.2011

htdocs/include/configs/buildings.php:
PHP Code:
$cl_builds->set_graphicCoords("x,y, x,y, x,y, x,y, x,y, ..."); 
x and y in pixels, the left upper corner of the overview is 0/0 Wink
For more information, see here.


RE: Buildings - ThePaparranas - 28.06.2011

Sorry, but I tryed to do like that web page says, but I failed..

Is there any away you can help me?

[Image: semttulonxy.png]

This is my Buildings position, can you tell me their coordinates?
If you can't find the exact values, it doesn't matter.