Version 1.3 - February 23rd 2016
------- Update Notes -------
I have included links to previous posts where these changes/fixes were posted to help users who are migrating manually.
Inventory System:
Fixed issue with stats not calculating on start if the player is wearing starting equipment.
Fix details can be found here
Fixed issue with forward loop when removing multiple inventory slots dynamically.
Fix details can be found here
User Interface:
Update Added a UI Blueprint Interface class for the Player Controller to remove the need for casting to your own player controller in the UI widgets to access the InventoryManagerComponent.
This will insure that as the Unreal Engine progresses it will be less likely for blueprints or issues to arise from upgrading to newer versions of the engine.
Update details can be found here
Fixed UMG Hotbar not showing for some users when running in standalone.
This issue was caused by a corruption in the UMG BP. This was fixed with the changes to the UI widgets above.
**I would say that the UI changes are optional if you aren’t having any issues with the demo UMG content and unreal, but I recommended them if you are using the DEMO UI as a core part of your project. **
If able, please remove your old inventory files and merge a new copy into your project using the new version 1.3 migration video.
**A quick guide to manually making the changes from 1.3 for exiting projects that are using version 1.2 where merging from a fresh 1.3 isn’t an option. **
[SPOILER]
*
Some people who received the update early had luck migrating just the UI changes by replacing files, but with how the Unreal Engine is setup I wouldn’t recommend trying it unless you are very experienced.
It will probably take way longer fighting with Unreal then it would to just remove the old version of the inventory system from your project and merging it again. Don’t forget to back up your project first before updating.
*
The steps would be as follow for those of you that want to try it on your own and have a 2nd project with 1.3 open for reference.
Inventory Component/Inventory Manager Changes:
- First make sure to make the 2 fixes for the Inventory System listed in the update notes.
Player Controller Changes:
- Open an ARPGIS 1.3 project and migrate the InventorySystem\Bleuprints\InventoryHUDInterface into your own project.
This should only try and migrate the one file and it will place it into your Content\InventorySystem\Blueprints so just move it to wherever your other files are and then clean up redirectors in the content folder.
- Add the InventoryHUDInterface to YourPlayerController in the class settings by “Adding” an interface.
*This will add two new interface functions, and you will have to create the events yourself. You can try copying the UI Interface Events from the open 1.3 project’s **InventoryPlayerController’s **event graph and pasting into **YourControllers *event graph. This will either work or it will fail horribly. If it fails you need to create the events manually yourself using the other project as reference.
Don’t forget to add the logic to the two interface functions
User Interface:
- Using the Open project as a base go into the Inventory_Layout and replace any reference to getting a InventoryManagerComponent to use the new Interface Event call. All ControllerReference’s should be set to the basic PlayerControllerReference as we are no longer casting to “YourPlayerController” and getting an InventoryManagerComponent reference. We can call the Interface events without casting and this is what helps prevent Issues with the current version of Unreal and UMG blueprint linking.
- Do the same as above for the blueprints in the UI\Blueprints\Inventory Folder. Some widgets will require minimal or no changes like the ToolTip.
- After these changes if you are still having issues with the Hotbar, please delete the Hotbar and Hotbar slot widgets and recreate them.
This should really only take a few minutes to build if you are looking at the other 1.3 project while you recreate the widgets.
If you had luck with pasting the Interface Events in the player controller, you can also try backing up your project and when it’s closed copy the new Hotbar and Hotbar_Slot widgets into your UI\Blueprints\Inventory folder and overrite the exiting ones. Please Backup first before trying this.
**
If you are having issues with migrating or updating with changes from 1.3 please send me a support email ASAP.**
[/SPOILER]
The new migration tutorial for update 1.3 is on YouTube.
I will point the original tutorial links to it when the update is live