Friday 12 June 2009

The tools of the trade

Hi everyone! As my first post in the blog, I feel like I needed to do a little introduction. I'm Luis, I'm not that known compared to the 2 visible heads around here :P but I'm the other programmer here at Frictional, maybe some of you might know me from the forum, but I kinda vanished from there a while ago... But I'm here again, and this time I promise to be a little more constant than before, which shouldn't be that hard :)

As you might already know, I'm pretty much developing the game tool suite myself, and a lot of stuff has been going on for over a year now. Up to now, this suite is composed of a Level Editor, a Model Editor, a Particle Editor and a Material Editor. All of these use the HPL engine built-in GUI system, which makes it real easy to use the renderer along, that means I can actually do real time in-game previews of stuff.

I'm sure you already know about the Level Editor, and I know you have had a glimpse of the Model Editor in the last workflow demonstration video. But what's this Model Editor for anyway? I'll explain.

Outside the HPL engine realm, a model is just geometry: vertices and edges, textures and texture coordinates, maybe animation data... That's cool, and enough if you want to use it ingame as a static object (part of the world, that is)... but what if you want something to interact with?
That's where the Model Editor comes in, to actually give some "life" to that inert geometry. In a nutshell, what you do in it is pick a mesh, add physical bodies and joints (if needed), attach sounds, particles, billboards, edit animations, and then you are ready to go!
It may sound like a great deal, but the tool makes these tasks really easy for the user to do. Ever tried to mod Penumbra? Then you are gonna love this. In fact, you are gonna love it whether you tried or not :)

One of the nice features this editor offers is to test the model "ingame", meaning you can test the physics and animations of the object just like it's gonna be like in the actual game. They say a picture is worth a thousand words, so a nice video must rock then :P

Well, that's been enough for a nice post. I bet you're now wondering why I didn't mention the Particle or Material Editors, and you don't need to worry, I'm just saving them for later :)


  1. That is actually really cool! Though it seems annoying to place and edit the physics bodies. It would be nice if the editor automaticly reads the model data and shape the physics body after that data. Just a thought.

  2. I hope this will help people in making mods for your games! I always wanted to make horror game!

  3. It looks great, specially if you consider that you can test the real behavior of the model inside the game (I really do like the door example).
    However, I don't like the enviroment's look and feel :P

  4. Nackidno:
    While that would simplify things in some situations, in general you might want to have control over the accuracy of your physical objects. For example, you could represent the vase as a single cylinder. It all depends on what you want to do. Anyway, it is not that annoying in the end ;).

    It sure is helping us, so it surely will help others too.

    Forgot to mention that the Editor look is still work in progress. Shouldn't be too far from the final stage though.

  5. Damn, that's good programing right there. It looks a bit of a pain but I'm guessing it's actually faster than it looks and more confortable than what most other methods offer.
    That mechanic right there is actually a key factor to why Penumbra was such a good game series... Because, how else were you going to make the simple fact of openning a door terrifying?

    Keep it up ;)

  6. I hope you can use physic shapes imported from your 3d app, i don't mind not being able to apply joints on it but simple physics shapes would be cool. Also you seam to lack a scale uniform tool because on the video you scale the physics shapes only on single coordinates.

  7. Wonder-bra! (:P lol)

    This is awesome, guys. This is making it a lot easier to create colliders and joints.

    Greetings from

    PS: If you for some reason have an awful need to send me the source code, don't hesitate to do so :P


Note: only a member of this blog may post a comment.