LVZ/LVL Questions - Help with INI Anonymous - Thu Feb 08, 2007 7:51 am Post subject: Help with INI
If my image is 1465x736 and the coords I wanna put it is 462,515 what do I write in the ini file under [mapobjects] ?
Cyan~Fire - Thu Feb 08, 2007 10:36 am Post subject:
Ummm, you'd put it at 462,515. Unless you mean you want to center it at 462,515 (which wouldn't make any sense), in which case you'd just subtract half the width and height from the x and y coordinates, respectively.
Samapico - Thu Feb 08, 2007 7:35 pm Post subject:
coordinates are in pixels
so you have to put it at 462*16, 515*16 (each tile is 16 pixels X 16 pixels)
The coord you put is always the top-left corner of the image, so as cyan fire said, if you want it centered on 462,515 , you'd set coordinates to like... 462*16 - imagewidth/2 , 515*16 - imageheight/2
I'm too lazy to start calculator, i'll leave you the rest of the work Muskrat - Thu Feb 08, 2007 8:18 pm Post subject:
so to answer what he was really asking
7392,8240,IMAGE0,AfterBackground,ShowAlways,0,0
(assuming you have IMAGE0=filename.bmp,1,1,100 under [objectimages] and the file included correctly.)
Cyan~Fire - Fri Feb 09, 2007 12:50 am Post subject:
Oh, sorry, I misread it. I thought you said screenobjects. My apologies. hellzlaker - Fri Feb 09, 2007 7:19 pm Post subject:
i used to do that but trust me CLT is much beter its like making maps with paint
Samapico - Fri Feb 09, 2007 8:04 pm Post subject:
and DCME will be like making them with Photoshop
... couldn't resist
Indeed CLT works very well for lvz... DCME will have lvz support soon too, might want to take a look at it as well