Crashing on cloning a pillar
Posted: Tue May 13, 2003 1:08 pm
George, I'm trying to clone a pillar to make an animated fountain. I'm having to guess at the syntax as there's no example of this. Can you tell me what's wrong with this code, because RTC just bombs out with a diagnostic file. For the sake of this sample I haven't yet created the scaled images for each view so I'm using the same standard animation for each one. I wouldn't have thought that would cause a problem (although abviously the images will be too big in the distance).
Am I right in assuming the ICON: parameter for flooritems or things such as monsters is the graphic to be used on the Magic Map?
Code: Select all
[New - Bitmaps]
ADD BITMAP_FOUNTAIN_1 FILE=(samples\mixed\fountain_1.bmp) SIZE=(272,194) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE)
ADD BITMAP_FOUNTAIN_2 FILE=(samples\mixed\fountain_2.bmp) SIZE=(272,194) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE)
ADD BITMAP_FOUNTAIN_3 FILE=(samples\mixed\fountain_3.bmp) SIZE=(272,194) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE)
ADD BITMAP_FOUNTAIN_4 FILE=(samples\mixed\fountain_4.bmp) SIZE=(272,194) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE)
ADD BITMAP_ICON_FOUNTAINNEW FILE=(samples\mixed\fountain_icon.bmp) SIZE=(14,14) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE)
[New - Animations]
ADD ANIM_FOUNTAIN BITMAPS=(BITMAP_FOUNTAIN_1,BITMAP_FOUNTAIN_2,BITMAP_FOUNTAIN_3,BITMAP_FOUNTAIN_4) DELAYS=(BITMAP:3,LOOP:0)
[New - Objects]
ADD FLOORITEM_FOUNTAIN CLONES=(FLOORITEM_PILLAR) NAME=(FOUNTAIN) BITMAPS=(ICON:BITMAP_ICON_FOUNTAINNEW,FRONT0:ANIM_FOUNTAIN,FRONT1:ANIM_FOUNTAIN,FRONT2:ANIM_FOUNTAIN,FRONT3:ANIM_FOUNTAIN,SIDE0:ANIM_FOUNTAIN,SIDE1:ANIM_FOUNTAIN,SIDE2:ANIM_FOUNTAIN,SIDE3:ANIM_FOUNTAIN)