So, bang in the middle of the holidays, and here's v1.50. This brings improvements major and minor to a lot of areas, but also changes the way the UFPS and Ouya integrations are handled. Pay particular attention to the Upgrade notes with this one, below as usual. First though, a round-up of the major features:
Improved UFPS integration
With UFPS ever-evolving, and the scope of games being made with it ever-increasing, it's clear that a "one size fits all" integration with AC isn't so practical anymore. The focus is now on providing a stable "base" integration that links UFPS with AC's core Actions/features etc, which can be extended by the user for specific needs. The
Manual and
tutorial have been updated with the new (much simplified) workflow.
Unity 5.3 compatibility
AC now supports Unity's multi-scene editing features! The Scene and Variables Managers will now refer to the active scene if multiple are open at once. Be mindful, however, that a bug with Unity 5.3 prevents Actions from being re-coloured in the ActionList Editor window.
Auto-tag save scripts
I don't know if people will love this, or hate it because of the effort they've already gone to, but you can now have AC go through your game and add what it believes are the correct "Remember" scripts to your GameObjects - essentially automating the save-game process. It's still recommended, however, to be aware of the way the save system works, in case you ever need to add these scripts manually.
Improved navigation
A number of improvements to movement and navigation have been made all-round, not least considerable efforts to remove the dreaded "spinning effect". 2D characters can now walk around each other, and scenes that involve Unity-baked NavMeshes can now rely on NavMeshAgents for movement if you prefer - just add the new NavMeshAgentIntegration script to a character. As with the UFPS integration above, this script is isolated from the rest of AC, meaning it can be modified to suit your needs.
Per-character Sorting Maps
This is a feature that seemed to arrive far too late as I was developing it: you can now assign a different SortingMap to each 2D character in a scene (the one you assign in the Scene Manager is still the default). If you want to change it mid-game, use the Character: Change rendering Action.
Full changelog below:
Comments
- The GameEngine prefab now has an additional component - “MultiSceneChecker”, and MUST be re-imported when updating
- AC’s UFPS integration has been updated, but the set-up steps have changed - please see Section 2.7 of the Manual
- AC’s OUYA integration has been updated, but the set-up steps have changed - please see Section 2.10 of the Manual
- Custom navigation scripts are now set by setting a scene’s “Pathfinding method” to “Custom”, and entering in the name of the script
- If dialogue text is separated by carriage returns, each line is now given it’s own translation ID in the Speech Manager
- Pitch constraints on Third-person GameCameras are now set with both minimum and maximum values - not just a maximum
- 2D character turning speeds may need to be adjusted slightly after upgrading
Unity 5.3- Added: Compatibility with Unity 5.3
- Added: The main AC Game Editor window now respects the active scene, if multiple are being edited at once (Unity 5.3 only)
Third-party- Changed: AC’s UFPS integration has been overhauled, but the set-up steps have changed - please see Section 2.7 of the Manual
- Changed: AC’s OUYA integration has been updated, but the set-up steps have changed - please see Section 2.10 of the Manual
Navigation- Added: “NavMeshAgent Integration” script - add to a character in a scene that uses Unity Navigation to control that character’s movement with a NavMeshAgent
- Added: Ability for 2D NavMeshes to allow for pathfinding around moving characters
- Added: Option to “Character: NPC follow” Action to have the NPC turn to face its target when idle
- Added: Chapter to the Manual on precise character movement
- Changed: The “Attempt to move around characters” checkbox on 2D NavMeshes has been replaced with a drop-down list
- Fixed: Various issues with character movement, particularly those in 3D
- Fixed: Polygon Collider-based NavMeshes not adding holes in the correct place if the NavMesh has a non-unit scale
- Fixed: Node Cutscenes becoming improperly assigned if a Path’s nodes are modified
Sorting Maps- Added: The “Character: Change rendering” Action can now be used to change which SortingMap a character follows
- Added: FollowSortingMap components can now follow SortingMaps that are not the scene’s default
- Changed: The “Follow Sorting map?” option on the FollowSortingMap component has been changed to “Follow default Sorting Map?”
- Fixed: 2D characters occasionally being rendered in the wrong order
Speech and translations- Added: Non-default Player prefabs can be assigned in the “Dialogue: Play speech” Action manually, so that their name appears in the Speech Manager
- Added: Ability to assign custom speech AudioClips and lipsync text files to a speech line, rather than having it read automatically by name
- Added: If a Sound component is added to a character’s speech audio source, then it can be used to set the relative volume of their speech
- Changed: If dialogue text is separated by carriage returns, each line is now given it’s own translation ID in the Speech Manager
- Fixed: Unhandled Hotspot interactions not always being included in translations
- Fixed: Original text of a translatable line not showing in Speech Manager once it is selected
- Fixed: Rare issue when skipping speech text
- Fixed: Display issue with subtitle “speaker” Labels if narration and character speech is played in succession
- Fixed: Issues when skipping speech that contains [wait] tokens
Saving and loading- Added: Ability to let AC attempt to “auto-tag” GameObjects with appropriate ‘Remember’ scripts needed for saving to function
- Added: Option to always force-reload the scene when loading a save file in the same scene
- Fixed: Issues when loading a saved game that include a RememberTransform component that has been removed from the scene
- Fixed: Constant ID numbers always not being set for prefabs that have multiple “Remember” components
- Fixed: Issues with save files for projects that have no Player prefab
ActionLists- Added: Ability to convert ActionList assets to Cutscenes, via the top-right menu in the Inspector
- Added: Ability to convert scene-based ActionLists to ActionList assets, via the top-right menu in the Inspector
- Added: String parameters now support Variable and custom tokens
- Added: Field to the Actions Manager that controls the panning or zooming speed when using the ActionList Editor window
- Fixed: ActionList fields sometimes appearing empty under specific circumstances
- Fixed: Issues when copying scene-based Actions using the ActionList Editor window
- Fixed: Action fields sometimes unsetting if they refer to a prefab that is also in a scene
Custom scripting- Changed: The Actions Manager now display a list of Action categories as buttons - clicking a button expands it to show a list of Actions for that type
- Fixed: Error when using the “Object: Add or remove” Action to replace one GameObject with another
- Fixed: Errors if a 2D NPC is removed from the scene using the “Object: Add or remove” Action
Cameras- Added: “GameCamera 2D Drag” prefab to Unity2D games - moves by clicking/touch-dragging around the screen
- Added: If AC detects a non-standard MainCamera when creating a new scene, it will ask you if it should replace it or simply untag it
- Added: The “Always behind target?” option for Third-person GameCameras is now also available when spin rotation is Limited, not just Locked
- Added: Option to crossfade to the last-active gameplay camera with the “Camera: Crossfade” Action
- Changed: Pitch constraints on Third-person GameCameras are now set with both minimum and maximum values - not just a maximum
- Fixed: Third-person Cameras set to rotate “Always behind target” not doing so during Cutscenes
Journals- Added: Ability to use a Journal element to display another Journal’s contents with a page offset
- Added: Ability to set the number of pages to offset by when using a Button element to offset a Journal’s page
- Added: Ability to only display a Button that offsets a Journal’s page if clicking it will be effective
- Fixed: Line-break issues when exporting translations with multi-line Journal elements
Quick-time events- Added: The “Wrong key fails?” option in QTE sequences now responds to simulated input
- Fixed: Mouse clicks ending QTE sequences that have “Wrong key fails?” checked
- Fixed: Display issues with Timer Menu Elements that are used to display the time remaining of a QTE
Menus- Fixed: Rare display issues with Menus when using a Button to offset another Element
- Fixed: Menu previews showing in Game Window even when the active Manager is not the Menu Manager
- Fixed: Minor issues with Interaction Menus
- Fixed: Minor issues when clicking on Unity UI-based Menu Elements
Scene editing- Added: If a prefab is auto-created using the Scene Manager, that object is now highlighted in the Hierarchy window
- Fixed: Hotspots, Triggers and CollisionCube boundaries not displaying properly if their colliders are resized
Hotspots- Fixed: Hotspot icons rendered in World Space not fading out correctly
- Fixed: Hotspot verbs not showing in rare circumstances
- Fixed: Player not always moving to within a Hotspot’s Proximity value if a Walk-To Marker is also defined
Player prefabs- Fixed: Inventory occasionally re-setting when leaving a scene that uses a local Player prefab
- Fixed: Errors when switching Player prefab if multiple GameObjects tagged as “Player” are present in the scene
Other- Added: Error messages to Console if either of the demo scenes are run with the incorrect Managers loaded
- Added: Line breaks to console messages, to improve readability
- Added: Messages sent to the Console using the “ActionList: Comment” Action now support Variable and custom tokens
- Added: Double-clicking on a Manager Package asset file will now bulk-assign all Managers it references
- Added: If a character’s head is turned using the “Character: Face object” Action, then moving the object they face will also turn the character’s head
- Changed: The GameEngine prefab now has an additional component - “MultiSceneChecker”
- Fixed: Character scales set for 3D characters with “Character: Rendering” Action not being in percentages
- Fixed: Further issues when switching from an AC scene to a non-AC scene
- Fixed: RememberMoveable component not always restoring a Draggable’s position when loading a save file
Happy New Year!And a Happy New Year to you too Chris and to you all guys!
Well, we could, but since the game currently has 3 thousand lies of dialogue all set; updating moves all these files out. I.E. wrong lines of text are set to the wrong numbered sound files.
We could go back through all these sound files and rename them, but that's not a small task. Probably would take one of us a week.
The rest updated flawlessly.
I'm not complaining, i would rather you AC keep updating
Just putting this out there for other people who are already deep down into dev.
Used to be fine. My Objects would move to a marker and change the scale at the same time.
@SkyTree: Can't see the image - please give as much detail as you can in a separate thread.
There is no speech in drop down Sound type, only SFX, Musix and Other. Setting to Other doesn't change anything.
Also I noticed this warning regarding Music, SFX, Speech atten.d parameters. What do they do by the way?
Changing to AudioSources doesn't change it either. It's still you have to set it either to SFX or Music and thus if you want to change the volume you'd also change the SFX or Music, there is no separate Speech.
It looks like now you must set Deceleration value Greater or Equal than your Acceleration to your Player script component in Movement settings. Also you must have Multiple Directions checked.
No, still doesn't work
I never said there was Speech - you have to set it to Other, and then it'll obey the Relative volume property.
Making the movment changes you describe to the 2D Demo's Brain2D prefab has no effect. Again, please post *full* details in a separate thread. I'm here to fix it, but can't if I don't know exactly what's going on.
I'll Start a new thread about Character: move to point.
Thanks for looking into it.