Forum rules - please read before posting.

Version 1.65 - Custom translatables, scene-surviving ActionLists, TextMeshPro support

This release brings some fairly large changes to the core of AC to allow for some of its features and improvements, so please heed the usual warnings and backup your projects before upgrading.  The key features:

Custom translatables
This'll be more for those looking to extend AC through script, but it's now possible to incorporate custom text types into the Speech Manager for translation.  I've leave it to the Manual's new chapter to explain the details, but one bonus advantage of this is a speedup for the "Gather text" feature.

Scene-surviving ActionLists
ActionList assets that aren't marked as skippable can now be set to survive scene changes.  This makes it much easier to incorporate "game-wide" logic such as background timers etc, that need to run at all times.  The Scene: Switch Action can also trigger further Actions if used in this way, making it easier to build cutscenes that span multiple scenes.

TextMeshPro support
While this has been available via the wiki script, AC now has built-in support for TextMeshPro by adding TextMeshProIsPresent as a Scripting Define Symbol.  Be mindful, however, that this essentially replaces all of AC's internal references to Text components to TextMeshProUGUI.  This means that all UI Canvases - including the default set - will not display correctly until their components are replaced.

Disabling Action types
This is an old feature that was discontinued a while back due to breakages, but now it's back - the ability to disable Action types within the Actions Manager to prevent them from showing up in Action selector fields.  Pre-existing Actions of disabled types will still show, but you won't be able to change them or make new ones.

Sunsetting Unity 5.3.5
Not a feature, but important to note - the minimum Unity version that AC officially supports is now 5.6.6.  This release will still work with 5.3.5, however, but you'll have to import it into a later Unity version and copy the Scripts folder into your 5.3.5 project.

