edited February 2015 in ORK Support
I have some legacy animations running fine, added a crouch animation tied to the C key, does not work. Can someone take a look at the pics and give me an idea whats not working, thanks.
https://www.dropbox.com/sh/dvgippcmtik09oc/AABzaEISFZJCboVHqRxd-Owha?dl=0
Post edited by gamingislove on
  • did set the key up to play the animations just setting up a input and a key dont make it do it automatically you have to set itup
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Did you look at the linked pics, I did set it up properly, I think, it is set using the same settings as the working animations which is why I do not understand why they do not work. Thank you.
  • Just setting up an input key and an animation wont do a thing. You'll either need a custom control script for your crouching or use a Global Event that's fired when the input key is used.

    A global event uses a Game Event, where you can simply play the animation.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you, I must be missing something fundamental. If I have my movement and jump set up and working fine, why do the other animations I add not work, I guess that is where I am confused. Is it because you have the run, walk, jump etc already built in as pre-sets?
  • you have to set up a control map for the crouch to work. to put it simply a program wont know your name unless you type your name in and tell it thats your name. so a input key wont know what animation to use unless you tell it what animation to use. so if you set up a control map for the c key to use that key and then set the control map to use the crouch animation. it should work. but from what im seeing atm the base attack dosent seem to want to work either with control maps nor having it set up as an ability. it will register but not actually preform the animation. this my self am still looking into to make sure its not user error so dont know if its a bug or not atm. but best bet for you is to set up an ability that uses the animation you want to use and map it to that key with a control map.
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Thanks for the help and the tutorials, I have been through yours and his, and followed your advice, no luck getting my character to play the animations.
    Probably something simple I am missing I'm sure, he has created a very large system with a huge amount of options. If someone is on skype and can help me for a bit that would be great, my skype williamian48. I have the eval copy of Ork and would like to purchase and use it for my project but until I can overcome this cannot use it. Thanks.
  • The thing you're missing is that there is no crouching in ORK's built-in controls. So you either need to use a custom control (see this how-to for details), or do it using the event system and a global event. Usually, using a custom control (where I'm sure there are a lot out there that do what you need) is the better way to get the player control style you want into your game. The built-in controls are limited and only for demonstration -although you can use them in your game if that's enough for it :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • I have tried the event method, cannot seem to get it right.

    So, I am using Mecanim, and there is a way with the event system to play any animation via a key press from within your system, so I must not be setting something up right, that is why i could use some hands on help if someone has time, if they could look at how I have it set up they would quickly see the issue I am sure, thanks.
  • Create a Game Event, add a Player actor and e.g. use the Mecanim Animation step to play the animation (or Combatant Animation step if you've set it up in your combatant's animations).

    Create a new Global Event in World > Global Events that uses the game event you've created. Set the Event Type to Key and use your crouch input key. In the Required Game States, set In Control (and probably In Battle) to Ignore and the rest to No.
    Now, when the player be controlled, hitting the input key will play your crouch animation (if the animation is working correctly, mecanim can be tricky with the transitions :D).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • TY, I have taken your advice and gone with a custom controller and camera.
Sign In or Register to comment.