View Full Version : Knife
21st Sep 2010, 1:30 AM
Hi All! Please help.
I made a knife that a sim should hold in their hand, but, as you can see in the picture, every time the sim takes it, its position is different. Where can I find a mistake, in the animation or BHAV? I tried to change both, but never got good results.
Sorry for bad English:(
25th Sep 2010, 2:40 AM
Does the knife have a "carry" animation? If it does, make sure that during the pick up all the existing animations are cancelled and the carry animation applied. I think it is probably a mistake in the BHAV, not the animation, but I don't know enough about how you made the object to be certain.
26th Sep 2010, 7:17 AM
No, it hasn't. Аction has finished, and knife remains in hand. It's object-accessory. I used for object anim: "o-generic-resettozero-pose" and grasp anim: "a-pose-neutral-stand".
It looks in game thus:
27th Sep 2010, 1:46 AM
Unfortunately, I'm not sure if there is much that you can do about this easily...
The animations that the sim plays when they walk or do something affect all the joints in the sim's arm - the elbow, wrist, hand and finger joints. To snap an accessory into a sim and have it persist past the end of your interaction, you have to snap it into the wrist slot (I think this is what you have done, which is correct). If you try to snap it into the hand slot, it will get destroyed either when the interaction ends, or when the next interaction involving the hand starts. The problem is that many animations move the sim's hand and fingers, and your accessory won't move with them (because it's attached to the wrist, not the hand or the fingers).
There are two things you might be able to try:
- Attaching the object to the fingers. This might not even be possible - I think the only container slot on a sim's fingers is the ring slot, which would mean that no married or engaged sim could use your knife.
- Running a carry-pose overlay at very high priority. A carry pose is one which just affects the parts of the sim's body which is relevant to the carrying - in this case, the right-hand wrist, hand and fingers. You then need to run that carry pose, at a very high overlay priority. That will force it to override all other hand and wrist animations playing on the sim at the time. That is how sims can carry babies and things like that, and still move the rest of their bodies without specific "carrying-a-baby" versions of every animation. If you can't find a close enough carry animation in the game already though, you would need to make it yourself.
2nd Oct 2010, 11:37 PM
It doesn't really matter at this stage what happens with the knife when a sim moves. What I want to do is to make them hold the knife in the same way every time they take it, as now its position is totally unpredictable. Just holding it right all the time (while the sim is standing still) would be good:)
18th Oct 2010, 12:09 PM
"o-generic-resettozero-pose" should do that, assuming that you're snapping the knife into the sim's hand first. Could you post your work-in-progress here? I can take a look at it.
30th Jan 2011, 10:52 PM
Yes, it's taken in hand. Sorry, I saw your answer just now: ( I threw this object. You can still look it?
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.