Server Help

LVZ/LVL Questions - Now it works, but....

k0zy - Mon May 05, 2003 12:34 pm
Post subject: Now it works, but....
Same ini, same files as the last thread...

Quote:

-------Original INI-------
OutFile=fly.lvz

File=fly.bmp

[objectimages]
IMAGE0=fly.bmp

[mapobjects]
8017,6626,IMAGE0,AfterTiles

Quote:

-------DeBuildLevel INI-------
; This file was created by DeBuildLevel, version 0.02, created Mar 16 2003 15:32:05

Outfile=fly.lvz

File=fly.bmp
; Compression Info: FullSize: 82110 Compressed Size: 36548 Compression Percent: 55.5%

; Object Information Compression Info:
; FullSize: 36 Compressed Size: 37 Compression Percent: 11930464708.3%

[objectimages]
IMAGE0=fly.bmp,1,1,100

[mapobjects]
501,414,IMAGE0,AfterTiles,ShowAlways,0,0

; Bytes Saved in Compression: 45,561
; File Compression Percent: 55.5%


It's not BuildLevel's fault, cuz the lvz works in continuum (finally icon_wink.gif )
So, i guess DeBuildLevel is doing something wrong... icon_smile.gif

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Sergio - Mon May 05, 2003 9:58 pm
Post subject:
Interesting. Have you tried to recompile the decompiled ini and decompile the last one (that's sound confusing. Read it about three times and you'll get it)?
It's interesting that:

501 * 16 = 8016 (almost 8017)
414 * 16 = 6624 (almost 6626)

I once read about a program that multiplies all values form an ini lvz file by 16...

Very interesting. I want to know the result of that! (-;
Mine GO BOOM - Mon May 05, 2003 11:25 pm
Post subject:
Good old stupid me. Even though i warned in the lvzFormat.txt that the MapObject and ScreenObj's X/Y coords use different bits for each, i never updated my DeBuildLevel for it. Fixed now.

Not bothering to make yet another post about it on the main site, since this will be like the 4th time its been "fixed" for different things.
k0zy - Tue May 06, 2003 4:48 am
Post subject:
I should be beta-tester icon_wink.gif

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Mine GO BOOM - Tue May 06, 2003 5:39 pm
Post subject:
I actually had it working fine before, but when i went to clean up the code, I didn't fix the copy/pasting of cleaned code for the CLV2's screen object to the map object handler.
k0zy - Wed May 07, 2003 1:14 pm
Post subject:
yes... and therefor i should be beta tester... icon_wink.gif

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
The Sharkie - Sun Jun 29, 2003 4:14 pm
Post subject:
I have my .lvz file. i'd like the picture to go right in the middle of the map. can someone tell me what x,y i have to put in the get the picture smack bang in the middle?
Smong - Sun Jun 29, 2003 5:14 pm
Post subject:
tile = 16px
map = 1024 square

x = (16*1024-imagewidth)/2
y = (16*1024-imageheight)/2
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group