qaisjp Posted July 1, 2011 Share Posted July 1, 2011 (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 July 10, 2011 by Guest Link to comment
MCvarial Posted July 1, 2011 Share Posted July 1, 2011 It may be a nice idea but the question is; is it possible? Can gta do that? Link to comment
karlis Posted July 2, 2011 Share Posted July 2, 2011 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() Link to comment
Buffalo Posted July 2, 2011 Share Posted July 2, 2011 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 Link to comment
karlis Posted July 2, 2011 Share Posted July 2, 2011 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 . Link to comment
Buffalo Posted July 2, 2011 Share Posted July 2, 2011 well then seems we have to be patient .. yarrrrr . Link to comment
qaisjp Posted July 3, 2011 Author Share Posted July 3, 2011 So it eez a possiblity, furthermore this would be great in Gore-mod :3 Link to comment
qaisjp Posted July 8, 2011 Author Share Posted July 8, 2011 ^^ *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 Link to comment
Dark Dragon Posted July 9, 2011 Share Posted July 9, 2011 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. Link to comment
qaisjp Posted July 10, 2011 Author Share Posted July 10, 2011 Well I mean bodyparts lol, it would be cool. Link to comment
karlis Posted July 10, 2011 Share Posted July 10, 2011 would be pretty easy to make certain radius around the bone in different alpha, but duing it for particular bodypart will be more challenging. Link to comment
Recommended Posts