Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help Model doesnt wanna turn its head
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#1
Model doesnt wanna turn its head

So, what I wanted to do here was to make the statue being able to look at the player. I have the model rigged and everything ready. But yet, he doesnt wanna look anywhere. Here's a pic of the model itself:

Spoiler below!
[Image: 2ckFaZN.jpg]

The joint selected (joint4) is what I've written on MoveHeadBones. The MoveHeadBonesMuls is -0.5 -0.5, just like Agrippa. What am I doing wrong here?

Derp.
07-06-2014, 04:38 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: Model doesnt wanna turn its head

Did you set it as NPC in the modeleditor ( guess you already did that )
You might be able to set the MOVEPLAYERHEAD funstion to 1 bone ( red ball )
Not sure anymore, i did the same long time ago.. Just try the Moveplayerhead with all the red balls and see if it even moves at all,..
07-06-2014, 09:02 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#3
RE: Model doesnt wanna turn its head

Gonna give it a go. Updating when I've tried.

Didn't work Sad

Derp.
(This post was last modified: 07-06-2014, 09:27 PM by Neelke.)
07-06-2014, 09:16 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: Model doesnt wanna turn its head

darnit.. i'll have to pass this one Neelke... Need to go to bed, long hard day at work tomorrow :S
When it's not fixed i'll try to look at it tomorrow.
I guess you did it already, just look exactly what Alexander has for bones.. you maybe need to do something with Maya???
Good luck pal.
07-06-2014, 09:29 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#5
RE: Model doesnt wanna turn its head

Appreciated, man.

Derp.
07-06-2014, 09:36 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Model doesnt wanna turn its head

You might want to try this:

SetNPCFollowPlayer("statue", true);

Set your statue as an NPC and put this in your map script, if possible in the OnEnter section. Yeah, that'll move all the body, but it's the only way I see it working. If you had to move just one bone it'll look weird.

Besides of this, I have 0 idea... I've never used NPC's.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 07-07-2014, 12:47 AM by The chaser.)
07-07-2014, 12:46 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: Model doesnt wanna turn its head

I think you need animation but if I recall correctly, you need a monster.
One way to do it is make the statue with the head and body as separate objects. Put the headless body in the Level Editor then make the head to be static, but movable. And then use RotatePropToSpeed on the head.

Now that if it wants to glance at you shortly. As for it tracking you, that would be more tricky. You can measure how much the player moves and then using GetPlayerPos from the AAMFP update to make the head follow you, but the player can optionally run or not so it's tricky.

"Veni, vidi, vici."
"I came, I saw, I conquered."
07-07-2014, 04:39 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#8
RE: Model doesnt wanna turn its head

IF you add me onj Skype i think i can help you.
You can add me on Skype, Might be usefull if you encounter other thinks i might be able to help you.
The forum can also be a tit slow, but overall this forum is very good as quickness imo!
redmaster12345
Greetings DnALANGE
07-07-2014, 04:54 PM
Find




Users browsing this thread: 2 Guest(s)