Comments

  • edited October 2
    And the full changelog..

    Version 1.65.0:

    Upgrade notes
    • Sunsetting support for Unity 5.3.4 - the new minimum Unity version is Unity 5.6.6
    • From Unity 2018.2, the 2.5D GameCamera no longer exposes "Offset" values, as the Physical Camera settings allow for the same effecy
    • If the "Player: Switch" Action uses the old Player's position as a reference for the new Player's, the camera is no longer affected
    • The OnAfterSceneChange event is now called when loading a save file in the same scene, as the LoadingGame parameter is set to InSameScene
    • The OnMenuElementClick custom event is now triggered after the effect of clicking a menu element has been performed

    Speech and translations
    • Added: Ability to include custom text in Speech Manager for translation
    • Added: CustomTranslatableExample script - a sample component that demonstrates how to include custom text in translations
    • Added: Ability, through script, to gather lines to the Speech Manager from the currently-open scene only
    • Added: Ability to list the presence of audio files when exporting speech lines as game text
    • Added: Speed improvements to the Speech Manager's "Gather text" operation
    • Fixed: Lines removed after gathering text still appearing still appearing in the Speech Manager until Unity is restarted
    • Fixed: Matching speech text-merging feature not accounting for lines separated by carriage returns
    • Fixed: Journal pages and variable translations not being properly reset when game text is reset
    • Fixed: Translations of Inventory properties of type "PopUp" not displaying

    Menus
    • Added: TextMeshPro support - add the "TextMeshProIsPresent" scripting define symbol, and Unity UI-based Menus will rely on TMPro Text components
    • Added: "Text alignment" option for AC InventoryBox elements with a "Display type" of "Text Only"
    • Added: Ability to have InputBox menu elements only accept input while they are specifically selected
    • Added: Dedicated method to assign a Graphic menu element's texture through script
    • Changed: The OnMenuElementClick custom event is now triggered after the effect of clicking a menu element has been performed
    • Fixed: Display issues with Unity UI Menus that render in "Screen Space - Camera" mode
    • Fixed: "Release touch to interact with pause Menus?" having an effect when the Input Method is set to Mouse And Keyboard
    • Fixed: Game not always pausing correctly if a “pause” Menu turns on immediately when a scene begins
    • Fixed: Turning on "pausing" Menus resulting in incorrect GameState in rare circumstances
    • Fixed: Minor display issue with ProfilesList menu elements in AC menus
    • Fixed: Issues with the auto-sizing of AC menu Label elements
    • Fixed: Display issues with AC Label elements with a Size property of Automatic

    Editor
    • Added: Improved filter options for the Inventory Manager
    • Added: Progress bar to the New Game Wizard's asset creation process
    • Added: Minor usability improvements to the Actions Manager
    • Added: Limit to the length of non-selected text lines displayed in the Speech Manager
    • Added: Ability to re-order standard Inventory item interactions when "Inventory interactions" is set to "Multiple"
    • Fixed: Display issues when ActionList editors when viewing Actions no longer listed in the Actions Manager
    • Fixed: Display issue with the "Container: Open" Action's UI

    ActionLists
    • Added: Ability for ActionList assets to survive scene changes, provided that they are not skippable
    • Added: Asset-based instances of the "Scene: Switch" Action can run subsequent Actions, provided that the asset is marked to survive scene changes
    • Added: Ability to re-run the Actions that were playing at the time of pausing an ActionList when it is later resumed
    • Added: Ability to disable individual Action types, and prevent them from appearing in type selector lists
    • Added: OnBeginActionList custom event - triggered whenever an ActionList is run
    • Fixed: Not being able to set the "Node colour" of custom Actions

    Player switching
    • Changed: If the "Player: Switch" Action uses the old Player's position as a reference for the new Player's, the camera is no longer affected
    • Fixed: Switching Player resulting in the old Player lingering in the scene one extra frame before being removed
    • Fixed: GameCamera position issues after switching Player

    Characters
    • Added: Method to the Char script to get the angle difference between a character's current and intended facing direction
    • Changed: The Player script's StopTurning method has been renamed to StopTankTurning
    • Fixed: Player "Turn float" parameter not always resetting to zero when control is taken away if movement involves tank-turning
    • Fixed: The Hotspot component overriding the Char component when calculating a head's target direction in the "Character: Face object" Action
    • Fixed: The OnClearHeadTurnTarget custom event not triggering under some circumstances
    • Fixed: Issues with IK head-turning in Unity 2018

    Conversations
    • Added: Ability for the "Dialogue: Play Conversation" Action to link to other Actions if it does not override options and Conversations are not treated as gameplay
    • Added: Ability to configure the delay time between choosing a Conversation's dialogue option and its ActionList triggering
    • Fixed: Skipping a Conversation's dialogue options always forcing a return to gameplay if relying on an ActionList asset file
    • Fixed: Issues when saving if Conversations are treated as normal gameplay

    Cameras
    • Added: Ability to override the input vector read by the GameCamera2DDrag component through subclassing
    • Added: Ability to preview the "active" 2.5D GameCamera through external script, as opposed to solely through its Inspector
    • Changed: From Unity 2018.2, the 2.5D GameCamera no longer exposes "Offset" values, as the Physical Camera settings allow for the same effecy
    • Fixed: First Person Camera's head-bobbing speed factor not having an effect
    • Fixed: Issues with previewing 2.5D GameCameras in Edit mode

    Interactions
    • Added: Ability for "Choose Interaction Then Hotspot" mode to run the selected-Inventory item's first "Standard" interaction by invoking the "DefaultInteraction" input
    • Fixed: Issues with "giving" inventory items when using Choose Hotspot Then Interaction mode

    Misc
    • Added: Fallback rebuild of the game's Options data if it somehow becomes corrupted and unreadable
    • Added: Ability to override the recorded touch phase input through script
    • Changed: The "Object: Transform" Action's "Transition time" field no longer has an upper limit
    • Changed: Private variables and methods in the ActionSpeech script are now protected so that it can be extended through subclassing
    • Changed: The OnAfterSceneChange event is now called when loading a save file in the same scene, as the LoadingGame parameter is set to InSameScene
    • Fixed: Duplicate ConstantID numbers not being corrected if the associated GameObject has more than one ConstantID or Remember component
    • Fixed: Music and ambience audio sometimes playing at the wrong volume after crossfading from another track
    • Fixed: Various issues with the OnAfterSceneChange event
    • Fixed: Documents starting from index "1", instead of "0"
    • Fixed: Compatibility issues with Unity 2018.3 beta
  • edited October 2
    Scene-surviving ActionLists should be great for my day and night cycles! Too bad I need to redo all my Textmesh pro menus but at least they will be cleaner now without needing to reference all those invisible Unity UI texts.
  • Brilliant stuff, thanks Chris for all your hard work on this.
  • Version 1.65.1
    • Added: Tooltips to all Manager fields (Unity 2017 or later)
    • Added: The value fields in the "ActionList: Check parameter" Action can now themselves be set by parameters
    • Added: Text fields in the "Menu: Change state" and "Menu: Check state" Actions now support tokens
    • Added: Progress bar to the Speech Manager’s "Gather text" operation
    • Added: Warning message if the “Menu: Set input box text” Action cannot find the specified Input element
    • Changed: AC-based SavesList menu elements now enforce word-wrapping
    • Fixed: Error when attempting to gather Document page text into the Speech Manager in v1.65.0
    • Fixed: Issues with the "ActionList: Check parameter" Action’s ability to compare Inventory Item parameters
    • Fixed: Triggering an inventory item's "Default Interaction" not always having the desired effect
    • Fixed: The MainCamera in Unity's SampleScene not always being converted to an AC MainCamera when organising scene objects
    • Fixed: Undo operations in the Menu Manager not working correctly
    • Fixed: PlayerCursor script's GetSelectedCursorID method not returning the correct value in Context Sensitive mode
    • Fixed: OnSetHardwareCursor event not firing under certain conditions
    • Fixed: Display issues with menu elements set to scale automatically with no associated text
    • Fixed: Rare movement glitch when pausing the game with characters that rely on Character Controllers
    • Fixed: Speech Manager prompting transfer of "Dialogue: Play speech" Action comments when the Action can be of another type
    • Fixed: Unnecessary error messages appearing after Speech Manager's "Reset text" operation
    • Added: Tooltips to all Manager fields (Unity 2017 or later)
    Nice, I was actually going to suggest this.
  • The Scene-surviving ActionLists feature is crazy appreciated :smiley:

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Unity's Adventure Creator.