Gravity Volume Fix

Discussion in 'Halo and Forge Discussion' started by Artisan, Feb 24, 2016.

  1. Artisan

    Artisan Legendary

    Messages:
    19
    Likes Received:
    13
    Just as a heads up, if you use my Invisible Barrier workaround on a gravity volume, it fixes the gravity volumes as well!

     
  2. Nate Rutledge

    Nate Rutledge Mythic

    Messages:
    85
    Likes Received:
    38
    Thank you so much!
     
  3. Artisan

    Artisan Legendary

    Messages:
    19
    Likes Received:
    13
    Happy to help Nate.
     
  4. MstrBlonde

    MstrBlonde Ancient
    Senior Member

    Messages:
    33
    Likes Received:
    40
    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.
     
  5. M0D3RN SPAR7AN

    M0D3RN SPAR7AN Legendary
    Senior Member

    Messages:
    43
    Likes Received:
    39
    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.
     
  6. Egggnog

    Egggnog Game Crashers

    Messages:
    267
    Likes Received:
    331
    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
     
  7. M0D3RN SPAR7AN

    M0D3RN SPAR7AN Legendary
    Senior Member

    Messages:
    43
    Likes Received:
    39
    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.
     
  8. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    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.
     
  9. M0D3RN SPAR7AN

    M0D3RN SPAR7AN Legendary
    Senior Member

    Messages:
    43
    Likes Received:
    39
    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.
     
    Yumudas Beegbut likes this.
  10. M0D3RN SPAR7AN

    M0D3RN SPAR7AN Legendary
    Senior Member

    Messages:
    43
    Likes Received:
    39
    That or you could have them spawn below and move into your map?
     
    Yumudas Beegbut likes this.
  11. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    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.
     
    M0D3RN SPAR7AN likes this.
  12. M0D3RN SPAR7AN

    M0D3RN SPAR7AN Legendary
    Senior Member

    Messages:
    43
    Likes Received:
    39
    Appreciate the advice! I'll definitely utilize it!
     

Share This Page