Search the Community
Showing results for tags 'ragdoll'.
Found 3 results
After 1 week learning LUA Script in Leadweeks, with asistance from our mighty members (macklebee, Josh, Brutile), I have created a test ragdoll and a gun to shoot it. Ragdoll's limbs are dismemberable too. These are videos about my work (this one has a better quality) I feel so excited now. I want to go further... I mean How can I "attach" this ragdoll skeleton to my character Mesh? I used Blender Export Addon for Leadwerks, after that I only got a .mdl file with out any bones in it. I created bones for my character in blender. I noticed that bones are still remain with exported FBX file but I don't know how to use those bones Can anyone give me some suggestions about my question ? Just show me the right way. I will follow hehe. Thank you guys ========================================== (Edited in 160222) ========================================== This part is for members who want to refer my ragdoll code. I know these codes are not perfect and surely need more development. You are free to adjust my code. If you find out any better method to improve it, please reply in this topic. I know I am still new with LUA Script and game programming. Here is the instructions: Create a new Map then a Box for a ground. Create a Pivot, place it right on top of the ground box, name it "Ragdoll spawner" or whatever you like. Attach "RagdollChest.lua" to this Pivot. You can change any parameters of Ragdoll, everything will be auto adjusted to produce a desired ragdoll form in your map's scene. Create a Camera then attach "CustomFPSPlayer.lua" to it, Drag above "Ragdoll spawner" into "Target ragdoll" and choose "fire sound" in Script tab. You should change the default weapon model (around lines 46 - 48) That is all !! Press F5 and have fun. Control: Left Mouse = Shoot Right Mouse = Iron Sight Middle Mouse = Reset Ragdoll ADSW = Movement control X = FreeBone Style1 C = FreeBone Style2 (default for bullet impact on ragdoll) RagdollChest.lua CustomFPSPlayer.lua
So I have been working on a game based around throwing ragdolls called Castle Defender. The concept is pretty much the same as Defend Your Castle ( http://www.xgenstudios.com/play/castle ) except for that it takes place in 3D. My issue is that I want to have many more active enemies but I can only have a few enemies active before the fps drops to low. If someone could help me find the cause of this low performance I would be very grateful! I have made a small test project that includes the base features of my game, feel free to check it out and play around with things! Test Project - https://www.dropbox.com/s/f175yk9mvaxkf9p/Test.zip?dl=0