MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000267 | Zandronum | [All Projects] Bug | public | 2011-01-24 03:36 | 2018-09-30 20:11 |
|
Reporter | Mister Nobody | |
Assigned To | Torr Samaho | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | 98d | |
Target Version | | Fixed in Version | 1.0 | |
|
Summary | 0000267: FadeTo doesn't reset on spectate. |
Description | If you use FadeTo, and then spectate, the screen will remain the faded color. |
Steps To Reproduce | With the attatched wad file, enter a map, puke script 27, and then spectate. The screen will remain tinted blue. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | fadeto.wad (260) 2011-01-24 03:36 /tracker/file_download.php?file_id=138&type=bug
fadeto_test.wad (1,801) 2011-01-24 04:39 /tracker/file_download.php?file_id=139&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2011-01-24 03:36 | Mister Nobody | New Issue | |
2011-01-24 03:36 | Mister Nobody | File Added: fadeto.wad | |
2011-01-24 03:47 | Torr Samaho | Note Added: 0000860 | |
2011-01-24 03:47 | Torr Samaho | Assigned To | => Torr Samaho |
2011-01-24 03:47 | Torr Samaho | Status | new => feedback |
2011-01-24 04:39 | unknownna | Note Added: 0000861 | |
2011-01-24 04:39 | unknownna | File Added: fadeto_test.wad | |
2011-01-24 12:14 | Torr Samaho | Note Added: 0000864 | |
2011-01-24 22:18 | unknownna | Note Added: 0000867 | |
2011-01-24 22:19 | unknownna | Note Edited: 0000867 | bug_revision_view_page.php?bugnote_id=867#r400 |
2011-01-25 00:45 | Torr Samaho | Note Added: 0000868 | |
2011-01-25 02:06 | unknownna | Note Added: 0000871 | |
2011-01-25 02:08 | unknownna | Note Edited: 0000871 | bug_revision_view_page.php?bugnote_id=871#r402 |
2011-01-26 02:44 | Torr Samaho | Note Added: 0000875 | |
2011-01-26 02:44 | Torr Samaho | Status | feedback => resolved |
2011-01-26 02:44 | Torr Samaho | Fixed in Version | => 1.0 |
2011-01-26 02:44 | Torr Samaho | Resolution | open => fixed |
2011-01-26 02:45 | Torr Samaho | Product Version | => 98d |
2012-06-09 13:22 | Torr Samaho | Category | General => Bug |
2018-09-30 20:11 | Blzut3 | Status | resolved => closed |
Notes |
|
|
This should fix the issue, I tested the fix only very briefly though. |
|
|
|
If you turn into a spectator before the fade fully fades in, the effect will not be cleared from the viewpoint. I made a new example WAD. |
|
|
|
Ah, I see. This should also cover these issues. |
|
|
(0000867)
|
unknownna
|
2011-01-24 22:18
(edited on: 2011-01-24 22:19) |
|
It fixed the issue, but are spectators supposed to be affected by the fade if they activate/puke the script?
And if a spectator activates the script before a player in-game does, the next time the script is activated by a player, the spectator will be affected by the fade, but the player will not. Perhaps this is due to the "suspend" function in the script.
Here is the script from the example WAD:
Script 1 (Void)
{
Print (s:"\clRed");
FadeTo (255, 0, 0, 0.20, 1.0);
Suspend;
Print (s:"\cdGreen");
FadeTo (0, 255, 0, 0.20, 1.0);
Suspend;
Print (s:"\chBlue");
FadeTo (0, 0, 255, 0.20, 1.0);
Suspend;
Print (s:"Normal");
FadeTo (0, 0, 0, 0, 1.0);
}
|
|
|
|
> It fixed the issue, but are spectators supposed to be affected by the fade if they activate/puke the script?
Well, AFAIK spectators can't activate scripts at all since they are not part of the game. The only exemption is the puke cheat. I don't think that there is anything I can do about this except for disallowing spectators from using the puke cheat.
> And if a spectator activates the script before a player in-game does, the next time the script is activated by a player, the spectator will be affected by the fade, but the player will not. Perhaps this is due to the "suspend" function in the script.
Yes, I'd say because the script is just suspended, the original activator is kept once the script resumes. So from what I can tell what's happening is the intended behavior. |
|
|
(0000871)
|
unknownna
|
2011-01-25 02:06
(edited on: 2011-01-25 02:08) |
|
> Well, AFAIK spectators can't activate scripts at all since they are not part of the game. The only exemption is the puke cheat. I don't think that there is anything I can do about this except for disallowing spectators from using the puke cheat.
Would it then be possible to have all cheats, minus the "chase" one, be disabled for spectators? Perhaps with a warning message along the lines of: "You cannot/can't use this cheat as a spectator!".
'http://www.skulltag.com/forum/viewtopic.php?f=33&t=22538 [^]'
> Yes, I'd say because the script is just suspended, the original activator is kept once the script resumes. So from what I can tell what's happening is the intended behavior.
Indeed, you are right.
|
|
|
|
> Would it then be possible to have all cheats, minus the "chase" one, be disabled for spectators? Perhaps with a warning message along the lines of: "You cannot/can't use this cheat as a spectator!".
That's certainly possible, but let's continue this discussing in the thread you linked.
Since the FadeTo bug is fixed now, I'm marking this report as resolved. |
|