User Tools

Site Tools


predefined_animation_names

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
predefined_animation_names [2017/07/14 13:10] justinpredefined_animation_names [2022/06/02 01:48] (current) justin
Line 2: Line 2:
 ---- ----
  
-In RPG in a Box, some animation names are connected to certain behaviors and scenarios. For example, when a character moves from one tile to another, the game will automatically trigger the "walk" animation for that character (if it exists). Refer to the tables below (divided by entity type) for explanations of when each predefined animation gets triggered.+In RPG in a Box, some [[animation]] names are connected to certain behaviors and scenarios. For example, when a [[character]] moves from one [[tile]] to another, the game will automatically trigger the "walk" [[animation]] for that [[character]] (if it exists)
 + 
 +When defining a new [[animation]] from the "Add Animation" dialog, you can click the button with the magnifying glass to easily pick from a list of supported names. Refer to the tables below (divided by [[entity]] type) for explanations of when each of these predefined [[animation|animations]] gets triggered.
  
 =====Characters===== =====Characters=====
 ^Name^Description^ ^Name^Description^
-|idle|Plays whenever the character is standing still and no other animations are active. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong". If a character does not have an idle animation defined, frame will be displayed instead.| +|idle|Plays whenever the [[character]] is standing still and no other [[animation|animations]] are active. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong". If an "idle" [[animation]] is not defined, the model's first frame will be displayed.| 
-|walk|Plays whenever the character is moving from one tile to another. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong"If a character does not have an idle animation defined, frame 1 will be displayed instead.| +|walk|Plays whenever the [[character]] is moving from one [[tile]] to another. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong".
-|attack| | +|interact|Plays whenever the [[character]] interacts with an [[object]].| 
-|death| |+|attack|Plays whenever the [[character]] executes an attack during combat. The [[animation_types|animation type]] for this would typically be "Once" or "Ping Pong Once".| 
 +|spawn|Plays whenever the [[character]] is added to [[map]] using the [[Add Character]] scripting function.| 
 +|death|Plays whenever the [[character]] is killed/destroyed during combat or other hazardous situation.| 
 +|revive|Plays whenever the [[character]] is revived using the [[Revive Character]] scripting function.| 
 +|climb|Plays whenever the [[character]] is climbing a [[climbing|climbable tile]]. The first frame of the [[animation]] is displayed when initially grabbing onto the [[tile]].| 
 +|push|Plays whenever the [[character]] is pushing an [[object]]. The first frame of the [[animation]] is displayed when initially grabbing the [[object]].| 
 +|pull|Plays whenever the [[character]] is pulling an [[object]]. If a "pull" [[animation]] is not defined for the [[character]]the "push" [[animation]] will be used instead.| 
 +|walk_<dir>|Plays whenever the [[character]] walks in the corresponding direction, with <dir> being one of the four [[cardinal_direction|cardinal directions]]. This is typically used in conjunction with the "Two-Dimensional" setting (see [[Model Properties]]) to provide different views of the [[character]] based on the direction they're moving. Possible names are "walk_north", "walk_south", "walk_west", and "walk_east".
 +|idle_<dir>|Plays whenever the [[character]] is standing still and is facing in the corresponding direction, with <dir> being one of the four [[cardinal_direction|cardinal directions]]. This is typically used in conjunction with the "Two-Dimensional" setting (see [[Model Properties]]) to provide different views of the [[character]] based on the direction they're moving. Possible names are "idle_north", "idle_south", "idle_west", and "idle_east".| 
 +|attack_<dir>|Plays whenever the [[character]] executes an attack and is facing in the corresponding direction, with <dir> being one of the four [[cardinal_direction|cardinal directions]]. This is typically used in conjunction with the "Two-Dimensional" setting (see [[Model Properties]]) to provide different views of the [[character]] based on the direction they're moving. Possible names are "attack_north", "attack_south", "attack_west", and "attack_east".|
  
 =====Tiles===== =====Tiles=====
 ^Name^Description^ ^Name^Description^
-|default| |+|default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong" and is useful for liquid-based [[tile|tiles]] like rivers and lava. If a "default" [[animation]] is not defined, the model's first frame will be displayed.| 
 +|spawn|Plays whenever the [[tile]] is added to a [[map]] using the [[Add Tile]] scripting function.|
  
 =====Objects===== =====Objects=====
 ^Name^Description^ ^Name^Description^
-|default| |+|default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be "Loop" or "Ping Pong" and is useful for [[object|objects]] with continuous movement like campfires, windmills, etc. If a "default" [[animation]] is not defined, the model's first frame will be displayed.| 
 +|spawn|Plays whenever the [[object]] is added to a [[map]] using the [[Add Object]] scripting function.| 
 +|move|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and is being moved by the player.| 
 +|attack|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and the player attacks an enemy.| 
 +|move_<dir>|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and is being moved by the player in the corresponding direction, with <dir> being one of the four [[cardinal_direction|cardinal directions]]. Possible names are "move_north", "move_south", "move_west", and "move_east".|
  
 ~~NOTOC~~ ~~NOTOC~~
predefined_animation_names.1500063010.txt.gz · Last modified: 2017/07/14 13:10 by justin