Human gib mod? Could it be done?

D€vIL²

Newbie
Joined
Nov 18, 2004
Messages
899
Reaction score
0
I think it would be great to play HL2 with a limb disembarment modification. Make blowing up people funner IMO. I liked the gibs in HL1 i wish they kept them in.
 
It's possible, and probably was intially intended. There are gib models already in the GCFs.

However, I for one don't especially like seeing humanoids explode. It's pretty disturbing.

-Angry Lawyer
 
man i wanna see them explode in hl2 that would be awsome
 
Why do I feel like the oldest person in the thread?

I'm pretty sure it's as simple as switching a flag on some NPCs in the code. But I think ultraviolence would be distasteful. And obviously so did Valve, which is why they left it out of HL2.

-Angry Lawyer
 
yeah I figured since NPC's like zombies are already made to be cut in half your already half way there (make sense?) I dunno shit about coding or changing "flags" but if somone knows how to do this I think they should!
 
I was thinking about exactly that.

maybe if the model got damaged enough in specific enough of a spot, then that limb would come off.

I think it'd look cool, but apparently valve thought that was too much
 
*Opens up his SDK*

The coming apart of the Zombie requires a lot of specialised code, actually. And, it seems like it's not based on area damage, but rather what you hit it with.

Code:
bool CNPC_BaseZombie::ShouldBecomeTorso( const CTakeDamageInfo &info, float flDamageThreshold )
{
	if( m_fIsTorso )
	{
		// Already split.
		return false;
	}

	// Break in half IF:
	// 
	// Take half or more of max health in DMG_BLAST
	if( (info.GetDamageType() & DMG_BLAST) && flDamageThreshold >= 0.5 )
	{
		return true;
	}

#if 0
	if( info.GetDamageType() & DMG_BUCKSHOT )
	{
		if( m_iHealth <= 0 || flDamageThreshold >= 0.5 )
		{
			return true;
		}
	}
#endif 
	
	return false;
}

So, only shotguns and explosions split them in half. And even then, they create two seperate entities, legs and a torso. You'd need to do a lot of work to do it for every NPC.

-Angry Lawyer
 
I know, but they'd need to be gibs off the model its self not just explode in a big dust puff and have some "vegtable chunks" spawn in its place
 
It would probably be gay and only be able to gib in like one place like with the zombies right down the middle, I hate how that is.
 
Gribs in garrys mod would pwn. and bones breaking, flesh wounds ect.
 
Zombie isn't a good example. The strider or gunship are better example of true gibbing npcs. Most of the time when either die they will explode in gibs, Gunship can be stopped by specifying a target to crash at when dying.

I don't think its that complicated, but I am unable to check at this moment.
 
The Antlion has the most traditional gibbing. But it still escapes me why you guys really want to see it? It doesn't look real, just violent.

-Angry Lawyer
 
In HL1 it wasn't TOO violent because technology wasnt perfect. But now...itd be too realistic for my taste
 
I would have to be implemented sensibly Like if you shoot someone in the arm with a pistol an arm shouldnt come off but if you approach a ememie with a shotgun and shoot him in the face, leg, or arm at close quarters Its "real" if that body part gets blow off IMO
 
D€vIL² said:
I would have to be implemented sensibly Like if you shoot someone in the arm with a pistol an arm shouldnt come off but if you approach a ememie with a shotgun and shoot him in the face, leg, or arm at close quarters Its "real" if that body part gets blow off IMO

*thinks of combine geting brain and robot parts blown out of back of head*

Oo that would pwn. And if you shoot some one in the arm in they wouldnt beable to aim as good.
 
Back
Top