JK and MotS Editing >> Level Editing >> Getting an error when saving my level     (Moderator: Admins) Previous Topic | Next Topic
Page 1 of 1
 Author 
 Post 
Post 13-Dec-2011 01:45        

Not sure under which section this question should go, so I just put it here.

When I save my level's jkl and gob, Zed tells me: "Warning: Can't find file anywhere: 2x3door_4".

Running the consistency checker, it finds no errors, nor missing resources. I've checked my master.tpl and the template is there and refers to a correct, existing 3do.

I did try to use this template as a parent for a new door I made. But when Zed started giving me this error, I took that entry out of my master.tpl and made a new template for the door, that works correctly. At that point, my level would save normally and I didn't get the message for a few days until now. I've done nothing with the template, nor the 3do. I've just been cleaving archi.

I don't get it.

Can this be fixed? My level loads and runs normally, I just can't stand it when Zed gives me error messages.

Could it be in the .ze~ file? What does that file do anyway? What happens when you delete it?
Post 13-Dec-2011 15:52        

Never heard of a .~ze file. I know ZED saves .jed files, and then a .~je file as backup.

As for the missing resource, it almost looks like there is something somewhere exactly named "2x3door_4" and missing the extension.
Do an extra search in the templates. See if the model3d is missing the extension.
Also, do a search in your level for a thing called this and see if the whole template is missing.
And then a search for a material named that, missing the mat extension, a search in the 3DOs to see if they are missing the extensions in their materials hearder, a search for sounds (sector, snds).

Systematically go through everything and if that doesn't help, remove everything associated with it and start a new.

/Edward
Post 14-Dec-2011 00:09        

Edward wrote:
Never heard of a .~ze file. I know ZED saves .jed files, and then a .~je file as backup.


Yeah, I meant .je~ ... silly me, haha. Ah so, that's a backup.

Edward wrote:
As for the missing resource, it almost looks like there is something somewhere exactly named "2x3door_4" and missing the extension.
Do an extra search in the templates. See if the model3d is missing the extension.


I did all that. The template is an original JK template. It refers to an existing 3do, the extension in the template is not missing, nor the 3do, nor its extension.

Edward wrote:
Also, do a search in your level for a thing called this and see if the whole template is missing.


I don't have things with that name, nor templates that use the problem template as a parent. (I took all those out).

My own door is called 'Door_2x3_4.3do'. It looks like it, but it's not the same, so that couldn't be the problem.

Edward wrote:
And then a search for a material named that, missing the mat extension, a search in the 3DOs to see if they are missing the extensions in their materials hearder, a search for sounds (sector, snds).


Okay. I'll try that.

Edward wrote:
Systematically go through everything and if that doesn't help, remove everything associated with it and start a new.


You know what, the easy fix might just be removing the problem template from the master.tpl... I'm not going to use it anyway. It's worth a try.
Post 14-Dec-2011 01:49        

I found the problem.

For some obscure reason, I had a faulty template for the Crossbow (Bowcaster):

It said:

# DESC: Crossbow
# BBOX: -.020392 -.135722 -.016856 .021073 .013215 .015722
+crossbowbolt _weapon thingflags=0x20000001 light=0.500000 model3d=2x3door_4 size=0.005000 movesize=0.005000 soundclass=bow.snd creatething=+lgflash vel=(0.000000/5.000000/0.000000) angvel=(0.000000/0.000000/120.000000) explode=+crossbowhit fleshhit=+crossbowhit damage=60.000000 mindamage=20.000000 damageclass=0x4 typeflags=0x20440d rate=10.000000

So, I changed it to 2x3door_4.3do, but then Zed said it couldn't find the 3do.

So I opened up the master.tpl of one of my other project, and the correct name for the 3do seems to be: bow0.3do (which is the bowcaster bolt).

I haven't screwed around with any of the weapon templates, I just added new templates with the template creator.

I can't even imagine what caused this to change... but in case it's something Zed did, I'm afraid there might be more screw-ups in the master.tpl.

So perhaps I'd better start with a fresh master.tpl and add my custom templates to it. (Is there an easy way to get a fresh master.tpl besides starting a new project?)
Post 14-Dec-2011 02:04        

Look in Jed/Jeddata/master.tpl
This is where the new master.tpl is created/copied from whenever you use the Template Creator. If that one looks odd, or you have your doubts from the very beginning, try to get a fresh copy of JED from the downloads.
Post 14-Dec-2011 02:07        

Thanks Edward!

You've been a great help, as always.
*** Post commands are unavailable for guests. ***