I'm making a Minigame wad, and I've been having some issues with some minigames' ACS, or rather the way that the ACS is being activated.
The map is in Doom in Hexen Format.
In one minigame, an ACS Script is supposed to activate when shot at. The RailGun from Skulltag is being used as the weapon, the linedef that activates the script has both repeatable action and "Projectile Hits or Crosses" selected. In Singleplayer, the script activates all the time no problem, but in Multiplayer it fails occasionally. I've tried making the railgun shoot both a bullet along with the rail and a super fast, ripping projectile. Regardless, they both still have the failure issue.
In Another minigame, the player is teleported out of the Hub, is placed in an arena, and then teleported back into the hub once the minigame is complete. To accomplish this, I force a mapspot on the players' coords, teleport them using thing_move, then teleport them back with thing_move onto that mapspot. This works MOST of the time, but there are rare 1% chances which cause the player to not teleport back. Here's the teleportation code:
Code: Select all
// When the Game Starts, The Player's TID is set to be 1337+PlayerNumber()
//Before Round Starts in an activator based script
//When the Round ends in a world-activated script which controls the minigames.
Last issue, in some minigames, the player must cross a lindef which activates a script which sets a variable on the player allowing them to pass. However, sometimes they fail for some players, while work fine for others. Yes, they have Repeatable Action selected and they have Player Walks Over selected too. I've even gone as far as to split them into multiple lindefs that are 1 unit long and I essentially create a massive line with 1 unit long linedefs, but again there are some people who rarely fail the game.
Again, these all work flawlessly in SinglePlayer. Could lag be a factor in this? Perhaps a known bug that'll be fixed in 3.0?