Quantcast

Jump to content

» «
Photo

I noticed models are sectional: dismemberment mod?

59 replies to this topic
GhostGum
  • GhostGum

    Just a tree.

  • Members
  • Joined: 15 Apr 2009

#31

Posted 11 December 2009 - 06:30 AM Edited by GhostGum, 18 December 2009 - 12:44 AM.

Theres a native function that would prolly help you get body part "GET_CHAR_LAST_DAMAGE_BONE".
Also "GET_DAMAGE_TO_PED_BODY_PART";

atkins513
  • atkins513

    Crackhead

  • Members
  • Joined: 11 Nov 2009

#32

Posted 14 December 2009 - 01:21 AM

(BUMP)

This is one of the best suggestions I have seen on here... Someone, please, make this one work lol

atkins513
  • atkins513

    Crackhead

  • Members
  • Joined: 11 Nov 2009

#33

Posted 19 December 2009 - 05:13 AM

This is one of the best ideas for a mod I have seen yet... Someone make this happen smile.gif

Shadow-Link
  • Shadow-Link

    Li'l G Loc

  • Members
  • Joined: 01 Dec 2004

#34

Posted 19 December 2009 - 03:11 PM

Seems like no one is interested in making it for you wink.gif 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 smile.gif

Glumok
  • Glumok

    7 years on GTAForums... Nom d'une pute !

  • Members
  • Joined: 04 Apr 2007
  • None

#35

Posted 19 December 2009 - 03:37 PM

QUOTE (Prince-Link @ Dec 19 2009, 16:11)
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 smile.gif
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 ! biggrin.gif

"Prince-Link, creator of the legendary "Shadow Mapper", presents: Dismemberment Mod - Da sh*t!", it sounds definitely great wink.gif

nixolas1
  • nixolas1

    Creator/Destroyer

  • Members
  • Joined: 23 Dec 2008
  • None

#36

Posted 21 December 2009 - 11:33 PM Edited by nixolas1, 22 December 2009 - 12:30 AM.

user posted image
user posted image
TEASerrrrr

you can remove head, whole body, both legs, both hands, both legs sad.gif


edit to coders:

need some help with general testing...
CODE
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
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:
CODE
static void SetDrawPlayerComponent(u32 bodypart, b8 visible) { NativeInvoke::Invoke<NATIVE_SET_DRAW_PLAYER_COMPONENT, ScriptVoid>(bodypart, visible); }
   


GhostGum
  • GhostGum

    Just a tree.

  • Members
  • Joined: 15 Apr 2009

#37

Posted 22 December 2009 - 06:51 AM

sadly that command is for player only sad.gif .

If you want some blood you can use START_PTFX_ON_BONE

MrAgentGuy
  • MrAgentGuy

    Snitch

  • Members
  • Joined: 24 Dec 2009

#38

Posted 24 December 2009 - 12:40 AM

wow! do we finally have a gore mod in the making???

If so, yaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyy! biggrin.gif

hinti21
  • hinti21

    ~~<====3

  • BUSTED!
  • Joined: 29 Oct 2009

#39

Posted 24 December 2009 - 03:42 PM

Great guys!
thanks for being so busy for us biggrin.gif

atkins513
  • atkins513

    Crackhead

  • Members
  • Joined: 11 Nov 2009

#40

Posted 30 December 2009 - 07:49 PM

Thanks.

MrAgentGuy
  • MrAgentGuy

    Snitch

  • Members
  • Joined: 24 Dec 2009

#41

Posted 22 March 2010 - 03:59 PM

Bumpage!

LMS
  • LMS

    Punk-ass Bitch

  • Members
  • Joined: 30 Jun 2005

#42

Posted 22 March 2010 - 08:25 PM Edited by LMS, 24 March 2010 - 04:10 PM.

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

MrAgentGuy
  • MrAgentGuy

    Snitch

  • Members
  • Joined: 24 Dec 2009

#43

Posted 23 March 2010 - 07:46 PM

QUOTE (LMS @ Mar 22 2010, 20:25)
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.

sad.gif ah well thx for letting us know mate!

alenoguerol
  • alenoguerol

    Square Civilian

  • Members
  • Joined: 16 Apr 2008

#44

Posted 26 May 2010 - 12:26 AM

im sure that this was made for swords or something like that which wasnt used in game

opium_addict
  • opium_addict

    CODE WRECKER

  • Members
  • Joined: 02 Aug 2008

#45

Posted 26 May 2010 - 12:31 AM

If you can make the models visible/invisible u could try out this scripting function:

http://www.gtamoddin...AST_DAMAGE_BONE

then depending on conditions, make the part "fall off" (invisible or something)

MrAgentGuy
  • MrAgentGuy

    Snitch

  • Members
  • Joined: 24 Dec 2009

#46

Posted 29 May 2010 - 01:50 PM



QUOTE
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

Oscuro1987
  • Oscuro1987

    Player Hater

  • Members
  • Joined: 11 Sep 2009

#47

Posted 29 May 2010 - 01:56 PM

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 ?

hinti21
  • hinti21

    ~~<====3

  • BUSTED!
  • Joined: 29 Oct 2009

#48

Posted 01 November 2010 - 10:20 AM

@MrAgentGuy: what does this mod do?

LMS
  • LMS

    Punk-ass Bitch

  • Members
  • Joined: 30 Jun 2005

#49

Posted 01 November 2010 - 12:28 PM

It's no mod, he posted the hex offsets for the bones.

hinti21
  • hinti21

    ~~<====3

  • BUSTED!
  • Joined: 29 Oct 2009

#50

Posted 01 November 2010 - 05:02 PM

oh... -_-

but is this whole dismemberment mod thing possible now?

one guy posted some pics of a dead man without legs:
http://www.gtaforums...howtopic=460169

says its a mod which makes dismemberment possible.
fake??

coin-god
  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007

#51

Posted 01 November 2010 - 06:03 PM

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.

hinti21
  • hinti21

    ~~<====3

  • BUSTED!
  • Joined: 29 Oct 2009

#52

Posted 02 November 2010 - 09:51 AM

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)??

LMS
  • LMS

    Punk-ass Bitch

  • Members
  • Joined: 30 Jun 2005

#53

Posted 02 November 2010 - 12:53 PM

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.

xebat
  • xebat

    Square Civilian

  • Members
  • Joined: 09 Aug 2009

#54

Posted 02 November 2010 - 10:34 PM

I wish that a rockstar dev or an euphoria dev would give us information and codes anonymously at least

coin-god
  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007

#55

Posted 02 November 2010 - 10:46 PM

QUOTE (hinti21 @ Nov 2 2010, 06:51)
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.

lolleroz
  • lolleroz

    Homeboy

  • Members
  • Joined: 29 Jul 2010
  • None

#56

Posted 10 November 2010 - 03:21 PM

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.

nixolas1
  • nixolas1

    Creator/Destroyer

  • Members
  • Joined: 23 Dec 2008
  • None

#57

Posted 19 December 2010 - 02:22 PM

Check out modding sites in a few days/weeks.
wink.gif

utymmn
  • utymmn

    Player Hater

  • Members
  • Joined: 27 Nov 2011

#58

Posted 14 December 2011 - 01:44 AM Edited by utymmn, 14 December 2011 - 03:51 AM.

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...cript-mods/2635

spaceeinstein
  • spaceeinstein

    巧克力

  • Members
  • Joined: 17 Jul 2003

#59

Posted 14 December 2011 - 09:37 PM

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.

utymmn
  • utymmn

    Player Hater

  • Members
  • Joined: 27 Nov 2011

#60

Posted 15 December 2011 - 07:05 AM

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?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users