| 10-24-2004, 06:03 AM | #1 |
Well, I've been trying recently to make the body parts of the demon hunter contort in wierd directions... But... the only body parts that will move are the head and chest. I converted this action to custom text, cnped it into a custom text little function in a trigger... AND IT ONLY MOVES THE HEAD. Which isn't understandable... considering I was trying to make the demonhunter completely upside down by tilting the x axis of the bone_root 180 degrees. So, my question is... Is the lock body part facing whatever hardcoded? Code:
call SetUnitLookAt( udg_Caster[2], "Bone_Leg1_L", udg_Target[2], 180, 0, 0 ) Thats what I used, and... Code:
call SetUnitLookAt( udg_Caster[2], "bone_root", udg_Target[2], 180, 0, 0 ) This doesn't seem to work though, which makes no sense to me. |
| 10-24-2004, 08:26 AM | #2 |
I'm not sure if it's supposed to look at specific bodyparts. I think it's about looking "at a unit", which means same level but just in the general direction, however big the unit might be. That's what I've gotten anyway. |
| 10-24-2004, 03:20 PM | #3 |
The offset values are absolute values taking the position of the target unit as a reference. For example, if you set a unit to look at a target offset by 100x 100y and 300z, the unit will look to a point slightly behind the target unit and at a point 300 distance above the target unit. I don't know about changing affected bones, but I'm very itnerested in knowing if that's possible because I wan't to do similar things. |
| 10-25-2004, 04:18 AM | #4 |
Interesting indeed... I think I'll mess with this some. So... you could in face yourself... offset by... 0, 0, -300... for the bone root... that'd make it face downwards right? I mean... it should. I wish I could fiddle around with this tonight, but unfortunatly I have to purchase a new TFT CD. Oh joy... Someone mind testing this for me atm to see if the desired effect is given? |
| 10-25-2004, 03:40 PM | #5 |
I don't get your -300, though.. Isn't it just 300? It's a 360 repeating disc you know ;). I'm gonna try it now, i'll give ya the results shortly. |
| 10-25-2004, 03:55 PM | #6 |
Some *very* interesting results. Download the map below. Some more reseach should be put in to this. Btw, excuse the lame name for the map but it wasnt important. |
| 10-25-2004, 03:59 PM | #7 |
Here's a "working" screenshot. Don't have PSP or PS installed atm so that's all you get for now. Just DL the map. Edit: I haven't tried chest yet! But it should, techincally, be possible to mess a unit up by turning his torso 180 degrees (To 280, I think) instead of the regular 90 degrees... That'd make for something interesting. Definently worth a look. |
| 10-25-2004, 10:09 PM | #8 |
Heh, what I was looking for was -300... from the point of the triggering unit... Since -300 would be a point below the ground... you figure the bone would point to it... Since... from what these folks are saying... The numbers arn't DEGREES, they're an offset from the refrenced unit. Make sense? |
