OmegaCyberdemon Posted February 7 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 0 Share this post Link to post
0 Mad Dal 85 Posted February 7 I'm having the same trouble mate. I was really hoping to use this item in my mod too. 0 Share this post Link to post
0 jaeden Posted February 7 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. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 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 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 Done it, but now I am getting this. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 Not understanding what is on that link. I am still new to all this zscript stuff. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 I do not know what is wrong with it now. 0 Share this post Link to post
0 Mad Dal 85 Posted February 7 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. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 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. 0 Share this post Link to post
0 jaeden Posted February 7 The version number needs to be in the main zscript file (zscript.txt or something different extension), that might be the problem. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 i did that, but i still get the errors. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 I tried all sorts of numbers. "2.4" "3.3" "4.10" and many more. Still errors on every one of them. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 Something about "Expecting end of file or 'include' or 'extend' or 'class' or 'mixin' or 'struct' or 'const' or enum'." Whatever they are. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 I put it in my main zscript file and i get loads of errors. i put it in the blood amulet's zscript file and i only get one error. 0 Share this post Link to post
0 OmegaCyberdemon Posted February 7 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. 0 Share this post Link to post
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
Share this post
Link to post