Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Wed Jun 19, 2013 2:16 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: EditAFs: the model spawned in a strange pose
PostPosted: Wed Aug 08, 2012 9:14 am 
Offline
picked up 75 health

Joined: Thu Jan 12, 2012 7:50 am
Posts: 78
Location: vodka, balalaika and matryoshka-dolls
Attachment:
ragdoll.jpg
ragdoll.jpg [ 70.23 KB | Viewed 99 times ]


On the right - the model generated by "spawn monster_abc".
On the left - same model generated by using the "Spawn" button in editAFs.

Why is this happening?

af:

Code:
articulatedFigure monster_abc {

settings {
   model "monster_abc"
   skin ""
   friction 0.3000000119, 0.400000006, 0.8000000119, 0.5
   suspendSpeed 20, 3, 0, 0
   noMoveTime 1
   noMoveTranslation 1
   noMoveRotation 1
   minMoveTime 0.5
   maxMoveTime 1
   totalMass 100
   contents corpse
   clipMask solid, corpse
   selfCollision 1
}

body "corpse" {
   joint "origin"
   mod orientation
   model box( ( -20, -20, -40 ), ( 20, 20, 40 ) )
   origin joint( "origin" )
   density 0.200000003
   friction 0.0099999998, 0.0099999998, 0.8000000119
   contents corpse
   clipMask solid, corpse
   selfCollision 1
   containedJoints "origin spinner"
}

}


def:

Code:
model monster_abc{

   mesh         models/abc.md5mesh
   anim idle        models/abc.md5anim
   anim af_pose    models/abc.md5anim               
   channel legs ( *origin )
}

entityDef monster_abc {

    "inherit"     "monster_default"
    "scriptobject"    "monster_zombie"
    "model"   "monster_abc"
    "ragdoll"   "monster_abc"
    "size"     "82 82 96"
    "use_aas"     "aas96"
    "team"     "1"
    "rank"     "0"
    "health"     "25"
   "anim"     "idle"
   "mass"     "50"
}


Top
 Profile E-mail  
 
 Post subject: Re: EditAFs: the model spawned in a strange pose
PostPosted: Wed Aug 08, 2012 12:34 pm 
Offline
Very Senior Forum Poster
User avatar

Joined: Sun May 29, 2005 10:02 pm
Posts: 7096
Location: Here, not there.
I think the first body needs to be called "body". Not sure though.

You have "spinner" as part of your first body. So it looks like it's moving that joint to body for some reason. Notmally the first body contains all the joints except ones that contain another body. Look at the other doom AF's but I'm thinking you'll see just origin. Maybe *origin & -*whatever_the_children_are. * includes all the child bones, -* excludes them all.

_________________
Fuzzy Logic Inc
PAINTBALL DOOM 3!!!!
Check out my Q2 server! q2server.fuzzylogicinc.com :D
Doom 3, Paintball! d3server.fuzzylogicinc.com


Top
 Profile E-mail  
 
 Post subject: Re: EditAFs: the model spawned in a strange pose
PostPosted: Thu Aug 09, 2012 6:10 pm 
Offline
picked up 75 health

Joined: Thu Jan 12, 2012 7:50 am
Posts: 78
Location: vodka, balalaika and matryoshka-dolls
1. Add new bone "chair" (see pic).
2. Set correct bones chains, bodies and modified joints.


Attachments:
ragdoll3.jpg
ragdoll3.jpg [ 52.38 KB | Viewed 43 times ]
ragdoll2.jpg
ragdoll2.jpg [ 40.21 KB | Viewed 40 times ]
ragdoll1.jpg
ragdoll1.jpg [ 63.03 KB | Viewed 49 times ]
Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group