Jump to content

setPedBodyPartAlpha


Recommended Posts

  • MTA Team
Posted (edited)

Allows you to set the alpha of a specific body part, for example making a hand... invisible.

setPedBodyPartAlpha(element myped,int myID, int Alpha=255)  

I like it, what do you think? Most of all, is it possible?

Edited by Guest
Posted

i think that'll do it, from 1.1 onwards.

NOTE: knowledge of HLSL and way to find nearest bone for each pixel is needed.

getPedBonePosition() 
engineApplyShaderToModel() 

Posted

NOTE: knowledge of HLSL and way to find nearest bone for each pixel is needed

and I take it you know well HLSL

be waitin' for a resource from yer

or a proof of this possibility

so far i did not manage to make any of shader functions work properly

but it will be amazing

Posted

NOTE: knowledge of HLSL and way to find nearest bone for each pixel is needed

and I take it you know well HLSL

be waitin' for a resource from yer

or a proof of this possibility

so far i did not manage to make any of shader functions work properly

but it will be amazing

i have to say that i didn't as well, seems that the errors are not outputting in debugscript like they used to.

and whats worst is it seems noone(almost) understands it well, and i dont have anyone to get help from :(.

  • MTA Team
Posted

^^ *bump and double post* Please can we have input from the mta team of this?

Idea for the gore mod: shoot arm, arm ped bone alpha 0, show some body part

Posted

ped bones are not the same as bodyparts. the ped bones are invisible points with coordinates relative to the element position used to orientate the model graphic. however setting the alpha of specific bodyparts might be possible, I'm not sure though.

Posted

would be pretty easy to make certain radius around the bone in different alpha, but duing it for particular bodypart will be more challenging.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...