User Tools

Site Tools


dev:object_fields

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:object_fields [2018/04/12 06:30]
karl Second round of adjustments
dev:object_fields [2020/11/23 08:34] (current)
ryo [anim_suffix] update
Line 3: Line 3:
 This is the description of fields of the object structure, and what they are used to. This is the description of fields of the object structure, and what they are used to.
  
 +The struct [[object_fields_living|living]] and struct [[object_fields_key_value|key_value]] have their own pages. \\
 +The term [[Shared Strings]] has it's own page, too. \\
 See also page [[Objects]] . See also page [[Objects]] .
  
 ===== Issues == ===== Issues ==
-FIXME This page needs complete rebuild. It is unsorted and too large to scroll and to read with almost no content.\\ +FIXME \\
-It appears that server internal variables like //next// and //prev// have mixed with archetype attributes. ​\\+
 **These Object Fields are for now sorted alphabetically [[:​arch:​arch_attributes:​1_index|here]] ** . \\ **These Object Fields are for now sorted alphabetically [[:​arch:​arch_attributes:​1_index|here]] ** . \\
 Whenever =field= gets changed, please do it in the sorted pages in the :​arch:​arch_attributes:​* namespace. ​ Whenever =field= gets changed, please do it in the sorted pages in the :​arch:​arch_attributes:​* namespace. ​
- 
-Jump down to [[#"​living"​ structure fields]] , [[#​Key/​value fields]] 
- 
 <WRAP lo> <WRAP lo>
 FIXME fill in the blanks :) add sharedstring info FIXME fill in the blanks :) add sharedstring info
  
-FIXME maybe this should be part of the object.h file directly? +FIXME make a script to either do object.h -> this page, or this page -> object.h ​\\ 
- +IMHO one should put this data into object.h, in doxygen format, and make a script to do object.h -> this page  --- //​[[user:​rednaxela|Alex Schultz]] 2007/01/03 12:50//
-FIXME make a script to either do object.h -> this page, or this page -> object.h +
-  ​* ​IMHO one should put this data into object.h, in doxygen format, and make a script to do object.h -> this page  --- //​[[user:​rednaxela|Alex Schultz]] 2007/01/03 12:50//+
 </​WRAP>​ </​WRAP>​
  
Line 224: Line 220:
 } object; } object;
 </​code>​ </​code>​
 +
 +----
  
 ===== Head Part of Struct == ===== Head Part of Struct ==
Line 393: Line 391:
 Comment: Used to determine combined animations Comment: Used to determine combined animations
  
-Meaning: NEW introduced since ?+When a player or a monster attacks or uses a skill, if this suffix is defined on the weapon (combat) or the skill (skill use), the server tries to find an animation named "​[player_or_monster_animation]_[anim_suffix]"​. 
 + 
 +For instance, for a Fenx using an animation "​fenx_player"​ who uses a sword (anim_suffix "​sword"​),​ when attacking, the "​fenx_player_sword"​ animation will be used if it exists.
  
 +If no suffix is defined or the animation doesn'​t exist, then nothing happens, else the animation is applied until it finished.
 ==== title ==== ==== title ====
 Type: const char * (shared string) Type: const char * (shared string)
dev/object_fields.1523532658.txt.gz · Last modified: 2018/04/12 06:30 by karl