Friday, June 5, 2009

Tim Bewick - Week 22

We just handed in our beta. This week I worked on getting Kei's new menu graphics into the game using Crazy Eddie's GUI tools which are not very user friendly. I also made the HUD graphics work properly in widescreen resolutions. Today I just worked on bug fixing. We have just three weeks until the gold milestone is due and then we do our post mortems for a week and then that is the end of our course.

Grr?

BETAAA!!! It was beta hand-in today and I must say that I am pretty satisfied with where we are at for the moment. There are a few cool things that are in the game. First is the particles. The particles that are not blantant placeholders look soo cool. The one I am most impressed with has to be the Mortar. When you are chilling out on one side of the level and you see a blue thing being lobbed in your direction from the other side of the level, you can't help but be impressed!

My main focus for a while now though has been trying to fix random bugs and crashes. As with all software development cycles, you fix one bug and a whole lot more end up rearing their ugly heads. This will probably be my focus for the rest of the development. This, and random AI stuff as well, including getting the Mother to swipe at the player when it is near them, and also have the Reaper swipe when it makes no sense to lunge. There are still some issues with animation blending which Im confident can be fixed. The environment artist also wants AI agents to push things out of their way because it looks "cool." We'll see what I can do. Until next time, later days.

Michael Bastiaens -Friday 5th June

"Captains Log 5/6/09"

Today is our Beta hand in and its been a rather hectic week of trying to troubleshoot a number of issues. There are still a couple kinks that need to be ironed out such as the alphas on some textures not showing up which means I need to wait on a new shader which would just add to Josh's mouting list of things-to-do so at the moment that seems to be a bit of a gold milestone fix as there are bigger fish to fry.
Ive spent most of this week re-exporting a number of assets but ive also redone some of the other placeholder art assets for the rocket projectile and the mine. Ive also worked on a number of the overheat textures for the weapons and top things up ive also done a few sounds like the exploders explosion which has lots of chunky flesh and blood splash sound effects mixed into the big bang ;)
Next week ill probably be doing some more asset re-exporting as well as cranking out more sounds as soon as the LUA script gets updated so I can fill in the blanks.


-Michael

Wednesday, June 3, 2009

Tim Bewick - Week 21

During week 21 I worked added cheat modes into the game, I added the controls menu and players can now set their controls which get saved in their profile. I also worked on some of the other menus, the HUD and I fixed some problems with the rocket launcher and the avatar's TakeDamage function. I also fixed some errors that happened when the game exits.

Beta is due on Friday!!!

As some readers have probably noticed, the blog posts are starting to become more few and far between. This is due to the fact that Beta is on friday and everyone is working very hard to make the game more and more awesome.

We had a little demostration today which went quite well. We have some cool particle effects working but most importantly the enemies are ruthless and they can hunt you down and get you!!

The main issues to deal with on friday are the animations and the networking. There are still some issues with animation blending, mainly that I cant switch off the certain animations when I need to because of a limitation in Gamebryo's animation system. I am currently in the process of a work around for that. As for the networking, the deal with that is getting the animations to sync across the network. Most of the code to implement this functionality has been implemented in the past but since the overhaul to the animation system, it has to be refactored into the existing code base. I am aiming to have this complete by the end of today.

Other than that, guys are just working on touching up stuff so that we can get play testers in to play our game and help us tweak it.

Anyway thats my 2 cents.

Saturday, May 30, 2009

Animations and other stuff

They way the animations were being implemented has been given a complete overhaul due to the discovery of some of the art tools available to us. I am aiming to have this done by the end of next week at the latest.

On a side note, the mortar is now broken which is annoying because I had it working a wee while ago. So that also needs to be fixed along with a few other bits and pieces.

Other than that, things are going well. Just gotta piece it all together next week so we can playtest and tweak it for gold.

Choice!!!!!!!!

Friday, May 29, 2009

Michael Bastiaens -Friday 29th May

"Captains Log 29/5/09"

This week has been pretty hectic. Ive been working on a whole bunch of things from sounds to weapons. Ive made up a number of unique game sounds so far for the weapons and some of the destruction sounds and I am now waiting for some updates in the LUA scripts so I can add in some new sounds when the time is right.

Ive also spent a lot of time making corpses for all the enemies and have been exporting them out a number of times. On a more demoralizing note.... We have recently found out that ALL the assets need to be re-exported in the future due to a shader issue and how Maya deals with the Gamebryo shaders.... which brings me to my next point. Maya seems to hate Gamebryo when the hypershade is up. There is an incredibly annoying crash which tends to occur frequently when the hypershade is open. It crashes the UI in maya and until the issue is resolved it locks up all UI in all programs essentially disabling the right hand mouse button. If this ever happens to anyone simply close the hypershade in Maya and it should fix the problem. This error has only started happening since the computer was reformatted.

The last thing ive worked on this week is a new and improved rocket launcher projectile which has been rather uplifting considering all the annoying issues that have been occuring this week.
Ive gone with a kind of WW2 Shark head paint style on the missile (WIP Shown below) and along with the rotating fins and epic smoke trail its gonna look sweet az XD




-Michael

Thursday, May 28, 2009

Particles.....

Hello E!

So I have been working closely with an Artist trying to get all the games particles in and working as they have been described to work.

Gamebryo's Maya tools have proven to be horrible horrible when it comes to particles.

