So, I wanted to add some grenades to my project as a weapon / quick throw (via dedicated key,) and was lucky to find something pretty reasonable here. It works great as a quick throw, but I cannot, for the life of me, get it to work as a normal weapon as well.
Currently, it's set to weapon slot 8, but it doesn't allow me to access or scroll across this slot. It also doesn't allow me to even add it via DoomBuilder, even when I add editor numbers (I currently have none set because it was giving me an error message when I do.)
I'm also unsure of how to modify the Z-Script to not give the player grenades at the beginning of play, as this is the first time I've worked with Z-Script specifically. Below I have linked to the file I have modified a little bit. Any help in this matter would be GREATLY appreciated, thanks! :)
Question
[name_withheld]
So, I wanted to add some grenades to my project as a weapon / quick throw (via dedicated key,) and was lucky to find something pretty reasonable here. It works great as a quick throw, but I cannot, for the life of me, get it to work as a normal weapon as well.
Edited by [name_withheld]Currently, it's set to weapon slot 8, but it doesn't allow me to access or scroll across this slot. It also doesn't allow me to even add it via DoomBuilder, even when I add editor numbers (I currently have none set because it was giving me an error message when I do.)
I'm also unsure of how to modify the Z-Script to not give the player grenades at the beginning of play, as this is the first time I've worked with Z-Script specifically. Below I have linked to the file I have modified a little bit. Any help in this matter would be GREATLY appreciated, thanks! :)
Link to My Piss-Poor Scripting
Added link
Share this post
Link to post
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.