Hello once again,
I have been tinkering with item properties for a really, REALLY specific easter egg in a map I am making for a shitpost WAD. I thought about using these "class 1-5" flags, however when I actually tried to test with those flags they didn't seem to actually affect anything. From what I inferred from incredibly vague descriptions (not even for Doom but rather for Heretic) they're SUPPOSED to appear to the player class which was tagged as a flag, so I tried untagging all classes to see if it would disappear but that didn't seem to affect anything at all; in fact it still appears even without these classes being tagged. How do these class flags work? Do I have to do something in general to make it work? Am I just dumb and forgot to actually define my player classes to allow this to actually work? Moreover, did I just forget to actually look further into the ZDoom Wiki?
Class 1-5 Flags
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
-
- Posts: 3
- Joined: Tue May 09, 2023 6:03 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 10
- Graphics Processor: Intel (Modern GZDoom)
Class 1-5 Flags
You do not have the required permissions to view the files attached to this post.
-
- Posts: 44
- Joined: Mon Aug 01, 2022 11:52 am
Re: Class 1-5 Flags
You have to set the Player.SpawnClass property on your classes otherwise it won't work.RandomStorageForMem wrote: ↑Wed Jun 21, 2023 8:20 am Hello once again,
I have been tinkering with item properties for a really, REALLY specific easter egg in a map I am making for a shitpost WAD. I thought about using these "class 1-5" flags, however when I actually tried to test with those flags they didn't seem to actually affect anything. From what I inferred from incredibly vague descriptions (not even for Doom but rather for Heretic) they're SUPPOSED to appear to the player class which was tagged as a flag, so I tried untagging all classes to see if it would disappear but that didn't seem to affect anything at all; in fact it still appears even without these classes being tagged. How do these class flags work? Do I have to do something in general to make it work? Am I just dumb and forgot to actually define my player classes to allow this to actually work? Moreover, did I just forget to actually look further into the ZDoom Wiki?
https://zdoom.org/wiki/Player_properties wrote: Player.SpawnClass spawnclass
This is the filter for spawning things in a map. The spawnclass can be one of Any, Fighter, Cleric, Mage or a number between 1 and 16. 1 is synonymous with Fighter, 2 with Cleric and 3 with Mage.