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/01/09 00:02]
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 Effect:** A prefab with particle effects that is fired when the character parries.+**Parry Input:** Determines the input required to execute a parry (Default: None).
  
-**Effect Kill Time:** How long should the effect last before being destroyed.+**Parry Timing:** The window for successfully executing a parry. Lower values make it more challenging. (Default: 0.3 seconds).
  
-**Parry Sound:** A sound effect that plays when a character parries.+**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.
  
-**Allow Air Parry:** Rather or not characters can parry while in the air.+**Parry Stun (Frames):** Number of stun frames if using the Fixed stun type. (Default: 2).
  
-**Highlight When Parry**: Should character flash to new color when they parry?+**Highlight When Parry:** Toggles visual highlight when parry is successful (Default: Enabled). 
 +  - **Parry Color Mask:** The color to flash when parry is executed. (Default: Red).
  
-**Parry Color:** If highlight is toggled, the character will flash into this color for a split second when parrying.+**Allow Air Parry:** Enables parries while in the air (Default: Disabled).
  
----- +**Ignore Applied Forces:** Prevents the character from being pushed by hits during a parry (Default: Disabled).
-Code access+
  
-''UFE.config.blockOptions''+**Reset Button Sequence:** Resets the character's input buffer after executing a parry (Default: Disabled).
  
-Code example+**Enable Easy Parry:** Makes it easier to parry by extending the parry window across multiple hits (Default: Disabled).
  
 +----
 +
 +Code access: 
 +
 +``UFE.config.blockOptions``
  
 +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.1389243735.txt.gz · Last modified: 2014/01/09 00:02 by Mistermind