[r2786] Player class issues

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

[r2786] Player class issues

Post by Player701 »

Finally the menu branch was intergrated into trunk... but after running the freshly compiled ZDoom, I ran into a problem with player classes (the ones of AEoD mod).

The game doesn't take my player class selection into account: I always begin with the default player class. In addition, if I'm killed, and then restart the level, the player class is set to some random one.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2786] Player class issues

Post by Graf Zahl »

Can you provide me with a test WAD that defines 'your player class'?
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [r2786] Player class issues

Post by Player701 »

The classes are not mine. I was talking about my SELECTION of the player class, my CHOICE. Sorry.
I.e. no matter what class I select, it is always reset to the default one.

To test it, just run AEons of Death.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2786] Player class issues

Post by Graf Zahl »

Should be fixed now.
User avatar
Player701
 
 
Posts: 1707
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [r2786] Player class issues

Post by Player701 »

Now it's way better (r2802). But it only works if I set the class via the console variable "playerclass". Then I begin new game and the class is correct (the same I'd typed before).

But if I select the class via the player setup menu, and then (re)start the game, the class is set to the one which is positioned before the selected one in the class list (with some exceptions if the class is the first or last one in the list).
For example, there classes C1, C2, C3, Random (which is implicit).

If I choose class C1, I'll play as C2 (this is the exception I'd mentioned before).
If I choose class C2, I'll play as C1.
If I choose C3, I'll play as C2.
The "Random" option works as intended.

The above information is based on my observations and may not be 100% accurate. However, the class selection in the player setup menu really doesn't work right.
All the classes are added via KEYCONF and have "nomenu" option.

If you want to test it, run AEoD.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2786] Player class issues

Post by Graf Zahl »

To be precise, it chooses the last one you had selected. The order of 2 instructions was wrong. It set the global playerclass from outdated data.
Post Reply

Return to “Closed Bugs [GZDoom]”