User Tools

Site Tools


global:block

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
global:block [2014/04/29 03:35]
Mistermind
global:block [2024/12/04 04:45] (current)
Mistermind
Line 1: Line 1:
 ====== Block Options ====== ====== Block Options ======
-Set how combos and deterioration behave in your game. +Configure the blocking and parrying mechanics for your game.
  
-{{ :global:global_block.jpg?nolink |}}+{{ :global:global_blockoptions.png?nolink |}}
  
-**Block Input:** The selected game input for blocking.+----
  
-**Block Effect:** A prefab with particle effects that is fired when the character blocks.+===== Block =====
  
-**Effect Kill Time:** How long should the effect last before being destroyed.+**Block Input:** Determines the input required to block (Default: None).
  
-**Block Sound:** A sound effect that plays when a character blocks.+**Allow Air Block:** Enables blocking while in the air (Default: Disabled).
  
-**Allow Air Block:** Rather or not characters can block while in the air.+**Ignore Applied Forces:** Prevents the character from being pushed by hits while blocking (Default: Disabled).
  
 +**Allow Move Canceling:** Enables players to cancel into moves while blocking (Default: Disabled).
  
-**Parry Input:** What input should the player "tap" to be able to parry (or "just block") a hit+----
  
-**Parry Timing:** The lower the number, the harder it is to parry+===== Parry =====
  
-**Parry Stun Type:** +**Parry Input:** Determines the input required to execute a parry (DefaultNone).
-   * **Fixed:** Choose the amount of fixed frames the parry animation will run for. +
-    * **Block Stun Percentage:** Instead of a fixed value, the parry can be based off the amount of block stun the hit generates.+
  
-**Parry Effect:** A prefab with particle effects that is fired when the character parries.+**Parry Timing:** The window for successfully executing a parry. Lower values make it more challenging. (Default: 0.3 seconds).
  
-**Effect Kill Time:** How long should the effect last before being destroyed.+**Parry Stun Type:** Determines the stun effect when a parry occurs. 
 +  - **Fixed:** A fixed number of frames for parry stun. (Default: Fixed) 
 +  - **Block Stun Percentage:** Uses a percentage of the block stun for parry duration instead.
  
-**Parry Sound:** A sound effect that plays when a character parries.+**Parry Stun (Frames):** Number of stun frames if using the Fixed stun type. (Default: 2).
  
-**Allow Air Parry:** Rather or not characters can parry while in the air.+**Highlight When Parry:** Toggles a visual highlight when a parry is successful (Default: Enabled). 
 +  - **Parry Color Mask:** The color to flash when a parry is executed. (Default: Red).
  
-**Highlight When Parry**: Should a character flash to a new color when they parry?+**Allow Air Parry:** Enables parries while in the air (DefaultDisabled).
  
-**Ignore Applied Forces:** If enabled, the character will not be pushed by the hit.+**Ignore Applied Forces:** Prevents the character from being pushed by hits during a parry (Default: Disabled).
  
-**Parry Color:** If highlight is toggled, the character will flash into this color for split second when parrying.+**Reset Button Sequence:** Resets the character's input buffer after executing parry (Default: Disabled). 
 + 
 +**Enable Easy Parry:** Makes it easier to parry by extending the parry window across multiple hits (Default: Disabled).
  
 ---- ----
 +
 Code access:  Code access: 
  
-''UFE.config.blockOptions'' +``UFE.config.blockOptions``
- +
-Code example:  +
  
 +Code example:
 <code c#> <code c#>
 if (UFE.config.player1Character.currentLifePoints < 10){ if (UFE.config.player1Character.currentLifePoints < 10){
- UFE.config.blockOptions.parryColor = Color.red;+    UFE.config.blockOptions.parryColor = Color.red;
 } }
 </code> </code>
 +
 ---- ----
  
 [[global:start|< Back to Global Editor]] [[global:start|< Back to Global Editor]]
 +
global/block.1398756935.txt.gz · Last modified: 2014/04/29 03:35 by Mistermind