So I was trying to do an effect when a player was dead by a specific monster, and only he would see the map with different color, so i did something like that
script x (void) clientside
{
if(ConsolePlayerNumber() != PlayerNumber()) Terminate;
Sector_Setcolor(14,0,133,0);
}
But the problem is sector_setcolor doesn´t work online =/
Is there a way to do it work?
Sector_Setcolor doesn´t work online on clientside
- ibm5155
- Addicted to Zandronum
- Posts: 1641
- Joined: Tue Jun 05, 2012 9:32 pm
- Location: Somewhere, over the rainbow
Sector_Setcolor doesn´t work online on clientside
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!
<this post is proof of "Decline">
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!
<this post is proof of "Decline">
- Torr Samaho
- Lead Developer
- Posts: 1543
- Joined: Fri May 25, 2012 6:03 pm
- Location: Germany
RE: Sector_Setcolor doesn´t work online on clientside
I think that deliberately desyncing sector properties between client and server is not a good idea. How about giving the player a powerup that changes the player's colormap?
- ibm5155
- Addicted to Zandronum
- Posts: 1641
- Joined: Tue Jun 05, 2012 9:32 pm
- Location: Somewhere, over the rainbow
RE: Sector_Setcolor doesn´t work online on clientside
Hmm It´s another method :) I´ll try this then.
The idea was when the player died by the white face ghoul he would be teleported to a dead room, and all the outside area would have a red light color.
The idea was when the player died by the white face ghoul he would be teleported to a dead room, and all the outside area would have a red light color.
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!
<this post is proof of "Decline">
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!
<this post is proof of "Decline">