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

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

Something about "Expecting end of file or 'include' or 'extend' or 'class' or 'mixin' or 'struct' or 'const' or enum'." Whatever they are.

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

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
×