Posted December 01, 2023 by GoldMoonStudio
This week i added a level to our game, (our first actual level) the firing range. Its a simple level takes a few seconds to walk from end to end but its not really there for exploring. As the name suggests its a test area for the player, Test how your new weapons fire, see how your gear shift works. See how quickly you can destroy objectives. That sort of stuff.
One of the main issues i had was working with unity's terrain tools. I didnt spend too much time learning them because i had other mechanics to implement into the game. but one issue in particular was the spawn point. I wanted the player to spawn in an under ground segment with a little ramp that would lead to the surface. Unfortunately from what ive experienced you cannot lower terrain in unity without first raising it. In my opinion its demonstrably moronic. I essentially was forced to mutate my pre-existing terrain to try and create the under ground segment for my level.
At the end i just cut the idea entirely, the player would now spawn on a metal platform at the center of the firing range. There's simply other stuff that has to be done for our game so spending an entire week on a level cant happen until other things are finished, such as saving and loading. On the bright side cutting the underground spawn allowed me to run one massive water chunk through the island instead of 4 surrounding the island this fixed a weird issue where the water was z fighting depending on distance from the camera