Jump to content

  • Log In with Google      Sign In   
  • Create Account






Wardrobe

Posted by JTippetts, 28 December 2013 · 623 views

Goblinson Crusoe wardrobe
So it turns out, Goblinson Crusoe is kind of a clothes horse. Well, not really, at least not yet. But he just might end up that way.

Today, I created a wardrobe to add to the list of workbenches:

Posted Image

Using the wardrobe will give you a spellbook of your currently-possessed equipment. (Just one weapon for now.) You can select and "cast" any item from the spellbook to equip that item.

Posted Image

Casting the equip selection will equip the weapon, along with any effects the weapon description specifies, and switches GC to the correct stance for the weapon:

Posted Image

In this case, the weapon descriptor includes a staff, a light and a glowy particle effect.

The weapon switcher is implemented as a component that, when given a table describing a node chain for a weapon, will instance the node chain and parent it to the weapon bone in the animated model skeleton of the owning node. The skeleton contains a specially-named bone for this purpose. The switcher will then send an event to trigger a stance change based on the specified stance of the weapon.

Eventually, the weapon description will also optionally include a list of buffs that affect combat stats and actions; currently, though, it is merely cosmetic. I still have some work to do on the combat system before I start throwing a bunch of buffs around. That might be a project for the very near future.




Wow where are you getting all this great artwork?

 

Thanks!

Blender, my friend. Blender.

I like Blender. Great program.

Recent Comments

July 2014 »

S M T W T F S
  12345
6789101112
13141516171819
20212223 24 2526
2728293031  
PARTNERS