Halo 5 script rotation progress: Ferris wheel

Discussion in 'Halo and Forge Discussion' started by Yumudas Beegbut, Feb 4, 2016.

  1. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    Please do, lol. I am getting a little confused. So you have several rotations firing one after the other instead of one that does the entire rotation? The movement is just so smooth I don't get it haha.
     
    #21 Zombievillan, Feb 10, 2016
    Last edited: Feb 10, 2016
    Yumudas Beegbut likes this.
  2. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    a Chunk and Zombievillan like this.
  3. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    Ok, also I am assuming this can be done on a timer instead of hitting a switch? This seems overwhelming at first. Maybe when you break it down with the pics I can better understand it.

    I am starting to believe what I want isn't possible though, because it will have to stay under water or it's broken. Just another question I have for 343, why does something welded HAVE to be on normal physics? Why can't the lighting forge mode has be in custom games? Why can't we adjust ammo count on weapon pads? Wth?
     
  4. Neo Hybodus

    Neo Hybodus Legendary

    Messages:
    45
    Likes Received:
    23
    I am pretty sure you can have welded phased objects... can you explain what you are seeing when you weld/what you are welding?
     
  5. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    Yes, the platform in this video
    http://xboxdvr.com/gamer/zombievillan/video/14629503

    When I try to weld it it has done 2 things. Once I welded it when all items where phased & when I put under water where I wanted it, after a minute it started randomly floating away but still in tact. Then I did it again & scripted the movement up & spinning. When the timer kicked in for the movements it just fell over & rolled around like it had normal physics.

    Then I started over & welded it again, when I moved it & let it go all the pieces broke apart floated away.
     
  6. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Ok, this took me WAY too long. Can't focus on what I'm doing anymore, but I can still stick to a task as long as I can get started.

    Switch Terminal To Start Rotation & Movement
    01-terminal-india.png

    Script Brain For 0.5s Running Clock
    02-script-brain-juliet-timer.png

    Timer Pig For Turning Rotation & Movement Back Off
    (If only there was a Yosemite Sam object that spawns and yells "Back off!")
    03-pig-timer-6-seconds.png

    Cylinder Used As The Crank To Rotate & Move the Platform
    04-cylinder-crank.png

    I'm too fried to check it over to ensure it makes sense and is easy to follow. I'll do a final-ish proofread of it later on. Let me know if it's missing something.
     
    #26 Yumudas Beegbut, Feb 10, 2016
    Last edited: Aug 18, 2016
    a Chunk and Yekkou like this.
  7. Yekkou

    Yekkou Yellow, but with "kk"s
    Senior Member

    Messages:
    531
    Likes Received:
    1,459
    This is gold man, thanks for the pictures and the text. I might not use it, but it actually helped me understand scripting a bit more.
     
    Yumudas Beegbut likes this.
  8. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Yeah, a timer or any script that turns on the Master Power Channel (india for mine) will set it in motion. I put an explosive barrel on the platform and triggered it when I shot the barrel. It then respawned with the platform above it so it fell in the water as a one-time-use object. yay.

    I think it's a Catch-22 with the script rotation & phased + welded objects that would move through other objects. We seem to need to use a single ungrouped object to get reliable rotation and one phased object can't push around other phased or fixed objects. We can clamp normal objects around it and it can move those, but they can't phase since they're set to normal. From a little testing, I got the impression that the water pisses off any object it touches... not sure though.
     
  9. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    Man this is still confusing lol. I can read it a few more times till I get it. I'm a little confused on what the pig (or object of choice) does even tho you are explaining it. Seeing as how the water isn't going to let me rotate my platform, I guess I can still copy this method for raising it up & maybe it will be more smooth & consistent.
     
  10. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    I have thought about raising up the map & replacing the water with rocks (still a death pit) & leaving a circular opening where the platform can rise up spinning without touching the water.
     
  11. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Nice. I've seen the tutorial on making a frozen lake effect on YouTube, but I guess that's not the same idea.

    The pig is just a way to make something happen a preset number of seconds after some start event. In this case, we start the rising/spin of the platform but we want it to stop 6 seconds later.
    1. Start is triggered by turning on India (and it will keep moving until India is turned off).
    2. So we script the pig to {Despawn} when we turn India on at the start.
    3. 6 seconds later, the pig Respawns and we use its (OnSpawn) condition to turn India back off, which stops the move and rotate scripts.
    I need to rewrite this tutorial so that it's done in the order that we actually do it when coming up with a solution:
    1. Add rising movement
    2. Add rotation
    3. Use a short 0.5 second timer as a continuous clock
    4. Use a pig to start and stop time itself, like the gods of pigs that we are
    I think it might have been NOKYARD who came up with using an object's Respawn and Despawn built-in timers as timing mechanisms that can be used whenever you need them. (The OnTimer Condition is always based on the start of the match time so we can't use it if we don't know exactly when something will happen.) Check out http://www.forgehub.com/threads/halo-5-scripting-infodump.149476/page-2#post-1618984 if you want to see how to delay an Action after the start of each round.
     
  12. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    I figured out your process now, I used it on raising & lowering the platform on a timer instead of the switch. Problem is that it's still a little jumpy. It would look better if it was welded as one piece, I'm really debating the whole thing right now.
     
  13. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Is the platform a welded piece? I used a welded piece (2 pieces actually) that were set to Normal physics that were placed on a single Phased cylinder that did all the moving.

    I'll go sign on now. Send me an invite if you like. Or you can let me know the name of your map and I'll see if I can get a copy working the way you want. Or I can make something similar for you to check.
     
  14. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    I got off & went to bed when I made that last post sorry, I see on my smart glass some clips of you working on it. I thank you sir for all of your help. Last I saw you had it welded & moving up & down pretty smooth. I'm not sure we will be able to get it to spin on its way up & down due to the water but your help is much appreciated. If you do figure out a way to get it spinning, there's no telling what I will do! Jk
     
  15. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Heheh. Doh! I tried making another one that was phased and rotating, but mine wasn't stable like yours when rotating. It jiggled fiercely. Not sure what you did or what the secret is for stable groups.

    It works fairly well as a phased pole with a welded normal group on top, but the normal objects will only go so far under the water. I had to remove the quarter ring segments to decrease the height so it would under water. Check out the bookmarked version and see if that's any good.
     
  16. Zombievillan

    Zombievillan Ancient
    Forge Critic Senior Member

    Messages:
    2,717
    Likes Received:
    3,623
    I'll take a look this evening after work. I have been checking smartglass all day for anyclips you might have made since I am stuck at work. If I can get it to look decent and work stable I am ok with the 1/4 rings being removed. How stable can the 'normal' platform be though? You already have to jump & sometimes clamber it to get the damage boost but if you get caught up with plasma caster or nades can the platform be knocked off of the phased cylinder?
     
  17. Yumudas Beegbut

    Yumudas Beegbut Legendary
    Wiki Contributor Senior Member

    Messages:
    393
    Likes Received:
    352
    Out has 8 invisible blockers slapped tightly around the cylinder, but only at the top. Haven't tested trying to pop the sucker off.
     

Share This Page