psygnosys Posted December 1, 2017 Share Posted December 1, 2017 I looked in the forum for a few things about creating Lead Engine characters, but I did not find anything complete. So I would like to ask for help from someone who has done all the work of creating an animated character inside the Engine. I created the character, I have the animations, but now ??? I have already been able to add inside the engine, adjust the animations, but how do I make it ready for the user? With sounds, I have to create the sequences of actions "Flowgraph" and so on, thank you for the help. * Sorry for my English, it's the fault of the Google translator. ^^Insert other media Quote Link to comment Share on other sites More sharing options...
psygnosys Posted December 14, 2017 Author Share Posted December 14, 2017 Our people, about a month from the post, and no one helps ... I need help with this to continue advancing my developments to Leadwerks. Has anyone done it, a character with basic animations and sound ... how can I do ?? Can someone give me a tip or tutorial, video on youtube ... any help will be very welcome! Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted December 14, 2017 Share Posted December 14, 2017 For animation So you have your character in the model editor and can see all the animations playing? Next step would be to load your model in the scene via code or drag it in the scene. You could for instance attach a script to this model and use the animation commands to play animation. If you look at the FPS template you can find out how the crawler does animation. It basically plays an animation based on its current state. Have you tried googling it? Because the first result is a youtube video. it is slightly outdated but should point you in the direction that you need to follow to start playing your character animation. 1 Quote Link to comment Share on other sites More sharing options...
psygnosys Posted December 15, 2017 Author Share Posted December 15, 2017 Now, I remember seeing this video well when I bought Leadwerks ... I could not remember anymore. Thank you! Quote Link to comment Share on other sites More sharing options...
psygnosys Posted December 20, 2017 Author Share Posted December 20, 2017 Dear Aggror, Firstly thank you for replying, I've been watching videos on youtube but videos very old and that did not help much and I continue with doubts. How can you see my character is animated and with the sequences separated, this is very simple to do and now? How do I get him to walk in my direction? attack me die when your life comes to an end? I used tools / BuildNavMesh, and I added the script "Monster.AI.lua" that made my character react when I enter his reaction area, but he is sliding, and attacks me uncoordinated, how do I correct these things? Thank you! Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted December 20, 2017 Share Posted December 20, 2017 53 minutes ago, psygnosys said: How can you see my character is animated and with the sequences separated, this is very simple to do and now? As your screenshot indicates, your character has animation sequences. You can play these sequences to test it out. The AI script plays the animation based on a given state. You probably need to edit the name of animation sequences in that script so that it matches with the animation sequence names of your model. Look like for lines like this: model:PlayAnimation("Run",0.05) For instance: your animation is called 'walk' . 53 minutes ago, psygnosys said: How do I get him to walk in my direction? I don't know the AI script out of my head, but i believe the physics character controller is probably setting you as a target, when the player is near the enemy. This means the rotation is handled for you by the character controller. The 'sliding' you are experiencing is probably because of the point above. It is trying to play an animation that it doesn't know. Try replacing it with one of your sequences. 53 minutes ago, psygnosys said: attack me die when your life comes to an end? The translation is a little difficult for me to understand here. Can you describe this one a little bit more? Quote Link to comment Share on other sites More sharing options...
psygnosys Posted December 20, 2017 Author Share Posted December 20, 2017 Of course, when the character's life ends ... perform the "dead" animation! I will open the script and look for these lines of execution inside the game, again thanks for the support! Quote Link to comment Share on other sites More sharing options...
psygnosys Posted December 20, 2017 Author Share Posted December 20, 2017 I understand that if you can, adjust this character, it would be great, I'm posting it here in the forum, anyone who wants to get it to help set it up, all help will be very welcome ... Attached is the character I'm using to learn how to set up animated characters within Engine Leadwerks. Model4Leadwerks.rar Quote Link to comment Share on other sites More sharing options...
macklebee Posted December 20, 2017 Share Posted December 20, 2017 The character animation should walk/run in place and not actually move. In LE, the horizontal translation is controlled by character navigation not by its animation. The way it is now will make the character constantly look like its sliding. Where did you get this from? If you got this from mixamo, one of the options when exporting animation is for the animation to be performed in place. Do that and your life will be a lot easier. Also, I suggest that you use a modeling app to scale the character to a proper height before importing in LE. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.