Jump to content

script error


Recommended Posts

Hey everyone. My map seems to suffer from a script error when I load it with GZDoom 4.8.0, and I'm not sure what to do. The script goes as follows: 

 

Script error, "Cryptic.wad:ANIMDEFS" line 24:
Unknown texture WFALL4

 

When I test the map in UDB, it gives me this message:

Script error, "Cryptic.wad:ANIMDEFS" line 41:
Unknown texture COMP04

 

Here is the map

 

I would be very grateful if someone were to give me some assistance. Thanks!

Share this post


Link to post

About WFALL* I couldn't find anywhere the texture except for 2 WFALL1, so I'd say that's the issue.

Not sure about COMP04

Share this post


Link to post
2 hours ago, Silent Wolf said:

Hey everyone. My map seems to suffer from a script error when I load it with GZDoom 4.8.0, and I'm not sure what to do. The script goes as follows: 

 

Script error, "Cryptic.wad:ANIMDEFS" line 24:
Unknown texture WFALL4

 

When I test the map in UDB, it gives me this message:

Script error, "Cryptic.wad:ANIMDEFS" line 41:
Unknown texture COMP04

 

Here is the map

 

I would be very grateful if someone were to give me some assistance. Thanks!

 

It often gives me this WFALL4 error when I have inadvertently messed up something in the PATCHES or TEXTURE lumps. Deleting the lumps and remaking them from scratch usually solves the issue.

Share this post


Link to post

Sorry for the late reply everyone. My country is currently undergoing an energy crisis, which means there are frequent blackouts every day( if you don't believe me, look up "Eskom load shedding"). I've added the WFALL4texture to my map as @Kan3 said, though I still get the comp04 error. Do I follow thelokk's advice here, or is there another way?

Share this post


Link to post
2 hours ago, Silent Wolf said:

Sorry for the late reply everyone. My country is currently undergoing an energy crisis, which means there are frequent blackouts every day( if you don't believe me, look up "Eskom load shedding"). I've added the WFALL4texture to my map as @Kan3 said, though I still get the comp04 error. Do I follow thelokk's advice here, or is there another way?

Don't worry mate! 

Since simply adding the "missing" WFALL solved the first issue, I'd try to locate the COMP01 to 04 textures and see if something went wrong with the name patches or something (I couldn't find any of the COMPs textures, so I guess they have a different "real" name in the wad that has been changed via patches or something).
If this gives no results, then yes, follow @Thelokk's, who's more skilled than me with those lumps 

Share this post


Link to post
1 hour ago, Kan3 said:

(I couldn't find any of the COMPs textures, so I guess they have a different "real" name in the wad that has been changed via patches or something).

I haven't touched the COMP textures, so I don't really know what to do here. If I follow Thelokk's advice, do I delete everything, i.e. every lump?

Share this post


Link to post
1 hour ago, Silent Wolf said:

I haven't touched the COMP textures, so I don't really know what to do here. If I follow Thelokk's advice, do I delete everything, i.e. every lump?

I see, then the issue might be that they do not really "exist".
I've opened up Doom2.wad and I can see that it only has COMP01, the rest have "different name format", so we got COMP04_1, _2 etc. and no COMP04.

Are you using a custom texture pack in your wad? Cause I don't really know to what textures are you referring now x) 

Share this post


Link to post
1 minute ago, Kan3 said:

Are you using a custom texture pack in your wad? Cause I don't really know to what textures are you referring now x) 

Yes, I'm using 32 in 24-15. Sorry that I forgot to mention that.

Share this post


Link to post
On 7/2/2022 at 3:49 PM, Silent Wolf said:

Script error, "Cryptic.wad:ANIMDEFS" line 24:
Unknown texture WFALL4

The texture "WFALL4" is not present in either the wad file or TEXTURE1, add it and then test the map, if GZDoom mentions the textures WFALL1-3 then also add them.
 

On 7/2/2022 at 3:49 PM, Silent Wolf said:

When I test the map in UDB, it gives me this message:

Script error, "Cryptic.wad:ANIMDEFS" line 41:
Unknown texture COMP04

From the name of the texture I think this is an animated computer panel texture, I couldn't find it nor other textures that have "COMP" in their name.


I fixed the map, added WFALL2 and 3, removed a slightly old duplicate of ANIMDEFS, played the map with GZDoom and it works fine: Cryptic-Edited.rar (fixed version)

Share this post


Link to post

Script error, "Cryptic.wad:ANIMDEFS" line 24:
Unknown texture WFALL4

 

Script error, "Cryptic.wad:ANIMDEFS" line 41:
Unknown texture COMP04

 

Where did you get the two ANIMDEFS lumps from?

Neither DOOM2 or the texture pack have an ANIMDEFS lump, although the tp has an ANIMATED lump.

Edited by DOOM mapping enthusiast

Share this post


Link to post
2 hours ago, DOOM mapping enthusiast said:

Script error, "Cryptic.wad:ANIMDEFS" line 41:
Unknown texture COMP04

I got it from 32 in 24-15. I think I renamed the texture 1 and switches to ANIMDEF and ANIMDEF, respectfully. I had to as the CP would only accept it as such

 

EDIT: I managed to get it working by deleting the unnecessary ANIMDEFS, but the one small door doesn't seem to work once I've pressed the switch. I don't know what to do here. My only other option is to download Hitboi's fixed version, though I'd like to see what went wrong for myself.

Edited by Silent Wolf

Share this post


Link to post

I deleted both ANIMDEFS and MAPINFO.

Remember that when linedef specials are directly attached to a door's sidedef, that those sidedefs must point outward.

 

I must admit that I enjoyed playing your pwad even though it is a bit boxy (too many 90° corners).

You made it really tough by havng the red and blue key appear only in hard difficulty.

 

Which small door do you refer to?

Share this post


Link to post
6 hours ago, DOOM mapping enthusiast said:

I deleted both ANIMDEFS and MAPINFO.

Remember that when linedef specials are directly attached to a door's sidedef, that those sidedefs must point outward.

I deleted the MAPINFO lump and it seems to work now. Thanks for the help!

7 hours ago, DOOM mapping enthusiast said:

I must admit that I enjoyed playing your pwad even though it is a bit boxy (too many 90° corners).

I'm glad to hear that. I'm working on making my next map a lot less boxy :)

7 hours ago, DOOM mapping enthusiast said:

You made it really tough by havng the red and blue key appear only in hard difficulty.

I've updated the map. Thanks for pointing that out.

7 hours ago, DOOM mapping enthusiast said:

Which small door do you refer to?

I was referring to the small door that leads to the area with the evil eye where you have to press two switches to open an ambush and an additional switch to open the door leading into that area. It's fixed now so don't worry about that. Thanks again :D!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...