Jump to content

Home

question on behaved


000nate

Recommended Posts

In behaved how can I get kyle to raise the transmiter type device he carries around, and puts up to his face in cutscenes. I already have the cutscene its self I just need to get kyle to raise his hand up to his face in part of it holding the transmiter so that it looks like hes talking to jan.

Link to comment
Share on other sites

This is one animation I do know how to do:

 

In the script, affect the targetname of the npc_kyle. Then from the affect have a set_animation - there is one for using the animation. Also you need a set_animation_holdtime, make it as long as you want him to hold up the mic.

 

That should do it :)

Link to comment
Share on other sites

Kengo as I might have told you before in a previous message I know of your camera tutorial and have used it. Thats why I said I have the cameras working. And that was done in a detailed explination. Why can't you give me a detailed explination on how to add anims to it?

 

:I have moving cameras and all.

Link to comment
Share on other sites

Np man. I just need to be certain on something before I write a tutorial on it, writing tutorials with a lot of uncertainty and "this might work, "or it might not" just isn't good :) I'm gonna leave the tutorial writing for a bit and work on mapping some more, and hopefully learn more on animations.

 

Basically, you need to affect the NPC (who needs to be given a targetname to identify them) , then set the animation (i recommend animation_both), then set animation_holdtime directly below, and the amount of time you want the animation to last in the animation holdtime command. That's basically the ground floor of how you do it, I just recommend you experiment and see what you can do, I really don't know anymore about animations than what I've just typed, yet :)

Link to comment
Share on other sites

Come on, 000nate. If you already know how to run scripts, how to control NPCs and cameras, you are certainly advanced enough to have a look at the Raven scripts and start to learn things yourself. Kengo's tutorials are great and undoubtly much needed in the beginning, but still the best source in scripting are the ready made scripts and simple, pure trials. How do you think Kengo or many others learnt BehavEd in the first place?

Link to comment
Share on other sites

Well, in the cinematics, when you are animating your characters, you have basically three ways: you might just apply some animation (like with anim_both) and then see how it looks like in the game. The other way is to open your chap in the ModView and then play the animatic sequences, one by one or by choosing animations with intelligent names and see how the dude rolls his hands.

 

The third way is to study the Raven scripts. The key in this business is to try to remember the actual game. Like with compad, I think Kyle used that at least in the end of the Kejim_Base map, that is, if I remember correctly. And bear in mind also the fact that cinematic scripts are all in the same cinematics folder, not in level specific folders. To have Kyle hold the compad in his hand, you also need to issue some command.

 

targetname thig to identify the npc well what do I name

 

You use NPC_targetname if you want to affect an NPC. It's a good custom to name your characters in the manner you remember later, like cinkyle or cinjan etc. That name you will use with affect command.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...