View previous topic :: View next topic |
Author |
Message |
Madgunner Dominating!
Joined: 23 Nov 2003 Location: Atlanta,GA
|
Posted: Tue Feb 19, 2013 10:46 pm Post subject: ACS ceiling panning doesn't work the first time? |
|
|
ZDoom has an ACS function called Sector_SetCeilingPanning. It allows you to adjust the x and y texture position on a ceiling texture. For some reason, it doesn't seem to work in ZDaemon the first time you play a map that uses it; however if you play the map a second time it will align correctly. Here is an example of the incorrect ceiling alignment:
To see it yourself you can join the ZML server on L@P or DUI NJ. |
|
Back to top |
|
|
Sr69Mm-jC Unstoppable!
Joined: 21 Jul 2011
|
Posted: Wed Feb 20, 2013 8:14 am Post subject: |
|
|
Ok, so I might be entirely incorrect about everything I'm about to say here. But I do believe it's not exactly about "first time" and "second time"; rather, it's about being or not being on the server the moment map loads. Or rather, lemme put it like this: server won't send info about floors/ceilings that have already been scaled/panned before you joined the game.
So if you create an OPEN script and put some floor/ceiling scaling/panning in there, only those players who were on the server during intermission->map transition will see it properly. Those who connect later will not. I strongly believe this has already been discussed somewhere a while ago (either forums or IRC channels).
As to modders, a workaround for your wads would be to run those functions on an ENTER script type instead. So each time a player joins and spawns, the panning's/scaling's would be re-set for everyone in the game (including spectators who haven't spawned yet too). If it's still not an option (because specs would see it wrong until a spawn of any new player), you could do an OPEN script that constantly restarts itself (a few times a second has to be enough). |
|
Back to top |
|
|
Evolution Wicked Sick!
Joined: 06 Sep 2005
|
Posted: Thu Feb 21, 2013 11:50 pm Post subject: |
|
|
This worked fine in 10808c (and earlier versions). It now happens in zdctfmp3- map24, whereas for a long time before, it didn't. |
|
Back to top |
|
|
phenex2 Unstoppable!
Joined: 10 Jan 2008
|
Posted: Sat Feb 23, 2013 3:17 am Post subject: |
|
|
fixed in upcoming version. |
|
Back to top |
|
|
|