Ever Have One Of Those Months?

January was one of those times where things were just out of whack! I wasted a lot of time but I did learn some things so I guess it wasn’t a total waste…

When I started working on Laughlin Lake (yes, we’re revisiting it!) I thought that the best way would be to construct the entire terrain in an external program (it totally wasn’t) I used a landscape generator to make some random terrain, sculpted the larger details and cut it into large quadrants. I would then work on one quadrant at a time and sculpt in any fine details I needed. I was even able to create roads that conformed to the terrain itself. I used these techniques on the Outskirts map.

febr1

The problem was that this terrain (for the Lake) was about 8 times larger than the one in the Outskirts and had more variances in it. I stuck with this for a couple of weeks but eventually gave up as it became so tedious and ate up a huge chunk of time having to alter it, reimport it, make sure everything was aligned etc. and then go back and do it all over again. UE4 already has its own Landscape tool with almost everything that I could need and yet here I was trying to reinvent the damn wheel!

So after abandoning that idea I started using UE4’s built-in tools to create my terrain. I’ll admit that the last time I used the UE Landscape tool was when it was in the UDK and I didn’t have a good time with it. It had some limitations and I experienced frequent crashes while using it.

febr2

WOW! SUCH ATMOSPHERE!!!!!!

I’m happy to say that this time around it has been painless. It was a bit of a set up but proved worth it in the end. I could sculpt, paint, scatter foliage all in real time and make changes as needed. There is even a tool to create roads and have the Landscape align itself to it! Awesome.

febr3

It’s a modest Material. Cheap and nothing fancy needed!

If during testing I got stuck somewhere on the terrain, I just fixed it up in realtime instead of having to go all the way back into the external modelling program, fix the issue, re-import it in again and hoped that it all worked out. Huge time saver there.

Then I needed to bring in some Spruce trees I created some time back! I had generated them a year ago in Speedtree but never imported them into UE4 because I didn’t need them yet. But wait a minute…something is off. The textures aren’t aligning with the models! I take a closer look and all the tree models (all 88 of them, YIKES) have issues that I somehow missed the first time through. So I renew my Speedtree subscription so I could use the tools and get to repairing them all. In the end, I ended up rebuilding all of my base trees with further optimizations and just randomly generated the rest from those base trees.

febr9

After that was done, I needed some rock and cliff formations. Now, in my opinion, I think that natural-looking rocks and trees are the hardest things to model. That’s just me though, because I’ve seen plenty of other Artists do some mind-blowing work. Anyway, I found and purchased a Rock Generating program (it was super cheap) and though I initially thought that the rocks looked pretty good, I eventually decided it wasn’t what I was looking for. I needed something more realistic.

Then I remembered about Photogrammetry! Yes! I went through a couple of tutorials and it all seemed pretty simple! I decided to get a rock from outside and started to take pictures of it. The very first attempt was a huge success! Out of 125 pictures I took with just my phone, Meshroom was able to use 123 of them. I did this by slowly rotating the rock and taking pictures from the same angle (it sort of reminded me of Highscool when I dabbled in a bunch of stop-motion animation projects. Good times)

febr4febr5febr6

It took about an hour and a half to process and the results were fantastic! I gathered about 10 more interesting-looking rocks and took hundreds of pictures and fed them into Meshroom. Unfortunately, after an entire week, the only success I had with Photogrammetry was the very first rock. The pictures I took kept getting rejected by the program for some reason! Similar setup and lighting, I tried anywhere from 30 pictures up to 200, I tried setting up markers, I tried circling the object. None of it was working and I kept on getting partial, messy models. Each attempt took anywhere from 45 minutes to 2 hours to process. It was just eating away too much time again.

I gave up on that idea and just bought a bunch of photoscanned rocks online, made some alterations and now they’re in-game. I should have just done that in the beginning! I did make a few rocks of my own but I mainly used the photoscanned assets to help flesh out the rock cliffs I had made.

Now onto the Lake water itself! I used the material for the Blood River in one of the Hell levels and altered it to look like water. But wait a second…now what?! It turns out translucent materials can’t accept shadows! I didn’t notice it before because of the lack of directional lighting in the Hell level! So while the water effects looked fine, the shadows from the surrounding environment weren’t showing up on the water! I decided to make the material opaque so that it could recieve shadows and I also dithered the edge of the water to give the illusion of translucency…except now, the water doesn’t have any caustics! Opaque materials aren’t capable of refraction! FOR THE LOVE OF ALL THINGS CRISPY!

After spending a bunch more time on that I finally figured out a method that looks alright. I now have the water recieving shadows, there’s depth to it and the geometry underneath the water distorts properly.

febr10

Obviously it isn’t well represented here but when you see it in motion it looks nice.

Alright, so it’s back to work! The map is nowhere near finished but this should give you an idea of what Laughlin Lake will look like this time around!

febr7febr8febr11

6 thoughts on “Ever Have One Of Those Months?

      • Any previous update entry detailing game design?
        There was a slight mention of it changing from the original mod and that got me curious.

        • I won’t go into it too deeply (gotta keep the element of surprise) but the game has rogue-like aspects to it now. The story contains some of the themes of the mod version but this is headed in a different direction, I would say, more along the lines of what I originally wanted but couldn’t implement because I lacked the know-how.

          Not only in item drops or placements but there are some levels that will be procedurally generated to a degree. There’s the overall world map with specific points of interest but inbetween those points there are several nodes. Each node represents a smaller, somewhat procedurally generated map that you play through.

          These levels that I screenshot are the ones that are important to the main story arc, so you’ll have to go through them as the story progresses but inbetween say, the Grinwood Police Department level and Gunstore level there may 6 nodes that are randomly generated. The Hell levels, outside of a handful of story-specific ones are procedurally generated as well and you must play through them if you’re…”Not Careful” is all I’ll reveal.

          I did this (among several other things like skill selection, attributes etc.) to hopefully inject some replayability into the game. I don’t want players to finish it and never visit it again.

          There are multiple endings and if you are a casual player, you don’t need to follow the story points. The game will be shorter but again, it’s just for a casual experience. If you want to delve into the full story, you can follow the path which unravels that too and that will take much more time!

          • Thanks, that makes things much more clear, will there be a inventory system though? Those screenshots from 5 or so years ago teased it.
            Liking that death system, reminds me of the original Prey somewhat

            • Yes, I have that all ready to go. It’s ugly-looking but the functionality is all there right now. You can pick up items, they’ll have a description, you can leave it or take it. If you take it, it ends up in your inventory and if it is something like ammo, it is stackable. You can also drop any items and they’ll fall at your feet so you can pick them up later or just leave them to be discarded.

              You can mouse-over items while they are in your inventory for a description, you can combine items etc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s