GhostGum 0 Posted December 11, 2009 (edited) Theres a native function that would prolly help you get body part "GET_CHAR_LAST_DAMAGE_BONE". Also "GET_DAMAGE_TO_PED_BODY_PART"; Edited December 18, 2009 by GhostGum Quote Share this post Link to post Share on other sites
atkins513 0 Posted December 14, 2009 (BUMP) This is one of the best suggestions I have seen on here... Someone, please, make this one work lol Quote Share this post Link to post Share on other sites
atkins513 0 Posted December 19, 2009 This is one of the best ideas for a mod I have seen yet... Someone make this happen Quote Share this post Link to post Share on other sites
Shadow-Link 4 Posted December 19, 2009 Seems like no one is interested in making it for you why don't you try to code something yourself? GhostGum already gave you some hints. This could be a fun and good learning experience for you Quote Share this post Link to post Share on other sites
Glumok 209 Posted December 19, 2009 why don't you try to code something yourself? If everybody here is as much talented as me about coding (I mean, not talented at all), it will takes ages I'm sure someone as talented as you (I mean, really talented in coding, this time, lol), it would takes some days/hours ! And will get at least 10 tons of cookies, an eternal life after death + 70 virgins, for sure ! "Prince-Link, creator of the legendary "Shadow Mapper", presents: Dismemberment Mod - Da sh*t!", it sounds definitely great Quote Share this post Link to post Share on other sites
nixolas1 5 Posted December 21, 2009 (edited) TEASerrrrr you can remove head, whole body, both legs, both hands, both legs edit to coders: need some help with general testing... damage = GetDamageToPedBodyPart(ped, 6); if(damage<10){ SetDrawPlayerComponent(6, 0); } or simply if ((GetDamageToPedBodyPart(ped, 1) >= 65)) SetDrawPlayerComponent(6, 0); the 6 in SetDrawPlayerComponent and GetDamageToPedBodyPart is just some bodypart, not sure if they actually are the same bone, i would guess not(setdraw... has 9(it seems like it has more) and getdamage... has about 15). also, i am not sure about the damage scale but it seems to rage from 0 to 100. some sample from game code if ((((((GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 1) >= 65) || (GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 2) >= 65)) || (GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 4) >= 65)) || (GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 5) >= 65)) || (GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 7) >= 65)) || (GET_DAMAGE_TO_PED_BODY_PART(sub_5d3(), 8) >= 65)) { you might also need this if youre gonna do some scripting: static void SetDrawPlayerComponent(u32 bodypart, b8 visible) { NativeInvoke::Invoke<NATIVE_SET_DRAW_PLAYER_COMPONENT, ScriptVoid>(bodypart, visible); } Edited December 22, 2009 by nixolas1 Quote Share this post Link to post Share on other sites
GhostGum 0 Posted December 22, 2009 sadly that command is for player only . If you want some blood you can use START_PTFX_ON_BONE Quote Share this post Link to post Share on other sites
MrAgentGuy 0 Posted December 24, 2009 wow! do we finally have a gore mod in the making??? If so, yaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyy! Quote Share this post Link to post Share on other sites
hinti21 1 Posted December 24, 2009 Great guys! thanks for being so busy for us Quote Share this post Link to post Share on other sites
LMS 1 Posted March 22, 2010 (edited) Euphoria/Naturalmotion DOES provide cutting of bones, but afaik this wasn't implemented in the game, at least I found nothing when reversing the game. They call it 'Sever-Event' and it makes the bone fall of the body. But I'm even not sure if it was intented to use when hit by a bullet. So it won't work this way. Edit: An example of multiple sever events Edited March 24, 2010 by LMS Quote Share this post Link to post Share on other sites
MrAgentGuy 0 Posted March 23, 2010 Euphoria/Naturalmotion DOES provide cutting of bones, but afaik this wasn't implemented in the game, at least I found nothing when reversing the game. They call it 'Sever-Event' and it makes the bone fall of the body. But I'm even not sure if it was intented to use when hit by a bullet. So it won't work this way. ah well thx for letting us know mate! Quote Share this post Link to post Share on other sites
alenoguerol 0 Posted May 26, 2010 im sure that this was made for swords or something like that which wasnt used in game Quote Share this post Link to post Share on other sites
opium_addict 0 Posted May 26, 2010 If you can make the models visible/invisible u could try out this scripting function: http://www.gtamodding.com/index.php?title=...AST_DAMAGE_BONE then depending on conditions, make the part "fall off" (invisible or something) Quote Share this post Link to post Share on other sites
MrAgentGuy 0 Posted May 29, 2010 enum ePedBone { BONE_ROOT = 0, BONE_PELVIS = 0x1A1, BONE_SPINE = 0x4B2, BONE_SPINE1 = 0x4B3, BONE_SPINE2 = 0x36A0, BONE_SPINE3 = 0x36A1, BONE_NECK = 0x4B4, BONE_HEAD = 0x4B5, BONE_NECKROLL = 0x37A0, BONE_R_CLAVICLE = 0x4C7, BONE_R_UPPERARM = 0x4C8, BONE_R_FOREARM = 0x4C9, BONE_R_HAND = 0x4D0, BONE_R_FINGER0 = 0x35B0, BONE_R_FINGER01 = 0x35B1, BONE_R_FINGER02 = 0x35B2, BONE_R_FINGER1 = 0x35B3, BONE_R_FINGER11 = 0x35B4, BONE_R_FINGER12 = 0x35B5, BONE_R_FINGER2 = 0x35B6, BONE_R_FINGER21 = 0x35B7, BONE_R_FINGER22 = 0x35B8, BONE_R_FINGER3 = 0x35B9, BONE_R_FINGER31 = 0x35C0, BONE_R_FINGER32 = 0x35C1, BONE_R_FINGER4 = 0x35C2, BONE_R_FINGER41 = 0x35C3, BONE_R_FINGER42 = 0x35C4, BONE_R_FORETWIST = 0x39A1, BONE_R_FORETWIST1 = 0x39A2, BONE_R_UPPPERARMROLL = 0x39A0, BONE_R_ARMROLL = 0x3E01, BONE_L_CLAVICLE = 0x4C0, BONE_L_UPPERARM = 0x4C1, BONE_L_FOREARM = 0x4C2, BONE_L_HAND = 0x4C3, BONE_L_FINGER0 = 0x35D0, BONE_L_FINGER01 = 0x35D1, BONE_L_FINGER02 = 0x35D2, BONE_L_FINGER1 = 0x35D3, BONE_L_FINGER11 = 0x35D4, BONE_L_FINGER12 = 0x35D5, BONE_L_FINGER2 = 0x35D6, BONE_L_FINGER21 = 0x35D7, BONE_L_FINGER22 = 0x35D8, BONE_L_FINGER3 = 0x35D9, BONE_L_FINGER31 = 0x35E0, BONE_L_FINGER32 = 0x35E1, BONE_L_FINGER4 = 0x35E2, BONE_L_FINGER41 = 0x35E3, BONE_L_FINGER42 = 0x35E4, BONE_L_FORETWIST = 0x38A1, BONE_L_FORETWIST1 = 0x38A2, BONE_L_UPPPERARMROLL = 0x38A0, BONE_L_ARMROLL = 0x3DF1, BONE_L_THIGH = 0x1A2, BONE_L_CALF = 0x1A3, BONE_L_FOOT = 0x1A4, BONE_L_TOE = 0x1A5, BONE_L_CALFROLL = 0x38B0, BONE_R_THIGH = 0x1A7, BONE_R_CALF = 0x1A8, BONE_R_FOOT = 0x1A9, BONE_R_TOE = 0x4B0, BONE_R_CALFROLL = 0x39B0, BONE_L_BROWAJNT = 0x78F7, BONE_L_BROWBJNT = 0x78F8, BONE_L_LIDJNT = 0x78F9, BONE_C_LOWLIDJNT = 0x78FA, BONE_L_CHEEKJNT = 0x78FB, BONE_L_EYEJNT = 0x78FC, BONE_L_CORNERAJNT = 0x7903, BONE_L_CORNERBJNT = 0x79F4, BONE_L_JAWAJNT = 0x7904, BONE_L_JAWBJNT = 0x7905, BONE_L_LIPUPAJNT = 0x7906, BONE_R_BROWAJNT = 0x7907, BONE_R_BROWBJNT = 0x7908, BONE_R_LIDJNT = 0x7909, BONE_R_CHEEKJNT = 0x790A, BONE_R_EYEJNT = 0x790B, BONE_R_CORNERAJNT = 0x790C, BONE_R_CORNERBJNT = 0x79F3, BONE_R_JAWAJNT = 0x7913, BONE_R_JAWBJNT = 0x7914, BONE_R_LIPUPAJNT = 0x7915, BONE_C_JAWAJNT = 0x7916, BONE_FB_C_BROW = 0x7F94, BONE_FB_C_JAW = 0x7F9B, BONE_FB_L_LIPLOWER = 0x7FA7, BONE_FB_R_LIPLOWER = 0x7FA6, BONE_FB_L_BROW = 0x7F9A, BONE_FB_L_CRN_MOUTH = 0x7FA5, BONE_FB_L_EYEBALL = 0x7F98, BONE_FB_L_EYELID = 0x7F99, BONE_FB_L_LIPUPPER = 0x7F9D, BONE_FB_R_BROW = 0x7F95, BONE_FB_R_CRN_MOUTH = 0x7FA4, BONE_FB_R_EYEBALL = 0x7F97, BONE_FB_R_EYELID = 0x7F96, BONE_FB_R_LIPUPPER = 0x7F9C, BONE_FB_L_BROWBJNT = 0x0A917, BONE_FB_L_BROWAJNT = 0x0A905, BONE_FB_C_FOREHEAD = 0x0A8F6, BONE_FB_L_EYEJNT = 0x0A8F7, BONE_FB_L_UPPCHEEKJNT = 0x0A8F8, BONE_FB_L_CORNERLIPJNT = 0x0A8F9, BONE_FB_L_LOCHEEKJNT = 0x0A8FA, BONE_FB_L_UPPLIPJNT = 0x0A8FB, BONE_FB_L_UPPLIDJNT = 0x0A8FC, BONE_FB_L_LOLIDJNT = 0x0A903, BONE_FB_R_BROWAJNT = 0x0A904, BONE_FB_R_EYEJNT = 0x0A916, BONE_FB_R_UPPLIDJNT = 0x0A906, BONE_FB_R_LOLIDJNT = 0x0A907, BONE_FB_R_BROWBJNT = 0x0A908, BONE_FB_R_UPPCHEEKJNT = 0x0A909, BONE_FB_R_UPPLIPJNT = 0x0A90A, BONE_FB_R_CORNERLIPJNT = 0x0A90B, BONE_FB_R_LOCHEEKJNT = 0x0A90C, BONE_FB_C_JAWJNT = 0x0A913, BONE_FB_R_LOLIPJNT = 0x0A914, BONE_FB_L_LOLIPJNT = 0x0A915, BONE_FB_C_TONGUE_A_JNT = 0x0A8F5, BONE_FB_C_TONGUE_B_JNT = 0x0A8F4, BONE_POINTFB_C_JAW = 0x0C944, BONE_POINTFB_R_LIPLOWER = 0x0C947, BONE_POINTFB_L_LIPLOWER = 0x0C948, BONE_POINTFB_L_LIPUPPER = 0x0C946, BONE_POINTFB_R_LIPUPPER = 0x0C945, BONE_EXTRA1 = 0x0B064, BONE_EXTRA2 = 0x0B065, BONE_EXTRA3 = 0x0B066, BONE_UNKNOWN = 0x0FFFFFFFF }; This could be one gorey mod! lol Quote Share this post Link to post Share on other sites
Oscuro1987 0 Posted May 29, 2010 Wtb this mod ! Btw a long time ago when i had not bought GTA4 yet, i saw a video where a ped that gets run over, lost his head. It's an old video i found on youtube but i cant find it back now -_-. So yes probably R* planned to put in some dismemberment, but rolled back because of some sensitive people complaining lol. Need help ? Quote Share this post Link to post Share on other sites
hinti21 1 Posted November 1, 2010 @MrAgentGuy: what does this mod do? Quote Share this post Link to post Share on other sites
LMS 1 Posted November 1, 2010 It's no mod, he posted the hex offsets for the bones. Quote Share this post Link to post Share on other sites
hinti21 1 Posted November 1, 2010 oh... -_- but is this whole dismemberment mod thing possible now? one guy posted some pics of a dead man without legs: http://www.gtaforums.com/index.php?showtopic=460169 says its a mod which makes dismemberment possible. fake?? Quote Share this post Link to post Share on other sites
coin-god 24 Posted November 1, 2010 From what I see, he removed the whole legs + shoes part of the model. And from What I saw in GTA IV models, you wont be able to remove just one leg or jsut one arm and so on. Affecting the bones directly would be a diferent thing. But I have no knowledge of IV's coding. Im a III era modder. Quote Share this post Link to post Share on other sites
hinti21 1 Posted November 2, 2010 is it possible in gta 3? isn't there anyone who can finally tell if this mod could be made or not (directly affecting the bones or whatever the hell is possible)?? Quote Share this post Link to post Share on other sites
LMS 1 Posted November 2, 2010 Well it's hard to say that, because probably noone knows what features the implemented euphoria provide. But as it is not present in the game we can be almost sure, that this feature wasn't included. By hooking the d3d device the bones could be hidden, but not physical. It would also be not easy to add this as there are many different models in the game and you need to get details about each and as you have no information what ped you're drawing in your d3d hook it is also not easy to determine when to block the draw call and when not. So I'd say it is not possible properly. Quote Share this post Link to post Share on other sites
xebat 0 Posted November 2, 2010 I wish that a rockstar dev or an euphoria dev would give us information and codes anonymously at least Quote Share this post Link to post Share on other sites
coin-god 24 Posted November 2, 2010 is it possible in gta 3? isn't there anyone who can finally tell if this mod could be made or not (directly affecting the bones or whatever the hell is possible)?? Probably not at the moment. But who knows? In the future may be possible. Quote Share this post Link to post Share on other sites
lolleroz 230 Posted November 10, 2010 Might be possible if you could make a script that would detect where a ped was shot and that would change the texture of that bodypart to invisible by then, but that would be very tricky,buggy, and would take a pain in the ass to work on all peds. Quote Share this post Link to post Share on other sites
nixolas1 5 Posted December 19, 2010 Check out modding sites in a few days/weeks. Quote Share this post Link to post Share on other sites
utymmn 0 Posted December 14, 2011 (edited) BUMP the first person mod removes the head when in use, what is stopping someone making a script that has a random chance of head removal when a headshot is registered with a large weapon? is that possible anyone? or is it restricted to only the player model? first person mod - http://www.gtagaming.com/downloads/gta-iv/script-mods/2635 Edited December 14, 2011 by utymmn Quote Share this post Link to post Share on other sites
spaceeinstein 1,772 Posted December 14, 2011 Removing body parts is entirely possible. What we were talking about is severing those body parts. Body parts strewn over the floor a la GTA III. Quote Share this post Link to post Share on other sites
utymmn 0 Posted December 15, 2011 from what I read the general consensus was that proper dismemberment (ragdoll limbs) isnt possible? so why not settle on what is? would that need a new thread? Quote Share this post Link to post Share on other sites