Jump to content
  • 0

Blood Amulet


OmegaCyberdemon

Question

Hi.

I am having trouble with the Blood Amulet accepting all the ammo in my Doom mod. It keeps saying all this (Screenshots)

Any help in fixing this issue would be much appreciated.

Thanks

Capture1.PNG

Capture2.PNG

Share this post


Link to post

14 answers to this question

Recommended Posts

  • 0

It uses event handlers, so it needs to state minimal version.

You need to write ZScript version on top of your main ZScript file, like:

version "4.10"

More information could be found on https://zdoom.org/wiki/Object_scopes_and_versions

 

 

Also since you have an event handler, do not forget to "register" it in game info definitions in MAPINFO.

Share this post


Link to post
  • 0

I had the MapInfo stuff in my MapInfo file already.

 

So I have to write "version " then whatever version of GZDoom I am using in the ZScript file? Like: Version 4.11.3

Share this post


Link to post
  • 0
Just now, OmegaCyberdemon said:

I do not know what is wrong with it now. 

I do not know much about ZScript myself so I can't help. I never studied computer science like a lot of modders on here have done.

Share this post


Link to post
  • 0

I just have to hope someone will help me solve this. I have done everything I can think of and I still have no clue what to do or what is wrong with it. 

Blood Amulet on its own works fine but as soon as I put it in my mod, all this error stuff pops up. I just don't understand it. 

Share this post


Link to post
  • 0

The version number needs to be in the main zscript file (zscript.txt or something different extension), that might be the problem.

Share this post


Link to post
  • 0

I put it in my main ZScript file and I get all the errors from the first two screenshots.

I put it in the Blood Amulet's ZScript file and I only the error that is in the second two screenshots. 

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
Answer this question...

×   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...