Game Development Community

Questions about real-time texture changing...

by Okashira · in Torque Game Engine · 07/05/2006 (11:48 am) · 3 replies

Alright, I had an idea for my game I am currently desiging for when I purchase the Torque engine. It will be kind of an FPS...Well, anyways here is my question:

I would want it so the more armor your character has(like in a normal style FPS, not like an inventory or anything), the texture will change to different things and depending on how low your helath is a different texture will cahnge to different things. How hard would this be to implement?

Thanks,
Okasihra

#1
07/05/2006 (11:57 am)
Fo your information there is a ressource available for this kind of texture change. And Torque support some sort of basic texture change.

But if you like something good you will need to dig into the engine to apply the necessary changes for the ressource and link this to you inventory/health system.

If you use meshes swapping then you can attain some very good results.

But don't expect this to be ready made for you, you will need to work a bit on the code.

Hope that this answer your question.
#2
07/05/2006 (11:58 am)
It's already implemented. Try doing a search for setSkinName. The main requirement is using specific naming conventions for the textures. Then you can just set the textures determined on your health or whatever you want.
#3
07/05/2006 (2:37 pm)
Thanks alot both of you!

-Okashira