Monday, 30 March 2015

UDK Game Mode CRASH

An attempt has been made at tying to create a custom 'Game Mode' for the level which should allow it to be exported as an executable file. This will also include the functionality of handles footstep sounds found in the 'UTGame' mode.

After reading up and watching tutorials about how the UnrealScript works I have found the relevant code which is used for the 'UTGame' mode. As suspected there is a lot more "stuff" shall we say in this mode that my specific level requires. For example weapon functions, server settings, vehicle settings and lots to d with multi player action. Most of which is not required.

I used a GUIDE to help try and set up a basic game mode but in doing so I have changed or removed something within the original UnrealScript (which sadly was never backed up). Now the UDK Editor crashes whenever I try to load the level. I am not even sure what has been changed or what is going on. I plan next to make a copy of the level assets and try to reinstall UDK to see if this fixes the issue.

Saturday, 21 March 2015

Timed Gates Sequence

In the level there are two sets of timed gates with levers that both must be activated within a certain amount of time in order to open them. The basic system for this was already set up within the Kismet as default but there was little player feedback on what was actually to be done apart from matching numbers on the wall.


One set of levers are situated almost next to each other which from the players perspective is quite easy to see what needs to be done. The second set as shown in the image above are much further apart and needed a better system in place to guide the player on what was required of them.

From a sound point of view a ticking timer sound was created for when the player activated one of these levers, this sound was attached to the lever itself and could be heard spatially within the level. To increase the sense of urgency a music cue was also created to support the fact that there was a time limit on getting to the other lever. This sound can be heard by the player for the entire duration of the set time as opposed to the ticking sound which will fade out as the player moves away from the lever. By having the ticking sound attached to both levers the player can then use this as a guide to locating the next lever as they get closer to it.

As a last touch there was also a camera cut scene used to jump to the location of the next lever that needed to be used. This was created using a movement track within the Matinee and linked to the trigger which is set up for the levers interaction.


Above can be seen what was done in the kismet to make the sequence work. When either of the levers are triggered it calls the Matinee cut scene which then shows the player the next target, also the ticking and music sounds are played whilst a timer is set  using a 'Delay' node. After the delay runs out it closes a 'Gate' which then stops the music and ticking sound as well as the player form being able to open the door. The system is then reset but with cut scenes now disabled. If the player manages to get to the second lever before the delay reaches 32 second they are able to open the door way which then fades out the ticking and music cues.

Wednesday, 18 March 2015

Cave Camera - The Big Entrance

Following up on some advice from my supervisor the decision was made to make more of the cave room being revealed. As it is possibly the most unique and interesting location within the level is seemed fitting to have a quick camera fly though to give some scale and perspective to the player when they enter the cave. This will also help to draw the player further into the level by bringing parts of the level to their attention which they may have missed before.

The same procedure was followed as the beast camera scene to get the camera up and running. From there a short musical section was created using some layered synth patches with the aim of creating a sense of wonder but also caution eg, "does the beast live here".

Cave Camera Matinee

Camera Key-Frames tracked along the green line showing the camera path

Simple Kismet set up which starts the camera scene upon coming into contact with the trigger on the cave entrance 

Friday, 13 March 2015

Beast Camera Sequence

The main threat throughout the level is to come from the suggestion of a beast lurking within the dungeon. To achieve this a camera cut scene was created using the Matinee sequence in Kismet. This was as simple as adding a camera actor to the level and attaching it to a Matinee in the kismet. From within the Kismet key-frames can be added at intervals along a timeline, these key-frames tell the Matinee where the camera should be at a given time. The camera route was laid out on the level map and fine tuned for timing and positions until the desired effect was achieved.

The cut scene was then linked to one of the relics being picked up, the position of this relic (and character at this point) is ultimately where the beast appears to be heading to. This sequence is designed to panic the player and in doing so should grab more of their attention and result in a greater chance of game immersion.


Matinee Sequence for the Beast camera


Camera in action moving along the path defined by the information recorded in the Matinee
A custom sound design was created for the cut scene by exporting the Matinee sequence as a video and importing it to Pro Tools to work with. There was some back and forth editing between sound and video before a final mix was achieved. Once the cut scene sound was imported to UDK it was a case of creating a simple sound cue with it and placing it directly into the matinee sequence on a sound track.


