Just as a heads up, if you use my Invisible Barrier workaround on a gravity volume, it fixes the gravity volumes as well!
I'm not sure anyone else has posted this, but you can set the gametype and/or team for a barrier, and it will function normally. If you set a barrier to Team 1, it will block only Team 1.
Has anyone experienced problems scripting gravity volumes to turn on and off? I was working on a map with a hanger you could open up into space and turn the map into 0 gravity and couldn't seem to get the volumes to behave; even stay spawned or respawn.
Do your scripts look something like this? Gravity Volumes On Match Start Despawn On Round Start Despawn On Power Set Alpha On Spawn On Power Set Alpha Off Despawn Hangar Doors On Round Start Position/Rotation Reset On Power Set Alpha On Move Offset (However much you want it to open.) On Power Set Alpha Off Position/Rotation Reset Hangar Switch On Interaction Power Set Alpha Toggle Keep in mind that these scripts are for toggleable hangar doors and multiple rounds, if you just want them to open I can leave those scripts if you need them. Otherwise, if this doesn't work my best guess would be they can't despawn similar to invisible switches. I remember testing with them and being able to despawn them before, but maybe that changed in the hotfix
Ya haven't tried to do it in awhile, working on other maps but yes I did have that set up, it seemed to glitch out and not just not spawn in but delete the volume all together. I'll be setting up that script here soon and I'll let you know if it does the same thing.
I tested spawning/despawning gravity volumes a while back and the only catch was that they won't spawn if a player is in their space, or close by. Works the same way as the pressure plate setup. Seems that objects won't spawn if the player is within a certain distance of an object's origin point. Unfortunately, I never found an object where this would happen based on its geometry, but I didn't test many objects. Don't even know if gravity volumes follow that rule since that was a different test. Let me know if you find any objects that actually use their boundaries! My nephew couldn't rely on spawning invisible blockers on one map because of this stuff, so instead he just had them below his map and scripted then to move up into position at the right time. It did a pretty convincing job of making it look like players got sucked out into space when windows were blown out.
That's actually a really smart idea! If the volumes won't spawn with players inside them, what if an invisible blocker pushed all players out the doors and then spawned in shortly afterwards? That would get rid of the players inside and simulate depressurization of the hanger.
Yeah, he had it working pretty slick. Not sure if he's gonna try to update it using the new gravity slides. Yeah, if we use the gravity volumes (or slides, bouncers, or blockers) and if a spawn script might get stopped because players are in the area and there's adjacent space outside the playable area, I'd leave those objects off to the side and move them when they're needed. I'd avoid despawning and spawning them unless that's necessary.