Changing weapons and 3DS Model Problems

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
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Changing weapons and 3DS Model Problems

Post by krama757 »

Well two topics of questions in one post.

1) How would I change the weapons on a character model for use in an RPG project?

The way I understand it now is that I have to attach the weapon model to a character bone and then as the bone is animated the weapon goes along with it. Is this correct? And has anybody got any sample code that has successfully done this?

2) It seems as though my models arent being able to display their textures after the latest releases of Irrlicht. If you look at them in the 0.14 Irrlicht Mesh Viewer they are fine, but if you look at them in the 1.2 Mesh Viewer they appear black. Any clue as to why this happens?

Here is a sample file:
http://www.gorilla3d.com/tak/Department ... ouse_5.rar

Things to note:
I am sure that within the mesh viewer program EMF_LIGHTING is false. Also, in the log the engine declares that it succesfully loads the textures....they just dont display!
krama757
Posts: 451
Joined: Sun Nov 06, 2005 12:07 am

Post by krama757 »

No replies on this? I thought these were pretty standard questions applying to most irrlicht developers.
xskinyx
Posts: 25
Joined: Fri Dec 29, 2006 3:28 am

Re: Changing weapons and 3DS Model Problems

Post by xskinyx »

krama757 wrote: I am sure that within the mesh viewer program EMF_LIGHTING is false.
set that to "true"?
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

I recommend you dont rely on this meshviewer too much. Have you tried inserting into IrrEdit or directly into an Irrlicht Program? You have alot more control that way.

@ skiny: That wud cause it to be black even if it was working correctly :lol:
Post Reply