The Kismet sequence above shows how the beast camera scene is triggered (when the square relic is picked up). This also cuts off the original underlying music and atmospheric loops to make way for the 'On_Edge_Loop' which provides a slightly more active background layer. This also lets the player know that the mood has changed after the Hunted music sequence tails off. So the 'Hunted_Main_Alert' music is also called as soon as the cut scene is finished, forcing a sense of urgency on the player.

Once the player leaves the area which is defined by a trigger point the intensity of the 'Hunted' music sequence will begin to tail off and eventually fade out.
Also connected to the beast camera completed output is the 'beast movement' sound cue which has been set up to make it sound like the threat is moving around close to the player position.

Beast movement was created in the same way as the cut scene only this time instead of a camera being moved around it was a note actor which has the beast sound cue attached to it.



'Beast_Sound' cue calls on pitch shifted vocal recordings of roars.


As well as this the end of the cut scene also triggers the 'Random_Beast_Sound' cue, which triggers on on a delayed loop. This sound is different from the 'Beast_Sound' cue in that it contains pitch shifted sounds which were recorded from the Grain bin location recordings. These sounds are low end metallic sounds which work well once the action has died down a bit to keep the tension going.

Random Beast sound cue triggers on a looped delay between 15 and 60 seconds adding to the atmosphere after the beast camera cut scene action.
As the player is quite close to the relic alter at the time of the cut scene they are able to get to the alter and place relics before the music fades. With this in mind, the placing of any relics during the Hunted Music sequence will override the music and fade it out quickly. This avoids any clash between the Hunted music and the relic placement cues, which after testing without this cancellation in place sounded terrible. To break the sudden silence after such a relic placement the trigger for placing the relic was used to re-trigger the beast movement cue which is still within the hearing range of the player. This functions as a nice reminder that they are still being hunted and the beast has gone no where.




Tuesday, 10 March 2015

Level Ambience - Weather

To enhance the connection with the outside world (outside dungeon) I created a weather sound cue which was made up of a rain loop sound and randomised, delayed thunder rolls which I recorded last summer. As there is openings to the outside of the dungeon at various points (complete with water dripping in it was only fitting that this sound be added. It was activated within the kismet so that it played from level start up, now the level feels much more complete from an ambient standing.
Weather system sound cue

Monday, 9 March 2015

UDK Game Mode Problem

I have been trying to export the level as an executable file which will run on another PC as a stand alone game, however it keeps crashing. I have pinned it down to the game mode option in the game world properties option bar. Currently my level is set to the UTGame mode which defines what kind of game is being set up. In this case the 'UT' bit stands for Unreal Tournament, so my game is essentially trying to start up this kind of game when it is exported into an exe. file. As the dungeon level is not set up for this type of game I think this is why is causes the crash. Changing the game mode to anything other than UTGame causes my footstep sounds to stop and the character speed to revert back to the jogging pace which was changed.

I have discovered that the UTGame mode is directly linked to the UnrealScript that was edited to add custom footstep sounds and change player speed. The way forward appears to be to try and create a custom version of the UTgame mode that only holds onto certain aspects of the mode. This means a much deeper look than was bargained for into UnrealScript to try and find a solution.

Sunday, 8 March 2015

Threat Music - Layers of Intensity

Further development of the threat music was carried out and split into chunks that could be better managed dynamically by UDK. A few synthesiser patches as well as drum samples were used alongside the core of the music track which is made up primarily of the Grain Bin samples. These extra additions, especially the drums, worked well to help put more pace into the music.

The main goal of the threat music is to dynamise gameplay by making certain points of the game more exciting. The use of threatening music also, arguably increases gameplay optimisation by informing the player that the tone of the game has changed and a new course of actin must be taken.

Three levels of threat were created which translated as:


  • Hunt_Music_Low_Alert (8 Bars @ 120bpm)
  • Hunt_Music_Main_Alert (8 Bars @ 120bpm)
  • Hunt_Music_Tail_Off (16 Bars @ 120bpm)
The sections were arranged so that they could be played interchangeably, for example; Main_Alert>Low_Alert , Main_Alert>Tail_Off and so on.

It is intended to use trigger points within the level to determine which sections the player can hear.


[UPDATED] 24.04.2015
Here is the up to date versions of the music sections which are currently being used in game.