Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ZeroHour

Script Error

Recommended Posts

I'm new to doom. There's this script error and I have no Idea how to fix it.

 

Script error, "(wadname).wad:DECORATE" line (numbers):
Script error, "(wadname).wad:DECORATE" line (numbers):
Tried to define class 'Clip' more than twice in the same file.

 

Share this post


Link to post

Instead of naming the actor as Clip, name it to Clip2/Clip1/GunClip/etc. I can't say for sure, I'm only speculating here. You should post up the the decorate file if you want an definite answer.

Share this post


Link to post

Are you trying to load a mod with a wad that already has its own modding? Not everything is compatible.

 

For example, if a wad has modified monsters and you load Brutal Doom with it, things will probably get fucked up.

Share this post


Link to post
8 hours ago, ZeroHour said:

I'm new to doom. There's this script error and I have no Idea how to fix it.

What all are you loading?

Share this post


Link to post
17 hours ago, Voros said:

Instead of naming the actor as Clip, name it to Clip2/Clip1/GunClip/etc. I can't say for sure, I'm only speculating here. You should post up the the decorate file if you want an definite answer.

How do I rename it?

Share this post


Link to post

Example

ACTOR Clip : Shotgun
{
// your code
}


Becomes

ACTOR Clip2 : Shotgun
{
// your code
}

Share this post


Link to post
42 minutes ago, Voros said:

Example


ACTOR Clip : Shotgun
{
// your code
}


Becomes


ACTOR Clip2 : Shotgun
{
// your code
}

 

How do I do that? Do I need some kind of program to rename it?

Share this post


Link to post
5 hours ago, Voros said:

Example


ACTOR Clip : Shotgun
{
// your code
}


Becomes


ACTOR Clip2 : Shotgun
{
// your code
}

 

I got it. But now there's this error:

 

Script error, "(wadname).wad:DECORATE" line (numbers):
Expected ',', got 'l'.

 

How do I fix it?
 

Share this post


Link to post

Please copy paste the whole decorate file here. People can't help you with such vague reportings, unless we can inspect the decorate code outselves.

And what's with the (wadname) and (numbers)? Post the actual name and number please.

Share this post


Link to post
11 hours ago, Voros said:

Please copy paste the whole decorate file here. People can't help you with such vague reportings, unless we can inspect the decorate code outselves.

And what's with the (wadname) and (numbers)? Post the actual name and number please.

Sorry mate. Here's the decorate file. Also here's the download link to the wad.

 

http://www.mediafire.com/file/du1g2w2j15hax70/mall.zip

DECORATE.zip

Share this post


Link to post
On 7/13/2017 at 4:45 AM, ZeroHour said:

How do I do that? Do I need some kind of program to rename it?

SLADE... although you can write many Doom lumps in Notepad.

Share this post


Link to post
On 7/13/2017 at 6:32 AM, ZeroHour said:

I got it. But now there's this error:

 

Script error, "(wadname).wad:DECORATE" line (numbers):
Expected ',', got 'l'.

 

How do I fix it?
 

Having a lump structure as in mall_massacre.wad is unwieldy if you ever have to troubleshoot your map. Especially having 6 DECORATE lumps with numerous actors in each. See Gene-Tech as a perfect example how to structure a map with many resources

 

Spoiler

9leGNA6.png

 

https://zdoom.org/wiki/Using_ZIPs_as_WAD_replacement

 

Edited by Kappes Buur

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×