Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 13 Guests
Online:

LATEST FORUM THREADS

»
Single Player Loadout
CoDWW SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Valve's Source
Category: MODSCON - ALL

MODSonline Contests - All of them

Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: headshot only mod
kg-7
General Member
Since: Jan 21, 2008
Posts: 24
Last: May 2, 2008
[view latest posts]
Level 1
Category: MODSCON - ALL
Posted: Monday, Feb. 18, 2008 10:15 am
hey all.

how would i make a headshot only mod.?

i noticed when editing the weapons there is:
locHead\1.4\locNeck\1\locTorsoUpper\1\locTorsoLower\1\locRightArmUpper\1

are these the hit locations that the gun can hit.?

thanks.
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1407
Last: Apr 13, 2013
[view latest posts]
Level 8
Category: MODSCON - ALL
Posted: Monday, Feb. 18, 2008 10:18 am
thats how much damage it does to those parts of the body
1 = normal
2 = twice the damage
0.5 = half the damage

damage is set by damage in the weap fle

to make head shot only you can add 2 lines in the script so that only head shots work

if(sMeansOfDeath != "MOD_HEAD_SHOT")
return;

just of the top of my head
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Valve's Source : MODSCON - ALL

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»