Serious Game – Update #2
My new portable hard drive arrived today so I have been redoing the inventory system but with a different video. The original video I was following can be found at https://www.youtube.com/watch?v=2WnAOV7nHW0&list=PLByRsB4opasAJsJB8HnSCjVYgLjO8knbs&index=1&t=597s. The problem with this system is that it’s for a 2D world and I imagine I could adjust it for a 3D world just fine but I actually found a series of videos for a 3D world after losing the progress. The new videos can be found at https://www.youtube.com/watch?v=_IqTeruf3-s&list=PLJWSdH2kAe_Ij7d7ZFR2NIW8QCJE74CyT&index=2.
The system shown in the new videos allows me to create new items in the Unity editor instead of having to go into the code and type out several lines just to add one item.

I am following the videos still so that I understand what I am doing before I adjust everything to fit my game, so the items I can create in the image above aren’t the items that will be in the game when I’ve finished. Another good thing about this approach is that I can create multiple inventories for different objects without needing to code them myself, meaning I can save the contents to any object in the world that I need to. In the case of my game I will need inventories for the first aid kit and the emergency oxygen kit.
In the images below are samples of code needed to create the new objects and the inventory system.




I have also been searching for 3D models to use for the items in the inventories and most I have found using this site: https://www.cgtrader.com/free-3d-models?keywords=first+aid&low_poly=1&file_types%5B%5D=83&file_types%5B%5D=5. There are still a few I have yet to find and I am having trouble doing so, but I have found that my brain doesn’t like modelling objects itself. If I can’t find something at all then I will have to model it myself, but before that I will probably end up trying to find many ways to get arround modelling things. Links to models I am using can be found in the padlet here: https://artslondon.padlet.org/whobbs0120191/6ek6uuczz05s1kkn. The assets I am using to make the beach area shown in the first image can also be found on this padlet.