ORK 2.25.0 is here with new features, changes and fixes!
Head to the download page and grab the latest version or buy a copy in the Unity Asset Store!
The main feature of this update is the new GUI Layout feature – learn more it in this how-to.
This version is available for Unity 5.6, Unity 2017 and Unity 2018/2019. Please note that ORK’s update policy changed – you can learn more about it here.
If you’re enjoying the updates, tutorials and support I provide, please consider supporting me on patron.com – every little bit helps!
- GUI Layouts
‘GUI Layouts’ sub-section available in ‘Menus’ section. GUI layouts can be used to place GUI boxes (e.g. in HUDs) on a defined layout, ignoring the position and anchor of the GUI boxes. GUI layouts can als be used to align content from different sources (e.g. different HUDs).
- Content Layouts
‘%uc’ text code available to add use costs specifically. E.g. for displaying item action costs in addition to the quantity (‘%q’).
- Content Layouts
‘Remove Empty Lines’ setting available when using ‘Custom’ content/info type. Optionally removes all empty lines (also lines only containing spaces) from the text. E.g. use this to remove lines that contain text codes that where replaced by empty text.
- Game Settings: Asset Settings
‘Default Load Type’ setting available. Define how asset bundles will be loaded, either using ‘Load From File’ (default) or ‘Load From Memory’. Assets overriding the asset bundle path will also define a different load type.
- Camera Controls: Top Down Border
‘Use Height Input’ and ‘Use Distance Input’ settings available in the ‘Zoom Settings’. Optionally use separate input keys to change the height and distance individually instead of changing both via the zoom input.
- Input Keys: ORK Input Key
‘Negate Input’ setting available for added input keys. Optionally negate the checked input when considering if an input happened for the combined input of all keys. E.g. use this to allow input if ‘Shift’ isn’t held instead of held down.
- Inventory Settings: Quantity Texts
‘Use Quantity 0 Text’ settings available. Optionally use a different text when displaying quantities of 0.
- Currencies, Items, Weapons, Armors, Crafting Recipes, AI Behaviours, AI Rulesets: Conditional Prefabs
‘Conditional Prefab’ settings available. Optionally use a different prefab for an item/currency/etc. based on variable conditions. Variable conditions can also check item/equipment variables.
- Move AIs: Follow Leader
‘Next In Line’ setting available. Optionally follows the combatant next in line instead of the actual leader. Use this to prevent everyone from following the leader and move in a line instead.
- Move AIs: Hunting, Caution
‘Use Target Change’ setting available in ‘Hunting Settings’ and ‘Caution Settings’. Optionally allow the combatant to change to another detected target that’s nearer than the current target.
- Battle Settings: Auto Start Battles
‘Auto Start Battles’ settings available. Define the default auto start battle settings for all combatants. Combatants can optionally override the default settings.
- Battle Camera: Toggle Key
‘Only Player Choosing’ setting available. Optionally only allow using the toggle key while a player combatant is choosing actions.
- Battle End
‘Loot Dialogue Type’ settings available. Defines which battle end dialogue is used to display the battle’s loot, experience and status value gains. Defaults to ‘Simple’, the previously only available series of dialogues.
- Battle End: Loot Dialogue
‘Layout Screen’ dialogue type available. Displays the battle’s loot in individual GUI boxes at the same time, the combatant gains/level up GUI boxes will also be displayed at the same time. The GUI boxes can be arranged using GUI layouts.
- Battle Grids, Grid Cell Types: Deployment
‘Combatant’ deployment type available. Deploys a defined combatant on the cell.
- Battle AI: Attack, Ability, Class Ability, Item, Defend, Escape, Change Member, Shortcut Slot
‘Can Use Check Only’ setting available. Optionally only check if the action is useable instead of using the action.
- Menu Settings
‘Focus Left Click’, ‘Focus Middle Click’ and ‘Focus Right Click’ settings available. Defines if left/middle/right mouse button clicks can be used to change focus to a GUI box. Using the left mouse button is by default enabled.
- Menu Settings: Drag/Drop Settings
‘Use Choice Layout’ setting available. Optionally use the same layout/look of the dragged choice.
‘Click To Foreground’ setting available. Optionally bring a HUD’s GUI box to the foreground of its GUI layer when clicking on it. If the currently focused GUI box is on the same layer it’ll still be in front of the HUD.
- HUDs: Combatant, Turn Order
‘Multi-Box Layout’ setting available. Replaces the previous offset settings (which are still available) and adds support for the new GUI layouts.
- HUDs: Combatant
‘Cursor Over HUD’ setting available for ‘Individual’ type HUDs using ‘Cursor Over’. Optionally recognize the cursor being over the HUD’s GUI box as cursor over combatant as well.
- HUDs: Tooltip
‘Portrait’ HUD element type available. Optionally displays a portrait of the tooltip content.
- HUDs: Tooltip
‘Has Equip Durability’ setting available in the HUD element’s ‘Display Requirements’ settings. Optionally only display a HUD element only if the tooltip is an equipment using durability (or not).
- HUDs: Quest: Task Settings
‘Advanced Layout’ settings available for task requirements. Optionally add multiple labels to add text and value bars for quest tasks, creating more complex visuals for task requirements.
- HUDs: Console, Control, Information, Interaction, Latest Turn, Navigation, Quest, Timebar, Tooltip
‘GUI Layout’ settings available. Optionally use a GUI layout to place the HUD’s GUI box.
- Menu Screens: Ability, Equipment, Inventory: Sub Menu
‘Show Empty Menu’ setting available. Optionally allow showing an empty sub-menu (without any added buttons), e.g. to display an item’s description.
- Menu Screens: Quest: Info Box
‘Accept Closes Info’ setting available when not using a back button or activation choice. Optionally close the info box when using the ‘Ok’ button or ‘Accept’ key.
- Menu Screens: Quest: Info Box
‘Show Ok Button’ and ‘Show Cancel Button’ settings available when not using a back button or activation choice. Showing the ‘Ok’ and ‘Cancel’ buttons of the used GUI box is now optional.
- Menu Screens: Status Value Distribution
‘Enable Tooltip’ setting available. Optionally show a tooltip of the status value changed by an input.
- Text Display Settings: Use Cost Display
‘Action Cost Text’ settings available. Defines how action costs are displayed in use cost texts. Action costs refer to actions per turn in ‘Turn Based’ and ‘Phase’ battles, and to timebar cost in ‘Active Time’ battles. The action cost in ‘Real Time’ battles are always 0.
- Game Events: Actors
‘Found Objects’, ‘Global Objects’ and ‘Selected Data’ actor types available. Optionally use game objects (or combatants) stored in found/global objects or selected data as an actor. The game object/combatant is selected whenever the actor is used in a node, i.e. changing the found/global object or selected data will also change the actor for the following nodes.
- Game Events: Unequip Selected Data
‘Unequip Selected Data’ node available in ‘Combatant > Equipment’ nodes. Unequips weapons and armors stored in selected data from a combatant.
- Game Events: Close Battle Gains
‘Close Battle Gains’ node available in ‘Battle > Gains’ nodes. Closes a currently opened battle gains/loot dialogue.
- Game Events: Spawn Combatant
‘Use Selected Data’ settings available. Optionally spawn combatants stored in selected data.
- Game Events: Toggle Battle Camera
‘Toggle Battle Camera’ node available in ‘Battle > Battle’ nodes. Toggles the battle camera on or off.
- Battle Components
You can now set up ‘Battle’ components without any defined combatant and rely only on deployed combatants from battle grids or auto joining.
- HUDs: Tooltip
‘Use Bar’ and ‘Bar Type’ settings have been replaced by the ‘Type’ setting to select ‘Information’ (text), ‘Level Points’, ‘Durability’ or the new ‘Portrait’ element type.
- Combatants: Auto Start Battles
The ‘Auto Start Battles Settings’ are now moved to the battle override settings, as the default settings for all combatants are now defined in ‘Battle System > Battle Settings’. Previous settings will automatically be updated to use the override settings.
- Battle Grid Settings: Examine Grid
Using the ‘Cancel’ key will now close all combatant info boxes that where called using an input key at once.
- Grid Highlights
Combatant selection highlights now take priority over other highlights.
- Weapons, Armors: Override Prefabs
Overriding item collector and equipment viewer prefabs/materials in an equipment’s level is no longer separate. If you’ve previously only overridden one of them, make sure to also set up the other after this update.
- Menu Screens: Quest
Fixed an issue where settings where hidden in the editor when certain quest states where not enabled to be shown.
- Save Games
Fixed an issue where saving scene data for scenes with a name containing ‘ – ‘ lead to errors when loading the save game.
- Abilities, Items
‘None’ target range actions of AI controlled combatants no longer use targets/cells out of use range.
- Grid Battles: Orientation
Fixed an issue where using ‘Turn End Orientation’ caused the orientation selection’s UI to still be present after the battle ended.
- Status Development
Fixed an issue where using ‘Formula’ type development for ‘Experience’ status values using ‘None’ experience and ‘Earn on Level Up’ caused adding wrong values to the status value on level up.