Custom grenades - how was this done?

Discussion in 'Halo and Forge Discussion' started by ExTerrestr1al, Apr 25, 2017.

  1. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    Can someone help me figure out how this was done? I am a pretty good script coder, and I'm sure I could figure it out. But, I was hoping for a shortcut and that this guy would have outlined how he did this in the video, but he didn't.

    I do not necessarily need a detailed write-up, but just a general idea of the type of mechanics/tricks used to make it happen.

    (Hint, I have created a working cannon which actually fires projectiles, and I am going to remake a very popular, very poorly forged map. I would like to utilize the type of custom grenade below as the projectile. more to come!)

     
  2. Zeny

    Zeny Legendary

    Messages:
    11
    Likes Received:
    13
    ExTerrestr1al likes this.
  3. Agent Zero85

    Agent Zero85 Legendary
    Wiki Contributor Senior Member

    Messages:
    400
    Likes Received:
    435
    The ball (yes thats a ball) has a boundary, when picked up it is anchored to the 4th dimension as i call it, meaning the player holding it will register exclusively. On exit, wait xxx. move (flame fx)
    Just make sure the boundary is .25 wide, 0 bottom, and at least 3.75 tall
     
    ExTerrestr1al and Zeny like this.
  4. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    okay, thanks. That makes sense, using the exit event of the boundary to determine when it is thrown. Clever!

    in my use case, being that it is going to be ejected from a canon, it will be something other than a player itself triggering. Even if the player is the one firing the canon. I want the bullet to independently decide when to explode based on when it lands, much like the normal frag. So, I think I will place an invis barrier just above the ground, that will trigger it to go off in a couple seconds. That way, it is arced higher it will still explode N seconds after crossing that barrier close to the ground. That is easy because the ball can be given a label and then objects with that label entering the zone triggers the event to go off. EDIT: THis turns out to be more difficult, if it is even possible. the enter/exit type boundary checks do not let you specify which objects, just any objects! :(

    One thing I"m still wondering...
    how did he get some of the items to appear around different parts of the area around the ball when they spawned in? if they were all set to "go to the ball object and spawn in " then they would all go to the same exact point, would they not?
     
    #4 ExTerrestr1al, Apr 25, 2017
    Last edited: Apr 25, 2017
  5. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    I'm afraid I need a little more assistance on getting the Fx to travel to the ball at the right time... My fx are not moving while not spawned, and of course when explosion spawns it explodes. Not ideal.
     
  6. Agent Zero85

    Agent Zero85 Legendary
    Wiki Contributor Senior Member

    Messages:
    400
    Likes Received:
    435
    Yeah, you have to spawn it before moving it, and due to the nature of some FX, they can't be used, like the explosion
     
  7. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515
    that's unfortunate to hear, but thanks.

    I was able to use the explosion large as an effect on the canon itself when the ball is ejected. THAT IS PRETTY COOL!
     
  8. ExTerrestr1al

    ExTerrestr1al Forerunner
    Senior Member

    Messages:
    2,387
    Likes Received:
    2,515

Share This Page