User Tools

Site Tools


dragengine:modules:dragonscript:simpleconversation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:simpleconversation [2025/03/13 23:08] dragonlorddragengine:modules:dragonscript:simpleconversation [2025/06/10 13:07] (current) – [File Format (*.desconvo)] dragonlord
Line 7: Line 7:
  
 <WRAP center 100%> <WRAP center 100%>
-<WRAP center box 450px+<WRAP center box 1050px
-{{youtube>W6Pd6kT94Ro?large}} +{{ youtube>W6Pd6kT94Ro?1000x591 }} 
-<WRAP centeralign>Behavior in action</WRAP>+<WRAP centeralign>\\ 
 +Video explaining what simple conversation are, what they can be used for and how they are created. Shown using Epsylon game project which uses simple conversation a lot.</WRAP>
 </WRAP> </WRAP>
 </WRAP> </WRAP>
Line 268: Line 269:
 ====== File Format (*.desconvo) ====== ====== File Format (*.desconvo) ======
  
-The simple conversation file format is recognized by the LoadSimpleConversation script class. The file is an XML file with a simple structure to define a simple conversation using XML.+The simple conversation file format is recognized by the LoadSimpleConversation script class. The file is an XML file with a simple structure to define a simple conversation using XML. See [[https://lordofdragons.github.io/dragengine/artifacts/xmlschema/dragengine/latest/simpleConversation.xsd|XML Schema]] for use with editors like VSCode.
  
 <uml> <uml>
Line 448: Line 449:
     * ''noCamera'': Do not change camera.     * ''noCamera'': Do not change camera.
     * ''noCameraNoDelay'': Do not change camera and use 0 second delay for speak.     * ''noCameraNoDelay'': Do not change camera and use 0 second delay for speak.
 +  * ''sound'': Path of sound file to play. This is typically used to play voice audio but can be also used for uttering and mumbling if no voice audio is used. Optional.
 </WRAP>|0..N|-| </WRAP>|0..N|-|
 |a|<WRAP>Short version of ''actor'' tag. Attributes: |a|<WRAP>Short version of ''actor'' tag. Attributes:
   * ''i'': Same as ''id'' attribute of ''actor'' tag. Optional.   * ''i'': Same as ''id'' attribute of ''actor'' tag. Optional.
   * ''m'': Same as ''mode'' attribute of ''actor'' tag. Optional   * ''m'': Same as ''mode'' attribute of ''actor'' tag. Optional
 +  * ''s'': Same as ''sound'' attribute of ''actor'' tag. Optional
 </WRAP>|0..N|-| </WRAP>|0..N|-|
 |gesture|<WRAP>Add gesture to play back. Replaces gestures defined in active actor definition. Attributes: |gesture|<WRAP>Add gesture to play back. Replaces gestures defined in active actor definition. Attributes:
dragengine/modules/dragonscript/simpleconversation.1741907302.txt.gz · Last modified: 2025/03/13 23:08 by dragonlord