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:13] dragonlorddragengine:modules:dragonscript:simpleconversation [2025/06/10 13:07] (current) – [File Format (*.desconvo)] dragonlord
Line 269: 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 449: 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.1741907626.txt.gz · Last modified: 2025/03/13 23:13 by dragonlord