Appearance-modifying Armor (and more)
by Byron Johnson · in Torque Game Engine · 03/02/2008 (5:34 pm) · 2 replies
So, I had sort of long set of questions, but I'll try to cut it down to the really important parts:
I'd like to make a way to have a player be able to change their appearance in particular areas by changing the equips they have. more clearly, if a character changes a visible equipment piece, I want that part to change on the player model, and a further example: a player wearing all leather armor gets Iron Greaves and puts them on, and the leather boots on the model change to iron greaves, with the geomerty changes as well. I'm thinking about how to do it: have a base model and just mount the armor on them. is there perhaps a better way to do this? I'd think even with low poly models that that would get restraining after a while, with alot of players in one spot even.
Another thing is for changing the color properties of something on the fly. I have made a basic hair texture, and
a basic eye texture, both grey. I'd like to allow the player at customization to specify the hue, saturation, and lightness of the hair and of course allow colorizing. or just use RGB values, that works too. I'm not sure what I need to start doing to get that to work.
And ANOTHER thing, is a more RPG based inventory system, with the items holding static and dynamic values. So, if a sword had a set of base values, and attributes, it could have modifiers built in for a sort of weapon experience system, like dark cloud 2's, with weapon durability and all. I think if I could just get a nudge in the right direction, I think I can handle that one, and will probably release it as a resource with acknowledgements.
I'd really appreciate help with these!
I'd like to make a way to have a player be able to change their appearance in particular areas by changing the equips they have. more clearly, if a character changes a visible equipment piece, I want that part to change on the player model, and a further example: a player wearing all leather armor gets Iron Greaves and puts them on, and the leather boots on the model change to iron greaves, with the geomerty changes as well. I'm thinking about how to do it: have a base model and just mount the armor on them. is there perhaps a better way to do this? I'd think even with low poly models that that would get restraining after a while, with alot of players in one spot even.
Another thing is for changing the color properties of something on the fly. I have made a basic hair texture, and
a basic eye texture, both grey. I'd like to allow the player at customization to specify the hue, saturation, and lightness of the hair and of course allow colorizing. or just use RGB values, that works too. I'm not sure what I need to start doing to get that to work.
And ANOTHER thing, is a more RPG based inventory system, with the items holding static and dynamic values. So, if a sword had a set of base values, and attributes, it could have modifiers built in for a sort of weapon experience system, like dark cloud 2's, with weapon durability and all. I think if I could just get a nudge in the right direction, I think I can handle that one, and will probably release it as a resource with acknowledgements.
I'd really appreciate help with these!
About the author
Torque Owner Cinder Games
I'm also interested in adjusting the colors of textures, maybe someone else can chime in on that.
If you're doing an RPG, i suggest using ScriptObjects for all your items and weapons. it's what i use and it's easy to add stats to them.