Pages

Thursday 24 November 2011

Custom AI Character so far

Currently I have a custom AI character in my game next to my Custom Player character with just an idle animation, even though i have not gotten any warnings or errors while compiling the scripting in UnrealFrontEnd, following the player still seems to fail and I will continue to investigate this.





Below is a video of what im trying to achieve with the AI following the player, I can also try to move onto adding pathfinding afterwards to stop AI from getting trapped behind certain areas.


Wednesday 23 November 2011

Trial and Error

So Ive been working on getting a custom AI character to follow the player as a companion, and through numerous attempts of scraping code and starting from scratch, putting together knowledge ive gained on unreal scripting I have a number of failed attempts to show for it which is quite frustrating.

Ive been able to get the custom AI into the game standing with an idle animation and the closest I have gotten to having the AI follow the player is it running off the map and standing idle twitching...






I'll continue to work on this until I have it solved and functional.











I mostly extended the classes for UTBOT and AIController, above are some samples of code i currently have produced.

Tuesday 22 November 2011

Custom Character In UDK




I have got my Own Custom Test Character working in UDK so I now know how to do this when it comes to implementing my finished character model into my game, above is a video demonstration of this. Below are some images!

This took a fair bit of time and trial and error to get working, mostly playing with the FamilyInfo.UC and playerreplicationinfo.uc files located in the UTGame folder and making my own extensions of these in my own Custom Game folder.



Wednesday 16 November 2011

Aztec Empire Rise and Fall

Below is a documentry i watched for more research on the rise and fall of the Aztec civilization. It discusses some of the topics of the expansion of their empire, the creation of their own aqueducts, how they favoured human sacrifice and the clash between themselves and the spaniards led by Hernán Cortés

Friday 11 November 2011

Movable Crosshair

Currently, I am working on getting a cursor or moveable crosshair working once the game starts, I want this crosshair when moved to make the character rotate to its direction so this helps for aiming as well as giving the possibilty to issue commands on the screen for my mechanic.

Ive tried to implement the scripting to do this but havent been successful quite yet and will continue to try and get this working.

Thursday 10 November 2011

My Custom Game Camera

I then began altering the CustomPawn and CustomPlayercontroller.UC files adding scripting to implement my own custom camera. As shown below is part of the code.


After this I edited the IsoCamAngle and CamOffsetDistance numerous times until I had a camera I felt was correct for the game. Below are screenshots and a video of my Custom Camera in UDK.








Setting up my Custom Game

Below I organised the files for my Custom Game using Unreal Development Kit. I used a tutorial as guidelines to do this created by a student from the previous year that mentioned the tutorial to me named Henrik. First of all I went to the folder located in my "Local Disk (C) Drive >> UDK >> UDK-2011-09 >> Development >> SRC" and created my custom folder called AztecGame.


Within this folder I created a Classes folder and within that folder I have currently created 3 .UC files named CustomGame.UC, CustomPawn.UC and CustomPlayerController.UC to extend the default Unreal Classes. 



From here I could then begin implementing my own scripts to alter mechanics, HUD, camera's etc.

Friday 4 November 2011

Project Plan


Above is a detailed project plan I decided to create to help myself manage each topic of work accuratley. The project plan may be edited as time goes on and I have currently made the plan up to March. For now I aim to stick to this current plan for my work flow.

Thursday 3 November 2011

Possible Guardian Design 2


This is the 2nd possible Guardian design which is still unfinished yet. This design still goes along the lines of a character thats meant to look unique and not from the aztec enviroment. I will continually build up on this design as well as one or two others until I have a design I feel is appropriate and fits the Guardian.