MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001673 | Zandronum | [All Projects] Suggestion | public | 2014-01-17 18:36 | 2014-07-13 22:45 |
Reporter | ZzZombo | ||||
Assigned To | Torr Samaho | ||||
Priority | normal | Severity | major | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001673: Changing a player's class/team w/o respawning? | ||||
Description | I recently returned to work on my Infected Horde mod. If you remember one of issues with its development that has stopped it was bad handling of changing a player's class to another alongside w/ changing his team. While the issue w/ team changing was hopefully fixed there is still no way to change a player's class or team w/o respawning him. It severely hinders my mod since it requires newly infected humans to stay there they were prior to infection. It think a flag paramater to Player_SetTeam() (STF_KeepPosition/Health/Armor/CurrentWeapon/Weapons/Inventory) should be enough. But now I need a new function to prematurely set another class w/ the same traits. Player_SetClass(classname,flags) w/ the same possibilities could do the trick. I understand what it maybe impossible to do it w/o actually respawning, so I asked more flags in case one wants to keep players health, etc. Another mod what could benefit from this is AOW 2. It provides a way to change your team to the weaker keeping (most?) of your stuff but by restoring it from variables. | ||||
Steps To Reproduce | |||||
Additional Information | STF_KeepHealth probably should keep the same health percentage-wise. If weapon(s) are kept their ammo also should be kept. STF_KeepInventory shouln't include STF_KeepHealth. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-17 18:36 | ZzZombo | New Issue | |||
2014-01-17 18:43 | ZzZombo | Note Added: 0008044 | |||
2014-01-17 19:13 | Dusk | Note Added: 0008046 | |||
2014-01-17 20:22 | ZzZombo | Note Added: 0008047 | |||
2014-06-15 15:00 | Watermelon | Status | new => acknowledged | ||
2014-07-06 07:29 | ZzZombo | Note Added: 0009873 | |||
2014-07-07 19:51 | Torr Samaho | Note Added: 0009894 | |||
2014-07-07 19:51 | Torr Samaho | Status | acknowledged => feedback | ||
2014-07-08 01:01 | ZzZombo | Note Added: 0009898 | |||
2014-07-08 01:01 | ZzZombo | Status | feedback => new | ||
2014-07-13 12:35 | Torr Samaho | Note Added: 0009959 | |||
2014-07-13 12:35 | Torr Samaho | Assigned To | => Torr Samaho | ||
2014-07-13 12:35 | Torr Samaho | Status | new => feedback | ||
2014-07-13 22:45 | ZzZombo | Note Added: 0009963 | |||
2014-07-13 22:45 | ZzZombo | Status | feedback => assigned |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|