EPortfolio Post 4: RE4 Clone - Podium Puzzle and minor material generation

Background

In the last sprint, I’ve created a podium puzzle as well as adding the cogs for the podium puzzle to use. I also added behavior for the cabinet so the player can interact with it to open and close it. In this sprint, I continue working on the cog so that the player can pick it up into their inventory, then attach it to the podium. I also created destructible items with satisfying effects when it breaks. This is so that we can hide items within crates and barrels. Following that, I created a spline object that paints fences along a curved surface, to make level layouts easier. Anf finally finished off with a few height maps to be used during the texturing process to add more detail to models without extra geometry.

Finishing the Podium Puzzle

Continuing from where I left off in the last sprint, the player is able to pickup the blue dial to add it to their inventory. Now, when the player focuses each dial of the podium, the game checks whether the dial is in their inventory, then removes it, and animates it into the corresponding slot for the dial.

Spline walls

Next feature helps level designers to efficiently lay out roadblocks. This script places out a fence object to create a longer line of fences from one object.

Destructables

Following that were destructable items such as crate and barrels. The player can interact with them like other objects in order to trigger their explosion and reveal their contents. You’ll see in the video that the blue dial can spawn from such containers.

Punching

I also wanted to give the player a “punch” animation for attacking. Though as we have limited time, I decided to borrow some of the mellee attacks included in the Unreal Engine template. The method for getting punching to work is quite redimentary. Just trigger the animation on input. After some time, do a sphere cast for destructable items. Finally destroy those items!

Texturing 3D height maps

I’ve noticed my groupmates wondering how we should go about adding more detail to certain models. So I proposed a way of creating greyscale images in a vector software, like Affinity Studio, to act as depth maps for texturing. This video is my explanation of the process.

The first one I attempted to turn into height-map stamps is this cupboard.

I’ve created 3 seperate stamps for the texture artist to use to create those raised impressions on the doors, drawers and other emblems.

As seen in these above videos, even though this technique adds no extra geometry, it still looks like the surface is carved out as the light responds naturally at different angles.

I had a little bit more time to tackle another set of height-map stamps for a detailed table.

The resulting height-map stamps are below:

Built with Hugo
Theme Stack designed by Jimmy