I tried to create a bunch of \'crates\'. 6 to be exact and I get this error:
CFileBuilder: AddPCKToEXE
I don\'t get it.
Here\'s the full code.
Just replace the stuff for the LOAD IMAGE and DATA statements with 6 actual picture names.
I just wish I knew why this won\'t work...
RESTORE _CrateData
FOR i = 1 TO 6
READ a$
LOAD IMAGE a$ + \"crate.png\", i
NEXT
FOR i = 1 TO 6
MAKE OBJECT CUBE i, 1
TEXTURE OBJECT i, i
NEXT
POSITION OBJECT 1, -2, 0, 0
POSITION OBJECT 2, 0, 0, 0
POSITION OBJECT 3, 2, 0, 0
POSITION OBJECT 4, -2, 2, 0
POSITION OBJECT 5, 0, 2, 0
POSITION OBJECT 6, 2, 2, 0
WHILE ESCAPEKEY()=0
FOR i = 1 TO 6
YROTATE OBJECT i, 2
NEXT
ENDWHILE
END
`DATA SECTION
_CrateData:
DATA \"ArmorBonus\"
DATA \"BigHeal\"
DATA \"Info\"
DATA \"LtngAmmo\"
DATA \"PowerChg\"
DATA \"SmlHeal\"