home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


ragdoll.cfg

by Zizaco on 03/02/2009 20:22, 25 messages, last message: 03/16/2011 14:51, 17370 views, last view: 05/03/2024 07:48

I\'m trying to do the ragdoll work in my character. So i\'ve seen that there is new commands to configure the ragdoll.

This is the mrfixit ragdoll.cfg:
https://sauerbraten.svn.sourceforge.net/svnroot/sauerbraten/packages/models/mrfixit/ragdoll.cfg

I can see that this configure the links, sizes and limit the movement of each bone, but what\'s the exactly structure of it?

   Board Index    Go to next 20 messagesGo to last 20 messages

#1: ..

by eihrul on 03/02/2009 20:57

It's not generated by hand. There is a ragdoll editor: http://tunes.org/~eihrul/ragdoll.tar.gz

reply to this message

#2: Re: ..

by Zizaco on 07/30/2009 21:20, refers to #1

The link of the "ragdoll editor" is offline. Where can i get it?

reply to this message

#3: Re: ..

by eihrul on 07/30/2009 21:39, refers to #2

The link works fine for me.

reply to this message

#4: Re: ..

by eihrul on 07/30/2009 21:39, refers to #3

Wait, try: http://lee.fov120.com/ragdoll.tar.gz

reply to this message

#5: Re: ..

by Zizaco on 07/30/2009 22:48, refers to #4

I'm creating the ragdoll for my character, but i'm having some trouble. How can i set the radius of the spheres? I see no command for that. Should i modify the source code?

reply to this message

#6: Re: ..

by eihrul on 07/31/2009 01:19, refers to #5

You can't set the radius.

reply to this message

#7: ..

by Fred187 on 07/31/2009 02:25

Is there a way to allow ragdolls to respond to gunfire/explosions after the player is dead?

reply to this message

#8: Re: ..

by Hirato Kirata on 07/31/2009 10:16, refers to #7

http://www.youtube.com/watch?v=uTD4KbOCSus

mind you that's a cube 2 mod, not cube 2 :P

reply to this message

#9: ..

by Fred187 on 07/31/2009 14:31

Yeah, I'm trying to develop a mod, and would love to know how to add that as a feature...

reply to this message

#10: ..

by Zizaco on 08/03/2009 22:24

Eihrul, Ok I have learned how to use the ragdoll editor.

I have binded my model joints, fixed the angle limits, exported the cfg and executed it in my modelload. The simulation inside the editor (F1) seems fine, but in sauerbraten when my character dies his body gets hurled upwards in a incompressible speed. Why?

reply to this message

#11: Re: ..

by eihrul on 08/04/2009 06:07, refers to #10

Need to make sure every triangle has distance constraints for each edge. Need to make sure every particle maps to some joint, but not all joints need to map to a particle, like if they are children of some joint that is already mapped - like finger joints attached to a hand joint. Also remember that rotational constraints are relative to the positions of the joints at the time the rotational constraints are set. You need to make sure the model is placed back in the bind pose before exporting the cfg - can use the unmapjoints command to get the joints back to bind pose before exporting.

reply to this message

#12: Re: ..

by Zizaco on 08/04/2009 13:48, refers to #11

It's working fine now. Thanks.

reply to this message

#13: ..

by mikshaw on 03/11/2011 04:13

Cube wiki says "The savecfg command writes a sauerbraten-readable ragdoll.cfg file."

Linux version of ragdoll editor says "unknown command: savecfg"

Any ideas what I should do?

reply to this message

#14: ..

by mikshaw on 03/11/2011 04:31

Found it in the source code =o)
The command is "writecfg", not "savecfg".
So the wiki has an error.

reply to this message

#15: Message censored by administrator

by Razgriz on 03/11/2011 13:13, refers to #14

#16: ..

by mikshaw on 03/11/2011 14:10

Does scaling a model in the ragdoll editor affect the results? My model is quite tiny (used Blender units, which turns out to be about 1/3 scale of Sauerbraten), and I have to increase its size in order to comfortably work with the size of the spheres.

So far I've managed to only create a ragdoll which stretches the body beyond recognition =o)

reply to this message

#17: ..

by mikshaw on 03/12/2011 02:56

Apparently scaling doesn't bother it...finally starting to understand a little better how this tool works. Right now I've got a ragdoll that behaves like it's made of rubber and springs...not exactly what I'm shooting for, but better than what I did yesterday.

reply to this message

#18: wiki updates

by MeatROme on 03/15/2011 00:47

I've mentioned the command-confusion on the wiki now - has there ever been a switch of name for the command, or is "savecfg" just a total fluke?!
Anyway, mikshaw, since you're currently on the cusp of moving from this-prog-is-new to now-I-get-it you're a prime candidate to ask to take notes of your experience, so we can later digest that into something more informative on the wiki.
Just track down "Heureka!"-moments, as well as the big-question-marks you encounter while digging deeper into the usage. Then later we can take these as useful keywords to decide on what, in what order and to what length do we describe for those newly arrived this-prog-is-new folk :-)

reply to this message

#19: ..

by mikshaw on 03/15/2011 02:53

That's a good idea.

I'm dealing with a lot of this-prog-is-new at the moment. For a long time I was using a very sub-par machine which didn't like anything related to 3D. Now I'm using just a regular old sub-par machine, and coming back to Sauerbraten (I think it actually might have been Cube at the time), Blender, and a handful of other things to get caught up on stuff I had been wanting to do during that time.

reply to this message

#21: ..

by mikshaw on 03/15/2011 22:18

In the sources there are lines like this:
COMMAND(quit, "");
and it looks like those are the console commands/keybinds used in the program.

There are several that I don't know anything about, but I'm making a list and going to play with them after I get through the source files.

reply to this message

   Board Index    Go to next 20 messagesGo to last 20 messages


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53835382 visitors requested 71608153 pages
page created in 0.020 seconds using 10 queries
hosted by Boost Digital