LucasWalter
02-22-2012, 12:30 AM
Hello everyone!
In my game I am trying to create a vaulting/ledge grabbing system similar to in the Call of duty series, and a ground sliding capability similar to sliding in the game brink.
Lets start out with the ledge grabbing/vaulting functionality. I have read theagents tutorial covering this subject, but I believe I am look for something different, which wouldn't require me to place every single actor in the editor that I want to be able to vault over. My idea is to just have and exec function that will determine if the pawn is next to the obstacle, then play an animation, and finally push the pawn up and fowards towards the wall/ledge/barrier.
There are a few questions I have regarding how to do this.
First of all, I only want this to be able to be done on obstacles up to a certain point, to do this would I have to place every actor in the editor or is there another way to accomplish this? If so, what is the first step towards doing that?
Next, How could I distinguish between the two obstacles heights and which animations to play, etc. For example how would the player know the difference between pulling itself over a high ledge or vaulting over a pile of rubble?
Lastly, What do I need to do to get the player to actually get 'pushed up' and over the ledge?
Now for the sliding:
I really do not have much of a clue where to even begin on something like sliding, but I think I would need to do something along the lines of determining if the player is sprinting or not, then lower the players eyeheight(First person, not true first person camera), and finally change how the player can use the weapons(Make less accurate)
I am really just wanting to find a good starting point on this functionality and I would take it from there.
Thank you
In my game I am trying to create a vaulting/ledge grabbing system similar to in the Call of duty series, and a ground sliding capability similar to sliding in the game brink.
Lets start out with the ledge grabbing/vaulting functionality. I have read theagents tutorial covering this subject, but I believe I am look for something different, which wouldn't require me to place every single actor in the editor that I want to be able to vault over. My idea is to just have and exec function that will determine if the pawn is next to the obstacle, then play an animation, and finally push the pawn up and fowards towards the wall/ledge/barrier.
There are a few questions I have regarding how to do this.
First of all, I only want this to be able to be done on obstacles up to a certain point, to do this would I have to place every actor in the editor or is there another way to accomplish this? If so, what is the first step towards doing that?
Next, How could I distinguish between the two obstacles heights and which animations to play, etc. For example how would the player know the difference between pulling itself over a high ledge or vaulting over a pile of rubble?
Lastly, What do I need to do to get the player to actually get 'pushed up' and over the ledge?
Now for the sliding:
I really do not have much of a clue where to even begin on something like sliding, but I think I would need to do something along the lines of determining if the player is sprinting or not, then lower the players eyeheight(First person, not true first person camera), and finally change how the player can use the weapons(Make less accurate)
I am really just wanting to find a good starting point on this functionality and I would take it from there.
Thank you