[Fixed] [r2786] Player class issues

Bugs that have been investigated and resolved somehow.

Moderator: Developers

[r2786] Player class issues

Postby Player701 » Thu Sep 16, 2010 2:48 am

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
Player701
Superior Design
 
Joined: 13 May 2009
Location: Russian Federation

Re: [r2786] Player class issues

Postby Graf Zahl » Thu Sep 16, 2010 3:37 am

Can you provide me with a test WAD that defines 'your player class'?
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [r2786] Player class issues

Postby Player701 » Thu Sep 16, 2010 3:42 am

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
Player701
Superior Design
 
Joined: 13 May 2009
Location: Russian Federation

Re: [r2786] Player class issues

Postby Graf Zahl » Thu Sep 16, 2010 11:21 am

Should be fixed now.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Re: [r2786] Player class issues

Postby Player701 » Fri Sep 17, 2010 3:02 am

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
Player701
Superior Design
 
Joined: 13 May 2009
Location: Russian Federation

Re: [r2786] Player class issues

Postby Graf Zahl » Fri Sep 17, 2010 3:20 am

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.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest

cron