Okay, I'm planning a pretty advanced cog here so I thought I might get some input and ideas before starting out. Basically, I'd like to make the player point his head at an object, and keep looking at it till he walks a certain distance away from the object (yes, like in Grim Fandango). Of course, MotS cog doesn't include functions for this, but there are a few similar features in the JK games.
You know the missle turrets that stay locked on you till you get a certain dinstance away from them? Well, that is done by setting two joints in the pup (one for pitch and one for yaw) and using the AI command TurretFire. Now, since the player's head is to do both the pitch and the yaw, I thought I'd set them both PUP assignments to the head joint (will that work...?); even if doesn't, I can set the pitch to the head and yaw to the neck, it's not a big deal.
Now, the big question is whether I'll be able to use and AI with the player. If that's impossible, the whole thing is.
What do you think?
You know the missle turrets that stay locked on you till you get a certain dinstance away from them? Well, that is done by setting two joints in the pup (one for pitch and one for yaw) and using the AI command TurretFire. Now, since the player's head is to do both the pitch and the yaw, I thought I'd set them both PUP assignments to the head joint (will that work...?); even if doesn't, I can set the pitch to the head and yaw to the neck, it's not a big deal.
Now, the big question is whether I'll be able to use and AI with the player. If that's impossible, the whole thing is.
What do you think?
Dreams of a dreamer from afar to a fardreamer.