shyguy
12-26-2005, 03:12 AM
I think I've found a glitch in jonwil's editor when using references. Each time you create an object that you want to reference to another's texture map, be sure there's not a file already loaded in the reference "queue."
What happened was I created "object 1" and loaded its texture. Then, I created objects 2 through 8, each using the same texture as object 1. So, each time I created the subsequent objects, I added the file name of object 1 into the reference queue. Every time I created a new object, the reference queue appeared empty, and I added the file name again. Towards the end of this marathon object creating session, I made a typo and needed to delete the file name from the reference queue. When I did that, the original file name appeared about 8 times. In other words, I was re-adding the same file over and over again, I just couldn't see each instance.
I didn't know if this was anything to worry about, so I just finished up and installed the set. It wasn't until later that I was fooling around with the set in the game that I started to have major crashing problems. Just placing "object 1" into an empty park in the scenery editor would cause a crash to desktop. I tried over and over again. A couple other items did the same thing. Then I realized it was the referenced items that seemed to be the culprit.
I went back and "un-referenced" objects 2 through 8 and the crashes stopped. So I'm pretty sure this was the problem. So just be careful you don't have multiple files loaded. The same goes for texture files. Once you load a texture file, it stays loaded, even if you don't see it in the "texture queue".
I'm not 100% sure this is causing the crash problems, but I thought I'd post this, just in case anyone else is having mysterious crashes after using the reference system. I'll experiment some more and let you know if I find out. Who knows? I could be way off track here. :bulb:
What happened was I created "object 1" and loaded its texture. Then, I created objects 2 through 8, each using the same texture as object 1. So, each time I created the subsequent objects, I added the file name of object 1 into the reference queue. Every time I created a new object, the reference queue appeared empty, and I added the file name again. Towards the end of this marathon object creating session, I made a typo and needed to delete the file name from the reference queue. When I did that, the original file name appeared about 8 times. In other words, I was re-adding the same file over and over again, I just couldn't see each instance.
I didn't know if this was anything to worry about, so I just finished up and installed the set. It wasn't until later that I was fooling around with the set in the game that I started to have major crashing problems. Just placing "object 1" into an empty park in the scenery editor would cause a crash to desktop. I tried over and over again. A couple other items did the same thing. Then I realized it was the referenced items that seemed to be the culprit.
I went back and "un-referenced" objects 2 through 8 and the crashes stopped. So I'm pretty sure this was the problem. So just be careful you don't have multiple files loaded. The same goes for texture files. Once you load a texture file, it stays loaded, even if you don't see it in the "texture queue".
I'm not 100% sure this is causing the crash problems, but I thought I'd post this, just in case anyone else is having mysterious crashes after using the reference system. I'll experiment some more and let you know if I find out. Who knows? I could be way off track here. :bulb: