Aller au contenu

Photo

Walking and talking in gameplay for npcs is it possible


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Bassline204

Bassline204
  • Members
  • 26 messages
Hi i was wondering if it was possible to have an Npc follow a set path on it's own and deliver audio or test dialogue while he does so. If i could put gesturing and other animation in that was be great.

Any help on this matter would be great

#2
Yara C.

Yara C.
  • Members
  • 243 messages
Yes, that is possible. To give you a first hint:
You can define various waypoints in the area to set a path. The waypoints have to be named in a specific manner. Then you have to set variables for the animation pattern. (Select the creature, open 'Variables...' in the creature´s object inspector).

The wiki is quite helpful: http://social.biowar...bient_behaviour
A general overview on available animation patterns can be found here: http://www.dragon-ag..._patterns.phtml

To give you an example: (guard_patrolling_)
Name / Value / Default
AMBIENT_SYSTEM_STATE  / 1 / 1
AMBIENT_MOVE_PATTERN  / 1 / 1
AMBIENT_MOVE_PREFIX  /  / ap_<tag>
AMBIENT_ANIM_PATTERN  / 5 / 5

Someone more experienced may add some additional information on the topic how to create ambient dialogues between npcs.
I assume that you know how to create a conversation and how to associate it to a creature. Here is one more interactive possibility:  To associate an interactive line, ie. a greeting, you can set a conversation line in the conversation editor to ambient (Tab Plots and Scripting - Line Settings - checkbox).

Modifié par Yara Cousland, 23 novembre 2010 - 08:48 .