Changing First Person Hand Texture
Moderator: HDTP Team
Forum rules
Please do not feed the trolls.
Please do not feed the trolls.
Changing First Person Hand Texture
To my knowledge, HDTP (and maybe Cassandra Project?) is one of the only mods, if not the only one, that allows variable change of hand textures depending upon which face of JC you pick at the beginning of the game. My question is, how was this accomplished? I've contemplated changing the first person hand texture in the past, but I could never really figure out how to do it.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
Re: Changing First Person Hand Texture
Code: Select all
function texture GetWeaponHandTex()
{
local deusexplayer p;
local texture tex;
tex = texture'weaponhandstex';
p = deusexplayer(owner);
if(p != none)
{
switch(p.PlayerSkin)
{
//default, black, latino, ginger, albino, respectively
case 0: tex = texture'weaponhandstex'; break;
case 1: tex = texture'HDTPItems.skins.weaponhandstexblack'; break;
case 2: tex = texture'HDTPItems.skins.weaponhandstexlatino'; break;
case 3: tex = texture'HDTPItems.skins.weaponhandstexginger'; break;
case 4: tex = texture'HDTPItems.skins.weaponhandstexalbino'; break;
}
}
return tex;
}
There's a lot of art work needed and my other artists are occupied with other HDTP and New Vision stuff currently.
Re: Changing First Person Hand Texture
Thanks for pasting the code. Which class file is that located in, by the way?
What exactly do you mean by ballistic protection effect? Some form of blueish plasma-type overlay? From what I remember, ballistic protection is some form of blue bubble around JC that absorbs damage.
I merely dabble in texture art and edits, so I'm probably not as good as any of your artists, and I therefore can not make promises in terms of reaching your desired standards, but I will see what I can do in terms of giving you a good texture to work with.Cybernetic pig wrote: If you're a texture artist, I could do with a subtle ballistic protection effect on the hands.
There's a lot of art work needed and my other artists are occupied with other HDTP and New Vision stuff currently.
What exactly do you mean by ballistic protection effect? Some form of blueish plasma-type overlay? From what I remember, ballistic protection is some form of blue bubble around JC that absorbs damage.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am
Re: Changing First Person Hand Texture
No, some kind of sub-dermal skin reinforcement that shows subtly on the surface.
Re: Changing First Person Hand Texture
Ah, I got you now.
I'll see what I can do. If I have something, I'll PM you some screenshots.
I'll see what I can do. If I have something, I'll PM you some screenshots.
-
- Illuminati
- Posts: 2284
- Joined: Thu Mar 08, 2012 3:21 am