I want to do something like Hexen weapons, that only one playerclass can pickup a weapon who other classes shouldn't be able to pickup. (f.e. fighter is the only one who can pickup the axe)
i would like to create an own class for doom, but the problem is that each playerclass can pickup each weapon (i don't want to use mage, cleric or fighter, only own classes)
is there a way to specify which weapon can be picked up by which playerclass?
Pickup weapons depending on class
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Pickup weapons depending on class
Not easily, no.
If you only want to add three classes, inherit them from the hexen ones anyway and name them what you like. Inherit their specific weapons from the Hexen base weapons for each class.
Otherwise, you're in for a lot of CustomInventory "hacks" and their associated headaches.
If you only want to add three classes, inherit them from the hexen ones anyway and name them what you like. Inherit their specific weapons from the Hexen base weapons for each class.
Otherwise, you're in for a lot of CustomInventory "hacks" and their associated headaches.
Re: Pickup weapons depending on class
Is there an example for this custominventory alternate where I can look at?
Because i don't understand it right now.
Because i don't understand it right now.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Pickup weapons depending on class
I found this thread pretty quickly, so I hope it helps: http://forum.zdoom.org/viewtopic.php?p=476370#p476370
Re: Pickup weapons depending on class
it really helped to figure out, thank you very much!