NoNameIdeas784 Posted February 22, 2023 I got my baron of hell player custom class and i dont want it to be able to grab any weapons how do i do ? also i want it to be able to grab medikits above 100 health the class has 1000 hp 0 Quote Share this post Link to post
Mordeth Posted February 22, 2023 Next time, please post more coherently and in the right forums. 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 (edited) but im in the good subforum ? i tried in "doom general" and "wads and mods" and i got told i gotta be here where am i supposed to go then to get help for a wad Edited February 22, 2023 by NoNameIdeas784 forgot word 0 Quote Share this post Link to post
Silhouette 03 Posted February 22, 2023 6 minutes ago, NoNameIdeas784 said: i tried in "doom general" and "wads and mods" and i got told i gotta be here where am i supposed to go then to get help for a wad Mordeth is just saying that you should have posted here in the first place and they had to get rid of the threads that you made in the wrong subforum. Stupid bunny told you you had to post here, but you posted in wads and mods instead. And don't worry about being new here and making mistakes. A lot of people post in the wrong subforum at first :) 2 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 oh right, sorry for misunderstanding 1 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 so uh, back to the question, how do i setup these 2 questions to my baron of hell class ? 0 Quote Share this post Link to post
Scypek2 Posted February 22, 2023 I'm not sure if default weapons can be made impossible to pick up, but you could replace them with custom weapons with a "Inventory.ForbiddenTo" property and the "INVENTORY.RESTRICTABSOLUTELY" flag. Medikits have no default max amount, and should heal your custom player class to whatever their health is... soulspheres and such may need to be modified, though. Make sure to consult the Zdoom wiki's DECORATE reference if you aren't already, lots of useful stuff there. Good luck with your project! 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 6 minutes ago, Scypek2 said: I'm not sure if default weapons can be made impossible to pick up, but you could replace them with custom weapons with a "Inventory.ForbiddenTo" property and the "INVENTORY.RESTRICTABSOLUTELY" flag. Medikits have no default max amount, and should heal your custom player class to whatever their health is... soulspheres and such may need to be modified, though. Make sure to consult the Zdoom wiki's DECORATE reference if you aren't already, lots of useful stuff there. Good luck with your project! the medikits and stimpacks dont wanna be picked up above 100 hp 0 Quote Share this post Link to post
Scypek2 Posted February 22, 2023 That's weird. Can you show your custom actor definition? 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 i give class all weapons to avoid autoswitch when picking up one and switching to another there 0 Quote Share this post Link to post
JustAthel Posted February 22, 2023 Autoswitch can be turned off in player settings. Any way you could give us the actual DECORATE lump and not just a screenshot of it? You can upload the text file somewhere such as google drive and allow us to download it. 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 22, 2023 2 minutes ago, JustAthel said: Autoswitch can be turned off in player settings. Any way you could give us the actual DECORATE lump and not just a screenshot of it? You can upload the text file somewhere such as google drive and allow us to download it. https://drive.google.com/file/d/1TXfXLtTdJ4PA0uNizz083OoImGt57lhl/view?usp=share_link there you go the only problem now is how do i make the class heal itself above 100 hp 0 Quote Share this post Link to post
magicsofa Posted February 22, 2023 (edited) You need to set MaxHealth as well: Quote Player.MaxHealth value Default is 100. The maximum health reachable by using normal health items. Edited February 22, 2023 by magicsofa 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 23, 2023 (edited) alright, thanks i still got more and more questions for the wad im making so do i open a new thread or ask them all here Edited February 23, 2023 by NoNameIdeas784 1 Quote Share this post Link to post
NoNameIdeas784 Posted February 23, 2023 (edited) 14 hours ago, Scypek2 said: I'm not sure if default weapons can be made impossible to pick up, but you could replace them with custom weapons with a "Inventory.ForbiddenTo" property and the "INVENTORY.RESTRICTABSOLUTELY" flag. Medikits have no default max amount, and should heal your custom player class to whatever their health is... soulspheres and such may need to be modified, though. Make sure to consult the Zdoom wiki's DECORATE reference if you aren't already, lots of useful stuff there. Good luck with your project! i tried for inventory and i got "INVENTORY.RESTRICTABSOLUTELY is an unkown flag" error Edited February 23, 2023 by NoNameIdeas784 0 Quote Share this post Link to post
Redneckerz Posted February 23, 2023 2 hours ago, NoNameIdeas784 said: alright, thanks i still got more and more questions for the wad im making so do i open a new thread or ask them all here You ask them here if they are related to classes. Else this thread should be renamed to a generic thread. You also do not have to respond with Ok. When you have your example ready, reply with ''Ok, here is my example''. 0 Quote Share this post Link to post
JustAthel Posted February 23, 2023 8 hours ago, NoNameIdeas784 said: i tried for inventory and i got "INVENTORY.RESTRICTABSOLUTELY is an unkown flag" error What version of ZDoom are you using? 0 Quote Share this post Link to post
NoNameIdeas784 Posted February 23, 2023 t 25 minutes ago, JustAthel said: What version of ZDoom are you using? the lastest release of GZDOOM (4.10.0) 0 Quote Share this post Link to post
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.