Monday, 26 April 2010

Weapons

Hey, over the past week I have put the animations for the second NCP on hold until I have a better grasp of how we will create the melee attacks in the engine. I have since been working on the weapons, and below are a couple of sketches for the Alpha characters weapon. For the design I looked to intergrate the energy cell and elements of the character to give the impression that it's a part of the character/armour.

As well as the Alpha weapon I have also began work on the Weapon for the Shaman NPC character, which is a staff capable of ranged attacks. Here is a early draft of the staff model -

Fraps.

Fraps completely mauls the gamma/brightness of Outlast, will have to do checks on other computers to check the levels are correct ingame. Won't be posting any videos until this issue is sorted.

O and I'v fixed most of the major wave spawning glitches, it was a major headache, although I do have more to fix.

Pre-battle travel paths.

Running into a few problems with getting multiple waves to follow the pre-battle paths. I know what/where the problem lies, i'v been reworking kismet nodes to get it working, as soon as I'v done that I'll upload a video.

Sunday, 25 April 2010

Bot intro

Our bots will need to enter the battle in a natural way, they need to look like they know the enviroment very well. One of the things I am keen to implement is to get the bots to jump and navigate across the ruin walls, almost like they are ambushing Alpha from all directions. I came up with a solution that I have nearly finished implementing, the idea is to use hidden jump pads to force the bots to jump across walls and big ruins, then use a couple of extra nodes/waypoints to get them to their patrol route or within combat range of Alpha. Will post a video later showing one of the enemy introduction scenes.

AI Fix, Game Over Sequence & UI Interfaces.

Yesterday's work:

- Fixed Shaman AI glitches, bots now work nicely. Only very minor glitches occur. The major aiming glitch was fixed by getting the shaman bot to look at an attached actor above the players head instead of actually looking at the player, this is because kismet behaves strangely by tell the bot to look at the players controller/spawn instead of the players actual location.

- Created the game over death sequence, when the player dies the camera shot changes to a birds eye shot of the player and starts zooming into the player, it then fades to black with a game over message.

- Created all the base UI menu interfacess, clicking the game .exe the player can navigate the main menu UI and join the game, once the game has ended the player can navigate the scoreboard UI, they then have the options to restart the level or return to the main menu.

Friday, 23 April 2010

Kismet Shaman Ai

The Ai bots are going better than I thought, I found a tutorial online which helped me extend and modify scripts to get navigation meshes working with bots instead of just croud agents. The only problem was that the tutorial was in Russian lol, but I got the gist of it and with my amazement it worked. Now all our bots run around without node paths, free to navigate individually. I spent most of the day setting up all the Ai events in kismet. It's working well, only a couple of small glitches that I have to iron out.

At the moment i'm working on the shaman which is a ranged bot that spawns minions that do melee damage. At the moment the shaman bot patrols when it cannot see the player, only when it can see and is within range will it hunt the player. The shaman can only fire while standing still and stops before coming into melee range. If the player runs towards the shaman, the shaman will run away to try and avoid melee contact, afterwhich will return to do more ranged attacks.

Thursday, 22 April 2010

Custom Crosshair and HUD

Heres a screeenshot of our new custom crosshair, interactive health and energy bars:

Bots continued

Tryed a variety of different methods getting bots working with Nav meshes and I have got it to work to some degree. I'v got a problem with kismets "Move to Actor", I setup a test to get the bot to follow me through kismet however it seems my player location is only updated once and so the ai only moves to that location. On a plus though, the AI navigates without nodes and even avoids trees and ruins etc.

Some more reading:
http://udn.epicgames.com/Three/NavMeshManualCreation.html
http://udn.epicgames.com/Three/NavigationMeshPathDebugging.html

Wednesday, 21 April 2010

Bots

So today I setup the shaman bot, its works in game although a little glitchy at the moment, working on fixing it. I'm also learning about navigation meshes, which is a new feature that isn't 100% implemented in udk, a custom ai controller would be needed to make use of it but there are base scripts out there to work on. I am confident there's enough information and time to get it working with the current build. Nav meshes are far superior to node pathing & when working correctly make some truly kool AI navigation as they aren't confined to a single path. It's also faster to set a level up with nav meshes through an automated process. It would make great gameplay to get the AI to react to the environment so fluently.

Heres some mroe details on it:
http://udn.epicgames.com/Three/NavigationMeshReference.html

Tuesday, 20 April 2010

HUD Fixed

Fixed all the problems with the HUD. Started getting the shaman bot into Outlast, had a frustrating problem earlier which caused me several hours delay while working on the shaman scripts, found out I was using the old game directories instead of the new March engine build, it's always the simple little mistakes which catch you out in the end.

Hud Visuals

Ok so the Hud visuals are done and they work well, a few things to fix.

- Health and Energy positions need tweaking to work with different resolutions.

- A minor bug with opacity controls when firing for the first time.

- Need to make the Crosshairs respond to firing, this is to make the weapon feel its giving a little kick.

Will post some screenshots of the HUD in a couple of hours.

Sunday, 18 April 2010

Coding the Hud.

Its been a productive couple of days, spent saturday night learning more unreal script. Today I have managed to get the ammo/energy and health to be shown on the hud, I had to create a new hud which wasnt extended from UTHUD to get the results we need. I have also hooked up a post processing effect which gets activated when the player has low energy. The post processing effect desaturates the scene & adds a noise visual effect to repesent power loss. When this is combined with sound I believe it will make a dramatic effect.

Saturday, 17 April 2010

Minion Model

Over the past week I've been focusing on creating the second enemy, modelling and textuxing. Here is a Screenshot taken from UDK, so this is more acurate to what it will look like in-game.



I'll be spending the next couple of days rigging and animating the character ready to put in the game.

Friday, 16 April 2010

UDK Build Updated

Ok so before I can do any more major scripting I had to update to the latest UDK build, I must say I wasn't looking forward to doing this because it's never a smooth transition, specially if you have code written with older builds. So January too March build has a lot of changes, epics certainly been busy. Some very exciting features, too many to list here but expect performance increases (e.g. Painted vertex colors now use half as much memory, which I have used a lot.) with better mip-mapping (Makes the texture look more high res, so better graphics!). :)

Although it's taken time to transition to the new build, the final project will benefit a lot because of it. I have a few script errors to sort out but they don't break any script, more like just warnings. Anyway I'll be going over the code again in the next week and make sure everything is running perfectly. I've got a problem with my frontend starting menu in the new build, I think it's not compatible with the new build (although I was going to completely re-do it), will post again when I fix it.

On top of sorting the latest build I've been setting up a nfringe with visual studio 2008, nfringe is a programming enviroment that at the moment only works with VS2005 & 2008, this will greatly improve programming speed, with very impressive intergration with udk, basicly makes VS work with Unrealscript.
If your a student you can get your free copy of Visual Studio and a lot of other free goodies over at: https://www.dreamspark.com/

Anglia Ruskin students can log in with their libary card number and password (If you have logging in problems, log in the libary through Anglia Ruskin's website then visit Dreamspark).