Anonymous | Login | Signup for a new account | 2019-12-13 20:46 UTC | ![]() |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0003556 | Zandronum | [All Projects] Suggestion | public | 2018-10-20 18:27 | 2018-10-25 10:33 | ||||||||
Reporter | Michaelis | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0003556: Letting modders change player class without ConsoleCommand | ||||||||||||
Description | Part of phasing out the dangerous ConsoleCommand (https://zandronum.com/tracker/view.php?id=1070). It would be great to have SetPlayerClass(player, classname); to replace ConsoleCommand("playerclass nyx"). Primary use case is mods implementing their own class selection through ACS menu or "Choose Your Difficulty"-like galleries on maps, akin to Quake 1 intro. | ||||||||||||
Attached Files | |||||||||||||
![]() |
||||||
|
![]() |
|
Michaelis (reporter) 2018-10-25 10:33 edited on: 2018-10-25 10:33 |
Also add boolean "respawn now?". Defaults to false. If it is false, then using SetPlayerClass is exactly equal to setting playerclass with console. If it is true, then player is killed and respawned as new class immediately. In a game mode with limited lives, e.g. Survival or LMS, life is not deducted. SetPlayerClass(int player, str classname[, bool respawnNow]); |
Only registered users can voice their support. Click here to register, or here to log in. | |
Supporters: | DrPyspy dbthanatos Ivan Mr. Satan |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2018-10-20 18:27 | Michaelis | New Issue | |
2018-10-21 12:21 | Leonard | Relationship added | child of 0001070 |
2018-10-25 10:33 | Michaelis | Note Added: 0020146 | |
2018-10-25 10:33 | Michaelis | Note Edited: 0020146 | View Revisions |
Copyright © 2000 - 2019 MantisBT Team |