Saturday, February 28, 2009

Shotgun Grunt: I know what must be done.

So for the last 2 and a half weeks I've been working on getting the AI logic and pathfinding code working. Finally!!

The pathfinding was easy enough, this is 'bout the sixth time i've written it. What I've mostly been spending my time on is what we call planning. Where at any time an ai guy looks at whats going on and makes a plan on what he should do next. If you want to know more check out this guy's site: Jeff Orkin - http://web.media.mit.edu/~jorkin/goap.html.

Its an interesting thing to know how a technique logically works inside out, the reasoning for it and everything about it; but its another thing completely to code it in C++, let alone into a group of other inter-connecting systems like physics/multi-threading/etc. 

The thing with coding any sort of algorithm is that if you know both above pieces then the actual typing of the code into a compiler and running is disguistingly smaller than 2 and 1/2 weeks. Like the pathfinding code which I wrote and tested to a point where it was fully working in 1 day. 

It's 'cause, as most coders know that 80% of time is used debugging. The thing is there's a direct relationship with the amount of time spent on debugging versus the amount of understanding of what is being coded in the first place.

Moral of a post that's subject has changed five times is: Understand the concept, understand how to represent the concept in code, understand how the code will interact with other systems, then code it. 

Friday, February 27, 2009

Its alive......ALIVE!

It has been quite an exciting week. The game is coming together very nicely. We have a placeholder level loading up with the physics data. We can run around with the avatar. We can move blocks around the environment. We can play with a teammate over the network. All-in-all, its been a very good week. I am not going to lie though, there have been a few hiccups along the way.

First thing was the awful frame-rate we had. The game was running at 3 frames per second! We have managed to squeeze out 30 frames by fixing the updates for the scene graph and making all the physics objects kinematic during loading. We can probably squeeze out more frames by adding occluders.

The next thing was node rotation and placement. Once the game was running at 30 frames the team noticed that the orientation of the "passive" objects in the scene were all wrong. This was my fault because I was calling the node's "SetWorldRotate" instead of "SetRotate" function. Now that it is fixed, the level, although it just has placeholders, looks pretty cool.

That is what happened this week in a nutshell. To boost morale, Roy and Anthony suggested an afternoon of playing games. It worked very well and probably won't be the last time it will happen during production. Until next time, keep on keeping on, and stay tuned for updates.

Hadouken



caging process on second lieutenant


mapped captain

Its coming along quite nicely.

Like the title of the post says. Its coming along nicely.

Most of the major systems are online, we are only lacking a HUD and a menu system and some enemies but they are not far off. We have a level, a character and weapons as well as some basic networking functionality.

We are having issues with our frame rate, some more culling is needed.

Until next week. We will keep you posted

Week 9 - Blake

This week I was able to start creating the models to replace the placeholders


Tim Bewick - Week 9

I have been working on the scavenging system, weapon overheating and avatar animations this week. The game is starting to actually feel like a game with the player being able to move an avatar around the level. Today we got the afternoon to play some games, Quake Live, Street Fighter IV and Company of Heroes.

Michael -Friday 27th February

"Captains Log 20/2/09"

It was a frustrating week full of Zbrush crashes and Maya Fatal errors. The most annoying of these were the Zbrush crashes which had me in the two steps forward one step back for a couple days. Despite the crashes I managed to finally sculpt the Exploder enemy and create the normal maps for it and im now currently just touching up the base textures in photoshop.

So with out further delay... here are the images for this weeks post. All of the images are of the Exploder enemy as well as the curret work in progress texture map.

So next week I will be finishing off the textures for the exploder as well as moving onto the Alien mother once that is completed. So until then enjoy the weekend and GO THE BLACKCAPS!
-Michael

Thursday, February 26, 2009

Hello E!

This week I got a particle manager going which can load up the gamebryo files and add particles to the scene. It has the functionality to set particle systems to be application initialised so they can be stopped and started programmatically. Discovered also that the majority of particle effects can be baked into the animation of a character etc, say for when the character is firing and there is muzzle flash. Started on the wave manager which is goin to tell the world when to spawn new enemies, and how many of each type to spawn etc. It was going well until my visual studio decided that every project it built was always out of date and forced the project to be built every single time the application is run. Working on this problem at the moment, hope to have it fixed for next week, chow!

Tuesday, February 24, 2009

keep on keep'n on



UVmapped the lowpoly cage of the captain ready to take normals (from xNormal, as maya is refusing the highpoly geometry - as expected)...

And just keeping on the highpoly of the 2nd lieutenant



Same ol', same ol'

Last week Josh and I made a tool to group NIF files back into a scene file. This tool was needed because the Gamebryo exporter for Maya did not seem to like groups. The tool parsed the gsa file, looked for a group asset, and positioned the NIFs in the correct position in the scene. Surprisingly it was not too hard to do.

Other than that, I have been working on loading PhysX data from the NIF files and placing these nodes into the scene graph. Everything seems to be going quite well but we are having a bit of trouble with lag.

In terms of the design, we have not had any real major problems. The GDD is alright for the moment and it has been easy enough to direct people to it when design issues do come up. Besides that everything is going quite well. We're still yet to get any real gameplay into the game but the project is coming together quite well. Until next time....stay tuned for updates.