Results 1 to 11 of 11

Thread: Climbing up

  1. #1
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Posts
    110

    Default Climbing up

    Hey. I'm learning how to code, but the following is still too hard for me.

    I want a climbing up animation.
    So when a player is standing near a wall, and it's not too high to climb on, the player can press a key (Right Control key, for example) and then an animation should play so the player goes up.
    Then it should stay, if the player presses the Up arrow key, you pull yourself up the ledge.

    Is there a tutorial where I can learn how to do that?
    Or does a script for that exist, so that I can learn from it?

  2. #2
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    434

    Default

    hmm.. i know of the ladder volume. but this is something different, and i too want to know this. (since you brought it up i haven't seen a page in UDN giving pointer for it. maybe there is a term for such movement/anim (ue3 term)?)

    in many games it's called "mantle" (e.g. "mantle over wall", "mantle through window")

    i only found some pages about navigational points/paths, and AI being able to mantle over walls in the navigational paths etc.. but nothing about the player itself. (either automaticly, or through action assigned key)
    Last edited by saymoo; 03-19-2010 at 11:25 AM.

  3. #3
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Posts
    110

    Default

    I was thinking of these steps to climb:

    -Player is in climbing zone
    -When pressing a button, the player gets urned around so he faces the wall/object
    -an animation plays
    -during the animation the player gets lifted to the edge of the zone

    Then the directional keys can be used to move sideways, up and down would be letting go.

    I found these two threads that could help, but I wouldn't know how to start it..
    http://forums.epicgames.com/showthread.php?t=718052
    http://utforums.epicgames.com/showthread.php?p=27187392

  4. #4
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Posts
    110

    Default

    Does noone have a clue?

  5. #5
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,953

    Default

    That sounds like a pretty good idea, vixez. Is that how you want to do it?
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks

  6. #6
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Posts
    110

    Default

    Yep, that's how it should work.
    The only problem is my very limited coding skills in UnrealScript.
    I know vb.net pretty good, but it doesn't come in handy here

  7. #7
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,953

    Default

    ok, so.. you need to know..

    how to detect a "climbing zone" (hint: volumes)
    how to bind a key to a command (hint: defaultinput.ini)
    how to run a command (hint: exec function)
    how to play an animation (hint: search UTPawn for "CustomAnim")
    how to move a pawn (hint: search Move)
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks

  8. #8
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Posts
    110

    Default

    Thanks, but I'll probably have to wait untill someone makes something I can use, as I have no idea how to start making all that.
    I have Visual Studio and nFringe, but I can't write my own codes since I don't know any syntaxes and so

  9. #9
    MSgt. Shooter Person
    Join Date
    Nov 2009
    Posts
    121

    Default

    Quote Originally Posted by Blade[UG] View Post
    ok, so.. you need to know..

    how to detect a "climbing zone" (hint: volumes)
    how to bind a key to a command (hint: defaultinput.ini)
    how to run a command (hint: exec function)
    how to play an animation (hint: search UTPawn for "CustomAnim")
    how to move a pawn (hint: search Move)
    Brilliant Blade

    Many thanks for the pointers - as always

  10. #10
    Iron Guard
    Join Date
    Nov 2006
    Posts
    712

    Default

    Quote Originally Posted by vixez View Post
    Thanks, but I'll probably have to wait untill someone makes something I can use, as I have no idea how to start making all that.
    I have Visual Studio and nFringe, but I can't write my own codes since I don't know any syntaxes and so
    I doubt there are any existing tutorials for something as specific as what you want.

    I would probably start by creating a climbing zone, and command to start climbing, as was described before... Then have those together throw the PlayerController into a new state, like PlayerMantle, which puts the pawn into PHYS_Flying, and limits movement.

  11. #11
    MSgt. Shooter Person
    Join Date
    Oct 2010
    Location
    Melbourne, Australia
    Posts
    78

    Default

    Here is the link to a very good lecture on the AI systems in Left For Dead and how they implemented many of the AIs behaviours.

    http://www.valvesoftware.com/publica...mike_booth.pdf

    There is a description on a ledge climbing technique they used for the zombies that you may find useful starting at around slide 30. It shouldn't be that hard to replicate the technique in unrealscript as it is based around a series of traces to find the ledges height, and then a animation to make the zombie climb.

    Alternatively, the way that Blade described will work equally as well (it is probably better anyway as it is much more straightforward, I always seem to want to make things easier on the design end though ).


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.