PDA

View Full Version : SOLVED - How to snap objects right in the sim's hand


Qwebnm
7th Aug 2009, 01:05 AM
Hi everyone i'm new to creating for TS2 but i'm trying to get there actualy i'm concentrating on BHAV coding

My Status:
1. i'm trying to attach my object in the sim's hand as a standard pickup bhav.
2.
- i used the route social 0x02 opcode.
- then the 0x03 reach/pickup with a 0x08 slot.
- 0x71 to snap it to the sims hand with the same 0x08 slot
- then finally the 0x06C to stop all the carry animation...as i dont want them.
3. now the object is attached to the sim's hand & all but [not from inside the
hand but from the outside].

My Questions:
1. is it a bhav - opcode problem & how to fix it?
2. is it GMDC related so i might play with the mesh (original Maxis fingerprints
scanner gun).

Thanks in advance... :)

Qwenm

Echo
7th Aug 2009, 04:30 AM
Just clarifying - you're not having a problem with making it snap into the slot, just with the location of the mesh relative to the hand?

Qwebnm
7th Aug 2009, 04:59 AM
Thanks Echo that saved me alot of time :D

PS: i consider you & Numenor as Great Teachers, actually i started to learn from your beginners tutorial on BHAV and it encouraged me alot as ididnt have nowhere to start from :)

thanks for your help again

Qwebnm

Echo
7th Aug 2009, 08:08 AM
Great! You're welcome!

(I don't actually know what I said, I intended it as a question so I could figure out what the problem was, but if it helped solve the problem than yay!)

Qwebnm
7th Aug 2009, 03:34 PM
Thanks, & i hope i can create something nice :)

actualy i understood that the problem were in the mesh position - as i'm trying to alter/edit the mesh's position in Milkshape to fit in the sim's hand. so if i'm doing the wrong thing i hope you tell me how to fix it.
and also i like to ask if an opcode exists that can fix the position & or rotation of the mesh.

EDIT: if you allow me, this is the file i'm working on, a little messy its a clone of the maxis fingerprints gun. i hope you take a look at it if you are'nt busy

EDIT: just to answer your question i really have a problem of the location of the mesh relative to the hand.

EDIT: i have a quick question: is there a way to make objects remain in 0x06 hand slot instead of the wrist slot 0x08 - by preventing the auto deletion of the object when using 0x06 slot?

EDIT: i think my problem is solved after finding this thread (http://www.modthesims.info/showthread.php?t=182168) - problem solved :)

Thanks

Qwebnm