Game Development Community

Multple Texture Layer

by Ted Lilljegren · in Technical Issues · 08/13/2007 (5:22 pm) · 6 replies

Can i get some pointers to resources for Texture Layers to appy to player objects, like cool tattoos n stuff. I have allready tried this resource http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12197 by Leslie Young. It did not work, probably because i am not a AFX core user. Aside from that resource, the only codei found on the topic was for torque 1.3, and it is in my experience that my 1.5 has very bad compatiability with any mods NOT 1.5. I would be realy gratefull if someone could help me out on this matter.

#1
08/13/2007 (5:58 pm)
That resource looks pretty good;
you might consider just popping for AFX, or spending the time to get it to work without it.
#2
08/14/2007 (11:53 am)
I have very little experience in c++, but the errors told me that the slot thingy, where you stated the number of layers HAD to be 0. That would be pretty useless, wouldent it?
#3
08/14/2007 (11:57 am)
.. it would, so judging by the number of people who've found the resource very helpful, it's probably not the case.
#4
08/15/2007 (3:19 pm)
Well i kind of doubt it. Try incorporating the resource into tge 1.5 NON afx core, and see what happens. Either i got a faulty TGE, highly unlikely, or i did something wrong when i incorporated the resource, more likely but i tried like 5 times so its still unlikely. The last option is that it has to be on an AFX system, as he even mentions that i might work in some other maner in non AFX, that seems like the most probable scenario. Do we have any users here which have incorporated the resource in their 1.5 without afx?
#5
09/19/2007 (11:46 am)
Followed up now. Turns out my compiler it too old.

Which can easily be remidied by simply browsing compiler on the search window, click the first option, and then click on "visual C++ studio 2005 express" or something like that, which will redirect you to micrsoft who in turn will kindly let you download it as a beta test or something.
#6
09/21/2007 (2:33 am)
Making tattoos on object doesn't mean using "texture" layers. It's strange notion too, i think. what you have to do is simply make a diffuse map for the player and adjust the UVW coordinates on the object using UnwrapUVW in max for instance. if you need FX on some parts of the player(i.e. use shaders for some parts of the player) then you need multi/subobject material (including some textures in one material) to make this and later in the engine to program them. At all it is not easy work for beginner, i dont' say this to disappoint you but i guess it will become easy for you if you first read some tutorials and stuff on the forums.I also suggest to see how the "boxtest" object in the TGEA demo is done. look at the code and the max files.