i want to change character's(*.md2/*.x) clothes

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
angel michael

i want to change character's(*.md2/*.x) clothes

Post by angel michael »

hellow. dear...
i understand that example "hellow world" of irrlicht.
i see the way to change texture.
but i donn't know how i change character's(*.md2/*.x) clothes(clothes have different ploygon mesh & texture)
please, tell me the way to slove, examples codes or address.

thanks you for reading this message.(^^)(__)(^^)
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

what?
u should be more specific with ur question but i guess u mean how to attach a (cloth)mesh to ur player mesh, right?

just set the player mesh as the parent when loading the clothes....simple...and in case u r using .x u can even attach the mesh to a bone of ur choice and when the position doesn't just adjust it by trail and error...i don't know another way.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
angel michael

the file cannot downloaded.

Post by angel michael »

i clicked download button.
but. new window has opened, and already broken.
(--;)
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

what is broken? the download link for crazyBombing? can't be i just checked it....anyways was it what u ment?
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Guest

Post by Guest »

clothing is a very advanced topic, i recommend you to only change the skins, but real clothes is nothing for you if you "unterstood the hello world tutorial" - otherwise give google a try and make your own decision.
angel michael

i donn't know fucntion name

Post by angel michael »

thnaks.
i understood tutorial.
i want to know the name of function and class name( irrlicht engine),
if i try to changing clothes, which function i use ?which class?
i donn't know fucntion name & class name. that is all i want
angel michael

THNKS TO SUDI

Post by angel michael »

I apology,^^ fail download was my computer's mistake.
i sucess.
i see the earth has rotate,how to play?, that's only i see, i cannot keep moving next stage.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Ok... I think I have this one figured out.

To "change the cloths" you would need to do one of the following.
A) Open the mesh in a 3D editor (like milkshape or blender) and modify the mesh
B) Create a new mesh with full animations and attach it to the node
C) Code a function that will go through every point on the mesh while it is loaded and move the points accordingly (This is way more than you would need.)

There is no "setClothing('shirt')" function in Irrlicht.
Crud, how do I do this again?
Helgiii
Posts: 4
Joined: Mon Dec 03, 2007 12:44 pm
Location: Saint-Petersburg, Russia

Post by Helgiii »

:) setClothing("shirt") is cool!!!! :)

setGameType("3d shooter");
setGame("Quake3 clone");
setSuccess(true);
giveMeLotsOfMoney(TIME_NOW);

ohh... :)
Post Reply