JDS Posted October 27, 2007 Report Posted October 27, 2007 they work when you do it in DCME.. but when you upload to a zone they cease to work and just show the first frame.
Samapico Posted October 27, 2007 Report Posted October 27, 2007 Make sure the animationtime is set correctly
JDS Posted October 27, 2007 Author Report Posted October 27, 2007 it works when i play in dcme and it animates but not in an actual game.. il just edit the lvz to a format to work.
Samapico Posted October 27, 2007 Report Posted October 27, 2007 Don't think it will work because it animates in DCME... the animation shown in DCME does not depend on the animation delay at all... So again, check the animationTime property. Edit -> Lvz manager -> Images, find your image, set animation time and frames correctlyIF that doesnt work, post your .lvz file hereOr debuild it using the lvztoolkit, and check if the value for animation time is correctly set
Drake7707 Posted October 28, 2007 Report Posted October 28, 2007 to make it based on animationTime there would have to be a loop or a timer that checks on regular intervals if any animations have to be updated yet. I don't know for sure, but doing that will slow down stuff if animationTime is small
JDS Posted October 28, 2007 Author Report Posted October 28, 2007 the animation was perfectly set, dcme just saves it as a bad and a little unorganized format.. i fixed it up myself and will soon test Spoiler! --Click here to view-- Outfile=halow.lvz File=levburn.bmp File=deva.gif File=devapumpkin.bmp File=slime.bmp File=door.bmp [mapobjects]8040,8040,IMAGE3,BelowAll,ShowAlways,0,08067,6197,IMAGE4,TopMost,ShowAlways,3,1,508147,6197,IMAGE4,TopMost,ShowAlways,3,1,508227,6197,IMAGE4,TopMost,ShowAlways,3,1,50 [objectimages]IMAGE0=levburn.bmp,4,1,0IMAGE1=lev.bmp,1,1,0IMAGE2=deva.gif,1,1,0IMAGE3=devapumpkin.bmp,1,1,0IMAGE4=door.bmp,3,1,50IMAGE5=slime.bmp,1,1,0 any problems with it now?
Samapico Posted October 28, 2007 Report Posted October 28, 2007 i'd put objectimages before mapobjects... but I don't know if it changes anything IMAGE0=levburn.bmp,4,1,0 4 frames, 0 seconds animation time, that's a problem If the animation time there was different than 0 in DCME, please post the lvz DCME saves here, i'll check out the problem
JDS Posted October 28, 2007 Author Report Posted October 28, 2007 (edited) um, levburn was removed, the file is just in the lvz right now, the only animated one is file=door.bmp this is what dcme gave me when i debuilt it prdy crazy imo Spoiler! --Click here to view--; This file was created by DeBuildLevel, version 0.02, created May 15 2003 19:07:30 Outfile=halow.lvz ; Object Information Compression Info: ; FullSize: 156 Compressed Size: 102 Compression Percent: 34.6% [objectimages] IMAGE0=levburn.bmp,4,1,0 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds IMAGE1=lev.bmp,1,1,0 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds IMAGE2=deva.gif,1,1,0 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds IMAGE3=devapumpkin.bm2,1,1,0 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds IMAGE4=door.bmp,1,1,0 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds [mapobjects] 7175,8897,IMAGE1,AfterBackground,ShowAlways,0,0 7186,8815,IMAGE0,AfterBackground,ShowAlways,0,0 8040,8040,IMAGE3,BelowAll,ShowAlways,0,0 8067,6197,IMAGE4,TopMost,ShowAlways,0,0 8147,6197,IMAGE4,TopMost,ShowAlways,0,0 8227,6197,IMAGE4,TopMost,ShowAlways,0,0 File=levburn.bmp ; Compression Info: FullSize: 120054 Compressed Size: 1334 Compression Percent: 98.9% File=lev.bmp ; Compression Info: FullSize: 2854 Compressed Size: 951 Compression Percent: 66.7% File=deva.gif ; Compression Info: FullSize: 270054 Compressed Size: 31891 Compression Percent: 88.2% File=devapumpkin.bm2 ; Compression Info: FullSize: 270054 Compressed Size: 35552 Compression Percent: 86.8% File=door.bmp ; Compression Info: FullSize: 13270 Compressed Size: 507 Compression Percent: 96.2% ; Bytes Saved in Compression: 606,105 ; File Compression Percent: 89.6% as you can see there is no indication that any file is animated. An also what is this? special to dcme?; Total loop time: 0.000 seconds Frame time: 0.000 seconds i'd put objectimages before mapobjects... but I don't know if it changes anything i dont think it matters considering you have 'file=' as the last thing Edited October 28, 2007 by JDS
Samapico Posted October 28, 2007 Report Posted October 28, 2007 ; Total loop time: 0.000 seconds Frame time: 0.000 seconds This appears in ANY lvz you debuild But yeah, it is saved as 1 frame...Then you don't see the first frame, you just see the whole pic right? Just use the .ini you got there, change the animation values you want, and rebuild it...I'll investigate the issue later Just change like IMAGE4=door.bmp,1,1,0 toIMAGE4=door.bmp,3,1,100
JDS Posted October 29, 2007 Author Report Posted October 29, 2007 (edited) ah your right about the total loop time thing, it does appear in all of them i see the first frame, but it doesnt change to frame to then to frame 3 (thus not animating) IMAGE=door.bmp,3,1,100 3=total frames1= ?100 = animate frame speed what does the 1 = ? {added for compare and contrast - this was my custom lvz debuilt}Spoiler! --Click here to view--; This file was created by DeBuildLevel, version 0.02, created May 15 2003 19:07:30 Outfile=halow.lvz File=levburn.bmp ; Compression Info: FullSize: 120054 Compressed Size: 1334 Compression Percent: 98.9% File=deva.gif ; Compression Info: FullSize: 270054 Compressed Size: 31891 Compression Percent: 88.2% File=devapumpkin.bmp ; Compression Info: FullSize: 270054 Compressed Size: 22190 Compression Percent: 91.8% File=slime.bmp ; Compression Info: FullSize: 48166 Compressed Size: 19075 Compression Percent: 60.4% File=door.bmp ; Compression Info: FullSize: 39466 Compressed Size: 1907 Compression Percent: 95.2% ; Object Information Compression Info: ; FullSize: 152 Compressed Size: 100 Compression Percent: 34.2% [objectimages] IMAGE0=levburn.bmp,4,1,100 ; Total loop time: 1.000 seconds Frame time: 0.250 seconds IMAGE1=lev.bmp,1,1,100 IMAGE2=deva.gif,1,1,100 IMAGE3=devapumpkin.bmp,1,1,100 IMAGE4=door.bmp,3,1,50 ; Total loop time: 0.500 seconds Frame time: 0.167 seconds IMAGE5=slime.bmp,1,1,100 [mapobjects] 8040,8040,IMAGE3,BelowAll,ShowAlways,0,0 8067,6197,IMAGE4,TopMost,ShowAlways,0,1 8147,6197,IMAGE4,TopMost,ShowAlways,0,1 8227,6197,IMAGE4,TopMost,ShowAlways,0,1 ; Bytes Saved in Compression: 671,449 ; File Compression Percent: 89.8% Edited October 29, 2007 by JDS
Samapico Posted October 29, 2007 Report Posted October 29, 2007 3,1,100 means 3 frames horizontally, 1 frame vertically (total frames being 3*1) and 100 hundreths of seconds for the whole loop The one you have there should work... but maybe Frame time: 0.167 seconds is abit too fast, maybe you just cant see them change. You set it to one half of a second for a loop of 3 frames... Try a longer time
JDS Posted October 29, 2007 Author Report Posted October 29, 2007 too fast.. never thought of that, good call
Recommended Posts