Posted by Dylan on October 20, 1998 at 18:45:23:
In Reply to: Re: solved! posted by JM on October 20, 1998 at 18:03:30:
: : : : I am working on a level with several crates stacked around in different areas. I am using an open crate 3DO that I created. When testing in JK, certain crates "disappear" when I go into the box and come back out.
: : : : Any idea why this happens or how I can fix it?
: : : : E-mail me if you need the JKL and 3DO.
: : : I just replaced my 3DO with the template crate4_6, and the level did the exact same thing.
: : : It's not the custom 3D0, so I'm pretty much stuck on this one...
:
: : I timed this several times while staring straight at one of the crates that disappears. The crates disappear after about 24-25 seconds. I checked the JKL templates, and the crates that disappear (18crate3x3_2, 18crate3x3_1, 18crate2x2) all have this variable set in their templates. . .
: : Sorry for all the difficulty. Thanks for everyone's help. :-}
: And this variable would be???? We'd all like to know what the heck makes them go dissie...
It's a variable called "timer" in the templates (templates section in JKL file).
I looked in Jed's master.tpl. I believe "timer" is used to remove object (explosions, lasers, debris, smoke, etc.) from the game after a certain period of time.
For some reason, "timer" is set to about 25 seconds in these templates:
18crate3x3_1, 18crate3x3_2, 18crate2x2
So, these crates, which I used in the level, disappeared while testing.
Check the templates for the objects you are using (in your JKL file) for this variable. I don't know if this is the cause of all "disappearing object" problems, but it's what caused mine.