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

Members Online

»
0 Active | 10 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Knife File?
LiQ.HeaDShOt
General Member
Since: Jun 1, 2010
Posts: 51
Last: Feb 21, 2011
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Saturday, Feb. 19, 2011 04:11 pm
Hey all.
One more time, I need help.
I can't find the name of the file for modding the knife in CoD4.
Check all over the internet but can't find it.

I'm looking for a file called "knife_mp" or something like that for me to mod it.

If anyone can help me, tell me where it is and what's it's name.
Thanks :)
Share |
Samuel033
General Member
Since: Dec 10, 2009
Posts: 484
Last: Dec 25, 2015
[view latest posts]
Level 5
Category: CoD4 Scripting
Posted: Saturday, Feb. 19, 2011 07:18 pm
There is no knife weapon file. The knife animations and damage etc are built into each weapon file itself.

edited on Feb. 19, 2011 02:19 pm by Samuel033
If however you are looking to reduce damage for all knife attacks without modding every weapon file you can look for means of death in the damage callback (MOD_MELEE) in global logic gsc and reduce iDamage before it is used.
Share |
LiQ.HeaDShOt
General Member
Since: Jun 1, 2010
Posts: 51
Last: Feb 21, 2011
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Sunday, Feb. 20, 2011 04:00 pm
Samuel033 writes...
Quote:
There is no knife weapon file. The knife animations and damage etc are built into each weapon file itself.

edited on Feb. 19, 2011 02:19 pm by Samuel033
If however you are looking to reduce damage for all knife attacks without modding every weapon file you can look for means of death in the damage callback (MOD_MELEE) in global logic gsc and reduce iDamage before it is used.


Hey, huge thanks. I run a sniper server so I just have to mod the melee damage from the sniper files.

Btw, I'm looking for someone who is able to help me understand this kind of modding and someone who knows what to do when it's needed. Do you know how to mod the "Quick Message Menu"?
Hope you can help me with this and maybe help my clan? :)

Thanks again,
LiQ.HeaDShOt
Share |
LiQ.HeaDShOt
General Member
Since: Jun 1, 2010
Posts: 51
Last: Feb 21, 2011
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Monday, Feb. 21, 2011 07:52 pm
Seriously guys.. Really need help. Is anyone able to help me with my clan server issues please?

Thanks in advance. [casanova]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»