User Tools

Site Tools


hpl3:game:scripting:entity_components

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
hpl3:game:scripting:entity_components [2017/04/20 07:51]
alexkalopsia [General] Clarified how it works
hpl3:game:scripting:entity_components [2017/04/20 07:57] (current)
alexkalopsia [General] Adapted to be consistent with other parts of the page
Line 189: Line 189:
  
 ==== General ==== ==== General ====
-When this is added, the backbone of the entity (as defined in the ent file) will be bent as the entity moves along. It is meant to be used by things like fishes, etc to get more natural like movement, but can of course be used for whatever. ​Note that all setup should ​be done in the ent file, and have the component load the type variables.+ 
 +When this is added, the backbone of the entity (as defined in the ent file) will be bent as the entity moves along. It is meant to be used by things like fishes, etc to get more natural like movement, but can of course be used for whatever. ​The BackboneTail component needs to be setup loading up the bones that make up the tail and how much influence they have on each other. This can be done manually through the Setup() method, or by reading the variables ​in the .ent file using the LoadFromVariables() method. 
hpl3/game/scripting/entity_components.txt · Last modified: 2017/04/20 07:57 by alexkalopsia