RPG-SKIN

Community Forums/Graphic Chat/RPG-SKIN

firstborn(Posted 2007) [#1]
this is a clothing graphic from an rpg
i have been coding now for the last couple of years...

the player can wear various different clothes combinations.
this is the "armour"-skin for an arab bandit...

http://www.blitzforum.de/upload/file.php?id=1042

it is not done in eastern anime style. rather, the body is large with a tiny head(smaller than with all this stuff wrapped around it).

f


puki(Posted 2007) [#2]
Indeed.


Wings(Posted 2007) [#3]
I can sail widout sails.. i can row widout rows..

do you meen like this ?


here demo code. freeware.
http://server.vegetasoft.com/cloth/ClothDemo.zip


1) simple create a human body mesh

2) animate this simple mesh. like walk and run

3) splitt it into groups.
Head mesh
Chest mesh
Legs mesh
Feet mesh
Arms Mesh


4) to create an armour. Copy the chest mesh and rename it armour. now hide the orginal chest group. and do whatever u want with the new one.

5) Do the same with the rest of body parts. Modify and hide orginal.

TIPS: Using milkshape you can se directly if you succseded with the new part. and how it matches other parts. jus unhide and hide groups.

6) Export to b3d.
export each parts with all animation datas. And please turn of animate before doing any exports.


7) Load each part into blitz3d. And make each part have same animation and speed. this is crutual or else body will look Slashed into peaches.. i myself have made me my own animate_body function and body_create functions.

example.
head=loadanimmesh("head")
feet=loadanimmesh("feet")
arms=loadanimmesh(arms")
...
...
Animate head,.....
animate feet,....
animate arms,...


this is how i did it. and i know it slows down system. but it works :)

Questions ?


firstborn(Posted 2007) [#4]
cool stuff!
i know the link is dead by now...
but my game is 2d, so i have a template pic which i pixel the new clothes over. so kind of the same idea.
i dont slow the system down however, as i get to draw into the imagebuffer of the characters.

http://www.blitzbasic.com/Community/posts.php?topic=66730
check out the project thread...

firstborn