how hard would it be?!?!?!
by Anthony Rosenbaum · in Torque Game Engine · 09/05/2001 (12:16 pm) · 1 replies
ok I am a BEGINING programmer and when I mean begining I mean I am presently taking my 2nd c++ class. I'm more of a modeler. . . anyway I came up with an Idea an I was wondering if it is even possible
The idea beings "customized skins"
1)
Lets say I have one player modle and with that one player modle I can set up the mapping so that each part (head, arms, etc)is assigned a preset area on a .png
So if I wanted to make the modle mainly green the skin would be green where I wanted it and if I wanted it to be blue I would mierly change the WHOLE .png to the new color. . you with me so far. . one model with multiple .pngs clearly the active .png would have to be labled player.png (by default)
2)Lets then say I wanted the player to have the blue head from one of the .pngs and the green armor from another .png
3)Could I or whomever, create a program that could take parts/areas from exisiting .pngs and combine them ON THE FLY, IN THE GAME to make a new .png that would be called player.png and thus make a player's skin than everyone could see?!?!
just wondring, thought it could be cool to make a player with interchangabe parts for a customized feel for the user.
if anyone could help please reply
Anthony
The idea beings "customized skins"
1)
Lets say I have one player modle and with that one player modle I can set up the mapping so that each part (head, arms, etc)is assigned a preset area on a .png
So if I wanted to make the modle mainly green the skin would be green where I wanted it and if I wanted it to be blue I would mierly change the WHOLE .png to the new color. . you with me so far. . one model with multiple .pngs clearly the active .png would have to be labled player.png (by default)
2)Lets then say I wanted the player to have the blue head from one of the .pngs and the green armor from another .png
3)Could I or whomever, create a program that could take parts/areas from exisiting .pngs and combine them ON THE FLY, IN THE GAME to make a new .png that would be called player.png and thus make a player's skin than everyone could see?!?!
just wondring, thought it could be cool to make a player with interchangabe parts for a customized feel for the user.
if anyone could help please reply
Anthony
About the author
Torque Owner Karsten "Clocks" Viese
You can have multiple skins on a model and in Tribes 2 (and many other games)it is possible to select skin in the setup fase.
If you skin all the seperate part with its own png then you could just make an interface where the player select which skin goes on which part and since all players have all the different png's it shouldn't be that hard to do.
// Clocks out.