MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002833 | Zandronum | [All Projects] Suggestion | public | 2016-09-13 00:32 | 2019-06-04 21:54 |
|
Reporter | Ivan | |
Assigned To | Dusk | |
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | new | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | 3.0-beta | |
Target Version | | Fixed in Version | | |
|
Summary | 0002833: A flag/way to disable "Random" class option in class based games |
Description | As the title says, the random class is a pain to deal with and it causes problems in my mod DnD. It breaks player weapon giving scripts. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | norandomclass.png (85,106) 2016-09-13 22:22 /tracker/file_download.php?file_id=1886&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2016-09-13 00:32 | Ivan | New Issue | |
2016-09-13 12:35 | Edward-san | Note Added: 0015625 | |
2016-09-13 14:03 | Ivan | Note Added: 0015626 | |
2016-09-13 14:04 | Ivan | Note Edited: 0015626 | bug_revision_view_page.php?bugnote_id=15626#r9497 |
2016-09-13 18:11 | Edward-san | Note Added: 0015628 | |
2016-09-13 18:29 | Ivan | Note Added: 0015631 | |
2016-09-13 18:43 | Ivan | Note Edited: 0015631 | bug_revision_view_page.php?bugnote_id=15631#r9499 |
2016-09-13 22:22 | Edward-san | File Added: norandomclass.png | |
2016-09-13 22:24 | Edward-san | Note Added: 0015633 | |
2016-09-13 23:27 | Ivan | Note Added: 0015637 | |
2016-09-13 23:30 | Dusk | Note Added: 0015638 | |
2016-09-13 23:30 | Dusk | Assigned To | => Dusk |
2016-09-13 23:30 | Dusk | Status | new => assigned |
2017-02-16 02:09 | Ivan | Note Added: 0016867 | |
2017-02-16 20:24 | Cutman | Note Added: 0016868 | |
2017-02-16 20:52 | Cutman | Note Edited: 0016868 | bug_revision_view_page.php?bugnote_id=16868#r10191 |
2017-02-16 20:52 | Cutman | Note Edited: 0016868 | bug_revision_view_page.php?bugnote_id=16868#r10192 |
2017-02-16 22:21 | Ivan | Note Added: 0016869 | |
2019-06-04 21:54 | Dusk | Status | assigned => new |
Notes |
|
|
|
|
(0015626)
|
Ivan
|
2016-09-13 14:03
(edited on: 2016-09-13 14:04) |
|
|
|
|
You're doing it wrong, I'm talking about this:
gameinfo {
norandomplayerclass = true
}
which should be added in MAPINFO lump. |
|
|
(0015631)
|
Ivan
|
2016-09-13 18:29
(edited on: 2016-09-13 18:43) |
|
|
|
|
With the provided example wad I see no 'random' option, as the screenshot shows. Are you talking about something else? |
|
|
(0015637)
|
Ivan
|
2016-09-13 23:27
|
|
In the class select menu that pops up when you join an online game. I should have stated it was not singleplayer related. |
|
|
(0015638)
|
Dusk
|
2016-09-13 23:30
|
|
The menu simply doesn't account for this gamemode flag and assumes that random is always available.
IIRC ZDoom intentionally made it so that you can still use the random class from console, which is why it still works from the menu. |
|
|
(0016867)
|
Ivan
|
2017-02-16 02:09
|
|
What's progress/decision on this? It's a bit gamebreaking for one of my mods. |
|
|
(0016868)
|
Cutman
|
2017-02-16 20:24
(edited on: 2017-02-16 20:52) |
|
Could you post the weapon script(s) that are breaking because of it? My work around for this is to give the player classes their own unique dummy inventory items in DECORATE (i.e player.startitem "class1") and have the script use CheckInventory instead of PlayerClass or whatever.
|
|
|
(0016869)
|
Ivan
|
2017-02-16 22:21
|
|
This is part of a code that executes in an ENTER script:'http://pastebin.com/c5Zt6aHc [^]'
What happens is, if you get a different class through random after the round begins in a Survival game, your stuff is gone and you simply get no weapons to begin with.
I have some mod specific reasons as to why I'm giving starting weapons like this, so that's required that I do give weapons via scripts, and only once. |
|