Head shot damage increase
Moderator: Moderators
- Havoc 526
- Rebel Warrant Officer

- Posts: 317
- Joined: Sat Apr 04, 2009 6:24 pm
- Projects :: Something
- Location: Howling at the Moon
Head shot damage increase
Is there also a way to increase the damage ratio from critical hits on infantry?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Head shot damage increase
The
line in an ordnance's ODF, perhaps?
Code: Select all
MaxDamage = ""-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Head shot damage increase
i think i recall seeing it in the unit odf, some line about critical hit, and where the critical hit is....i dont think it would be in the weapon odf
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: Head shot damage increase
According to psych0fred's docs
As far as I know, he never did make it specifiable. But there is a line that lets you specify damage multipliers for vehicles on the basis of individual parts (ie, leg, belly, butt, etc).A headshot on a soldier makes damage x 3.
This is at the moment hardcoded, let me know if you need to specify it per soldier.
A vehicle/flyer/walker/turret can specify a multiplier for a specific collision body.
Look in the atst odf for an example, temporary I put in a multiplier of 1.5 for a hit in the head.
HitLocation = "p_head 1.5"
When a bullet hits a body that has a damage multiplier greater then 1.0 it displays an extra flash.
Its "headshot.fx" if anyone is interested in playing with it (in common). Same effect for vehicles and soldiers.
- Havoc 526
- Rebel Warrant Officer

- Posts: 317
- Joined: Sat Apr 04, 2009 6:24 pm
- Projects :: Something
- Location: Howling at the Moon
Re: Head shot damage increase
I see.
Okay, I'll see what I can do with that.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Head shot damage increase
As a tag-along to this, is it possible to alter (perhaps through hex editing) the location of a soldier's critical hit point? I assume it's bone_head or whatever, but can you shift that designation around?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Head shot damage increase
i doubt that you can change the bone
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Head shot damage increase
No; but can you change which bone is the critical hit spot?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Head shot damage increase
thats what i meant
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: Head shot damage increase
You can alter set the CollisionHeadOffset which is what defines where the head is.Fiodis wrote:As a tag-along to this, is it possible to alter (perhaps through hex editing) the location of a soldier's critical hit point? I assume it's bone_head or whatever, but can you shift that designation around?
They use it for the droids and the wookiee.cis_inf_default wrote:CollisionHeadOffset = "0.0 -0.2 0.0"
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Head shot damage increase
im not shure if its practical for more than just changing the height a bit because the collision will still move woth the headbone
