MantisBT - Zandronum
View Issue Details
0002106Zandronum[All Projects] Suggestionpublic2015-02-16 12:102015-02-17 10:34
zeberpal 
 
normalfeatureN/A
closedno change required 
MicrosoftWindowsXP/Vista/7
 
 
0002106: Modified CHANGESKY command
CHANGESKY as it is now.
{
ChangeSky = "ChangeSky(sky1, sky2)";
}

I suggest to add "multiplayer" support for this feature. So that Changesky would apply only for those who activated it.

That would help a lot for these projects in the image .. I mean, it would make them playable.
ChangeSky = "ChangeSky(sky1, sky2, 1)";
// Ofcourse it could work the way it used to be, just don't write 1 at the end. That's how Sector_SetColor works too, with hidden 4th parameter of desaturation. So basically "1" would make sky change only for player who activated it.
This feature is the only way, otherwise it's dead end.
'http://zandronum.com/forum/showthread.php?tid=5674 [^]'

I believe 2.0 testing is high priority now, I was wondering though if this feature would be possible to be made.
No tags attached.
png changesky.png (1,113,900) 2015-02-16 12:10
/tracker/file_download.php?file_id=1415&type=bug
Issue History
2015-02-16 12:10zeberpalNew Issue
2015-02-16 12:10zeberpalFile Added: changesky.png
2015-02-16 13:06DuskNote Added: 0011702
2015-02-16 14:37zeberpalNote Added: 0011703
2015-02-16 14:38zeberpalNote Edited: 0011703bug_revision_view_page.php?bugnote_id=11703#r6669
2015-02-16 14:39zeberpalNote Edited: 0011703bug_revision_view_page.php?bugnote_id=11703#r6670
2015-02-16 19:01StrikerMan780Note Added: 0011705
2015-02-16 19:34RusselCSNote Added: 0011706
2015-02-16 21:38zeberpalNote Added: 0011708
2015-02-16 21:52CatastropheNote Added: 0011709
2015-02-16 22:53DuskNote Added: 0011710
2015-02-16 22:53DuskAssigned To => Dusk
2015-02-16 22:53DuskStatusnew => feedback
2015-02-17 08:15zeberpalNote Added: 0011712
2015-02-17 08:15zeberpalStatusfeedback => assigned
2015-02-17 08:20zeberpalNote Added: 0011713
2015-02-17 09:39Edward-sanNote Added: 0011714
2015-02-17 09:39Edward-sanStatusassigned => closed
2015-02-17 09:39Edward-sanResolutionopen => no change required
2015-02-17 09:50DuskAssigned ToDusk =>
2015-02-17 09:50DuskResolutionno change required => invalid
2015-02-17 10:34DuskResolutioninvalid => no change required

Notes
(0011702)
Dusk   
2015-02-16 13:06   
Say what?
(0011703)
zeberpal   
2015-02-16 14:37   
(edited on: 2015-02-16 14:39)
Is that an excitement or my bad engrish?
Anyway, here are tip tags:

clientsided Changesky function
Changesky with clientside support

(0011705)
StrikerMan780   
2015-02-16 19:01   
He's asking for an extra parameter for ChangeSky that makes it only change the sky for the activator.
(0011706)
RusselCS   
2015-02-16 19:34   
...You could just put the function in a clientside script.

script X (void) CLIENTSIDE
{
ChangeSky(sky1, sky2);
}
(0011708)
zeberpal   
2015-02-16 21:38   
Lego_CS, I double-checked it online, and it's no use. It keeps changing sky for everyone. And yeah I tried that before making this suggestion.
(0011709)
Catastrophe   
2015-02-16 21:52   
You can use a clientside script to spawn a skybox actor, btw. I have this on my map where if you have opengl it'll show you a very colorful skybox instead of a default sky.
(0011710)
Dusk   
2015-02-16 22:53   
Everybody activates the clientside script, even if one player is the activator. There seems to be a common misconception regarding this.

This should work:

script 1 (void) CLIENTSIDE
{
  if (PlayerNumber() == ConsolePlayerNumber())
    ChangeSky (sky1, sky2);
}


If it does not, please make an example wad.
(0011712)
zeberpal   
2015-02-17 08:15   
Dusk, oh wow! I can't believe, but it worked, had to close ChangeSky with a pair of brackets too. I guess this one is sorted out.
(0011713)
zeberpal   
2015-02-17 08:20   
Thanks for help everyone,
(0011714)
Edward-san   
2015-02-17 09:39   
Hence, there we go.