Game Development Community

first blog: progress on kbm

by Leslie Young · 01/21/2007 (9:45 pm) · 7 comments

My first blog! :) Been using Torque for a few years now and never got around writing one of these, and never really had anything to write about.

Here are a few screenshots from a game I am working on, codenamed KBM for now.. I will post more details on what the game is all about in later blogs (yes, I plan on writing more of these from now on ;)

Please excuse some of the programmer art you will see in here but I've only started last week and don't have an artist on the team yet.

These are from the player character editor. The standard Cubix Studio Female
www.sentient-dreams.com/miscfiles/kbm/shot1.jpg
and after editing...
www.sentient-dreams.com/miscfiles/kbm/shot2.jpg
and some more
www.sentient-dreams.com/miscfiles/kbm/shot3.jpg
To see the editor in action check out this video (10Mb xvid)


#1
01/22/2007 (2:13 am)
Looks interesting Leslie.. So are you runtime compositing the textures into the main texture? Or doing something more funky?

Camera control looks fun too.

Need some method of scaling bones up/down etc..

Plus you need a "random character" button.
#2
01/22/2007 (2:58 am)
Nice one dude! The weekend payed off I see ;)
#3
01/22/2007 (3:10 am)
I got the Mesh Hiding resource in there for the hair and will also use that later for more detailed clothing that is not drawn onto the base mesh.

I started off with the resource that used the Overwrite texture to replace the base one but that was bit limited since I want to do the detailing as you can see in the video and shots and overwrite texture would replace even the hair mesh's texture, so now I am creating a new bitmap from a base (nude) texture (one of the skin colour textures) and then replace the meterial at the index which points to the one being used on the body. something like this where "texture" would be the new one created after I have done all my drawing onto the baseBitmap, very similar to the resource I mentioned.

TextureHandle texture;
texture.set(texName, baseBitmap, MeshTexture);
pMatList->mMaterials[pMatPos] = TextureHandle( texture );

I am worried that what I am doing might not be a good idea or even work over networked sessions and perhaps someone with more knowledge on Torque internals can tell me what he thinks and also how I could ask the resource manager to get rid of old textures not used since with every little change to the character I am creating a new texture and during editing of your character this could mean a lot of unused textures being created.
#4
01/22/2007 (5:52 am)
Cool stuff!
#5
01/23/2007 (2:25 am)
I'll write a resource on this soon as I tested it a bit more.

[edit] resource is up
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12197
#6
02/01/2007 (11:43 am)
Wow, so does this resouce include the GUI functions to change the body?
#7
02/01/2007 (10:04 pm)
Nopes sorry :p I am actually still working on that GUI in the shots and it is kinda too pertinent to my game and design for instance reading values from a sqlite db, and the way items are named (models, textures, etc.) and some other stuff which might be too much of a mess for someone else to make use of.