Update 0.15.0 - Devlog 7 - Light up the dark


NPCs now carry torch at night.

Still have some bugs during capturing the video, such as area light too bright I think. Will fix it later.

Didn't expect so much changes have to done just for a simple change of giving a torch for NPC.

  1. Add spawning of Torch at night to NPC.
  2. Attach Torch to NPC hand location.
  3. Configure holding Torch Animation (End up using the holding cup animation).
  4. Edit animation for the hand joint to hold torch. (This one took the longest, having to slowly tweak the animation settings. Almost given up!)
  5. Script NPC to hold Torch at Night.
  6. Script NPC to not hold Torch at morning
  7. Script NPC to not hold Torch while sleeping
  8. Script NPC to not hold Torch indoor (End up having to create zone detectors)
  9. Edit light source as point light make NPC face too bright.
  10. Add fake spot light to light up area around NPC yet doesn't affect NPC itself.
  11. Optimisation/Culling on Torch mesh and particle effects (otherwise torch over 30 NPCs drop fps heaps).
  12. Script Unequip/Remove torch conditions.

Other note: Installed fullscreen plugin so I can take full-screen ingame capture now.

Change Log:

  1. NPC to carry torch at night (If they have torch in inventory)
  2. Hunters NPC will now go back to the hunters guild to hand in hunted item to exchange for dough (money).
  3. NPC detail view to allow rotation.
  4. Bind NPC rest, hunger, stress points to UI
  5. Add trigger to update NPC location when at home.
  6. Indoor House light to only turn on if NPC is at home
  7. Re-adjust Target UI on Sleeping NPC
  8. Tweaked light turn on and off time
  9. Bind NPC rest, hunger, stress points to UI
  10. Added Zone check for Unique buildings
  11. Fix Target UI bug. (TargetUI not facing player)
  12. Fix NPC sleep not recovering rest points.
  13. Fix NPC sleep animation not looping.
  14. Fix NPC go home loop
  15. Fix NPC not getting up after sleep.
  16. Fix House Roof visual bug.
  17. Fix NPC slide down from the bed after wakeup/getup
  18. Fix Lite Target view not displaying.

-------------------------------------------------------------------------------------------------

More details at:
https://www.livingworldproject.com/devlogs

Open World Sandbox ARPG Indie Video Game.
Current Status in proof of Concept stage.

#indiegames #indiegame #IndieGameDev #videogame #gamedev #indiedev #solodev #devlog #unitygamedev #madewithunity

Leave a comment

Log in with itch.io to leave a comment.