Ceci est une ancienne révision du document !
Emote
BROUILLON
Comment rajouter un emote en jeux :
Server
liste
2 fichiers dans les data du server :leveldesign/game_element/emotes/
list.emot :
C'est la liste brute des emotes
<ATOM Value="drunk"/>
list.text_emotes
C'est le detail des emotes pour la difference entre ciblé personne , une creature ou soi meme
<STRUCT>
<ATOM Name="Phrase With Target To The Crowd" Value="EMOTE_DRUNK_TARGET"/>
<ATOM Name="Phrase With Target To The Actor" Value="EMOTE_DRUNK_TARGET"/>
<ATOM Name="Phrase With Target To The Target" Value="EMOTE_DRUNK_TARGET"/>
<ATOM Name="Phrase Without Target To The Crowd" Value="EMOTE_DRUNK_NOBODY"/>
<ATOM Name="Phrase Without Target To The Actor" Value="EMOTE_DRUNK_NOBODY"/>
<ATOM Name="Phrase Self Target To The Actor" Value="EMOTE_DRUNK_SELF"/>
<ATOM Name="Phrase Self Target To The Crowd" Value="EMOTE_DRUNK_SELF"/>
<ATOM Name="Access Path" Value="uiEM_Emotes|uiEM_NeuGes|uiEM_Drunk"/>
<ATOM Name="EmoteId" Value="Drunk"/>
<ATOM Name="Animation" Value="drunk"/>
</STRUCT>
Traduction
- code\ryzom\server\data_shard\language\phrase_en.txt
Anime
- code\ryzom\common\data_leveldesign\leveldesign\game_element\anim\anim_set\homin
leveldesign/DFN/game_elem/_anim/animation_set.dfn
leveldesign/DFN/game_elem/_anim/animation_state.dfn
leveldesign/game_element/anim/anim_set/homin/fy_hof/fy_hof_default.animation_set
leveldesign/game_element/anim/anim_set/homin/fy_hom/fy_hom_default.animation_set
<STRUCT Name="drunk">
<ARRAY Name="animations">
<STRUCT>
<ATOM Name="filename" Value="fy_hof_emote_drunk.anim"/>
<ATOM Name="head controlable" Value="false"/>
</STRUCT>
</ARRAY>
</STRUCT>
Client
Liste
- code\ryzom\common\src\game_share\emote_list_parser.cpp
Traduction
- en.uxt in the client, data/gamedev.bnp