First we find we can't use all the particle options Maya gives normally after several failed exports. We later find in the docs in this tiny little piece in the middle of a page the options that are available in Maya to use.

We found some exports still didn't work with the apparently 'will work options' and it took a lot of trail and error before we could assitain what we could use.

The next issue we had was the sorting of the particles. They decided they wanted to draw over everything and anything. We found hidden in Maya some flags that could be set to allow for z testing and writing.

Then a new frame rendering system was implemented and the particles got shitted again! Now their alpha wouldn't work (stayed pink) and they wouldn't draw in front of any objects! Turns out they were being placed in a new root node that didn't have any an alpha accumulator set up on it properly and wasn't being updated correctly.

The next issue was that all the particle systems were Animating at the same time. Turns out a specific cloning process had to be adapted to allow for the time controllers to not be shared. The time controllers also needed to be set to app initialised so we could start and stop the particles when desired.

For a long time I was getting the time controllers out of the node hierarchy purely by chance, and when we started implementing a new particle system that system would not work. It took some time to realise the system could be opened in the asset viewer and the node properties could be viewed for what each node contained. Knowing the correct hierarchy now I could access all time controllers on all particle systems and work with them.

Turned out the particles could not be added to the scene and then removed and added again, they simply did not want to work second time around, something to do with gamebryo internal code. So I revamped the entire particle system so it was better designed to work with all we had learned and loaded each particle we would potentially use in the scene node first and simply moved to and off screen location and moved to the desired location we needed. This however is still and on going issue with reloading the game second time round because the particles get removed and re added to the scene node and still fail to work after a complete deinitialise and reinitialise of the game world.

Another error occurred where a particle was complaining off not having a colour value set, reset the colour value in Maya and re-exported until it worked. Not sure what the exact fix was but it works now...

After all these painstaking errors managed to get all the effects in and playing. Still need to change the way the game deinitialises and restarts so we can have particles on the second playthrough.

Managed to get particles to attach to other nodes in the scene graph so they follow them around.

Frame rate badly effects particles created with a vortex field, they go widely offtrack.

Managed to get looping effects working.

These are only the problems we have faced that I can remember, I'm sure there are plenty more and they have taken a massive chunk out of our development time to get working...

Screens of the particles to come later......

Monday, May 25, 2009

Tim Bewick - Week 20

Week 20. I worked more on tooltips, Made the death camera not be able to rotate so it could go upside down and improved the weapon selector which now has new art thanks to Kei. Here are some screenshots of the weapon selector:






Sunday, May 24, 2009

org hungry, org want eat

So recently we've got the particles working, which has been an absolute pain to SORT out, excuse the pun.



Our main issues were with gamebryo's depth sorting and lack of support for most of maya's nifty particle features (maya being our 3D package of choice). Then there were the little things, like particle systems syncing themselves to the same play time, particle life span and emitter animations; it will ALWAYS look weird when bullet impacts sync themselves together so they can play at the same time regardless of creation. And finally no animated textures, and when animated textures were implemented no syncing to the particle animation; everyone likes an animated billboard looking out of place in a animation right?



Thanks to some lifesaving shader work from Josh we fixed our depth sorting issues and implemented our sprite sheet animated textures. And thanks to Eli and the discovery of NiPSEmitParticlesCtlr (time controller) hidden way down the .nif hierarchy (close to Atlantis I'm sure) we managed to fix our syncing issues.



As for our limitations with Maya, well... In retrospect the use of Maya for particle system creation probably was not the best choice (as gamebryos particle support for 3DSMax is exceptional in comparison). A large amount of fields and features (especially ramps over particle lifespans) were greatly missed (although ramps are VERY expensive to calculate on the fly), but with a lot of planning we were able to escape with some acceptable results.



Although we will be using 3DSMax to get some effects (streak particles... not supported with Maya, but are in 3DSMax ~strange) and some of the outcomes of our effects are less than desirable in certain situations (billboard explosions fail in nooks and cranny's).




Next was the implementation of a day night sky dome. The approach to this was very similar to layered paper. Clouds can animate around a center pivot following a spherical path, while the sky dome (which in this case is a sky sphere ~fancy) rotates slowly across it's x axis continually; wallah a dynamic sky. The changes from day to night are handled by a interpolating texture, keeping 4 stages for gradual texture change (day -> dusk -> night -> dawn) textures can interpolate to gives an even MOAR dynamic sky (lovely ^_^)

this is roughly demonstrated in my notes above (the images detail a bit of thought process, pretty diagrams and such... and a few doodles)



Tweaking shaders to get desired results is something we got on top of and sat on recently. Characters especially were something quite frustrating to get right. The behaviour of the rim light was much too strong and was awkwardly lighting characters feet (which looks funky in a dark environment as the character literally floats). After a little head scratching with shader sliders the conclusion was to include a height gradient to kill the rim lights influence closer to the feet (this gives the illusion that character slowly emerge from the darkness rather then floating ~huzzah chutzpah).



Finally, Level of Detail meshes. Thankfully this isn't something that causes brainpain (TM), as some earlier prototyping and research cleared up the programmatic implementation and the artist pipeline. Gamebryos support for Maya LOD groups makes LODing assets... well... easy? However connecting LOD meshes for characters to BoneLODs is a little (a lot) less forgiving for pipeline execution and looks like it could eat a little time in the future (oh dear).

And appropriate exit based off of the introduction

"HALT I AM REPTAR"