Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: Hexen - Custom Player Class weapons switch to Hammer of Retibution when mana runs out.

$
0
0
The way Hexen weapons are set up is that each class-specific weapon is forbidden to the other two classes (e.g. cleric's weapons are forbidden to fighters and mages). Being a custom player class, yours is exempt from any of these restrictions, and thus can receive and use all of the classes' weapons.

Since you apparently want your class to use the Cleric's weapons, you could try subclassing it from ClericPlayer instead of PlayerPawn. Provided that the inventory restriction mechanism takes inheritance into account, it should solve your problem by making other weapons inaccessible to your player class.

Statistics: Posted by Player701 — Wed Mar 26, 2025 5:49 am



Viewing all articles
Browse latest Browse all 3391

Trending Articles