Raised This Month: $51 Target: $400
 12% 

[l4d2]making the knife available


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ABRAoriginal
Junior Member
Join Date: Feb 2010
Old 03-04-2010 , 19:07   [l4d2]making the knife available
Reply With Quote #1

i've looked all over the internet and i havent been able to find anything that allows the ability to spawn the knife and all ive found is ways to mod my files and ways to enable all the other german weapons but i still cant spawn the knife so i was wondering if someone could make a plugin that allows people in the server to spawn the knife and maybe spawn all the melee weapons in the game.
ABRAoriginal is offline
Crimson_Fox
Senior Member
Join Date: Mar 2009
Old 03-04-2010 , 21:05   Re: [l4d2]making the knife available
Reply With Quote #2

Quote:
Originally Posted by ABRAoriginal View Post
i've looked all over the internet and i havent been able to find anything that allows the ability to spawn the knife and all ive found is ways to mod my files and ways to enable all the other german weapons but i still cant spawn the knife so i was wondering if someone could make a plugin that allows people in the server to spawn the knife and maybe spawn all the melee weapons in the game.
From what I understand it may be possible. I'm in the process of finding out if it can be added to the WeaponUnlock plug-in or if a separate extension needs to be written.
Crimson_Fox is offline
ABRAoriginal
Junior Member
Join Date: Feb 2010
Old 03-04-2010 , 21:10   Re: [l4d2]making the knife available
Reply With Quote #3

well i just looked through the authoring tool for l4d2 and the knife wasnt in the weapons/melee folder with all the other melee weapons so im not sure where the model might be
ABRAoriginal is offline
thejuice027
Senior Member
Join Date: Dec 2009
Old 03-05-2010 , 00:01   Re: [l4d2]making the knife available
Reply With Quote #4

I have the weapon unlock in my server, and like 1% of the time, I randomly see the counterstrike knife, now I yet to know if its the mod or if it is because someone who has that version of the game is in my server. It is very strange when I come across it though.
__________________
Steam_id: thejuice027
thejuice027 is offline
Cuthbert
Senior Member
Join Date: Nov 2009
Old 03-05-2010 , 13:41   Re: [l4d2]making the knife available
Reply With Quote #5

Quote:
Originally Posted by Crimson_Fox View Post
From what I understand it may be possible. I'm in the process of finding out if it can be added to the WeaponUnlock plug-in or if a separate extension needs to be written.
I'm rooting for you...want the knife so bad...big fan of the existing plugin.
Cuthbert is offline
ABRAoriginal
Junior Member
Join Date: Feb 2010
Old 03-05-2010 , 20:01   Re: [l4d2]making the knife available
Reply With Quote #6

Quote:
Originally Posted by thejuice027 View Post
I have the weapon unlock in my server, and like 1% of the time, I randomly see the counterstrike knife, now I yet to know if its the mod or if it is because someone who has that version of the game is in my server. It is very strange when I come across it though.
well i have a bunch of mods to make the weapons from css available and i have 3 mods that spawn weapons and when i try to spawn the knife it doesnt spawn.
ABRAoriginal is offline
cigs
Senior Member
Join Date: Jul 2006
Old 03-11-2010 , 15:35   Re: [l4d2]making the knife available
Reply With Quote #7

path for viewmodel (first person view): models/v_models/v_knife_t.mdl
path for world model (weapon itself): models/w_models/weapons/w_knife_t.mdl

Tried adding these in Stripper:Source global_filters.cfg, but it wouldn't spawn them:

Code:
add:
{
"origin" "0 0 -10000"
"spawnflags" "2"
"solid" "6"
"skin" "0"
"body" "0"
"disableshadows" "0"
"count" "1"
"angles" "0 0 0"
"model" "models/w_models/weapons/w_knife_t.mdl"
"classname" "weapon_melee_spawn"
"melee_weapon" "knife"
}
Code:
add:
{
"origin" "0 0 -10000"
"spawnflags" "1"
"solid" "6"
"skin" "0"
"disableshadows" "0"
"count" "1"
"angles" "0 0 0"
"classname" "weapon_knife"
}
I really want a way to have to knife on the server without modifying a vpk file (see Tribalizer's post here)
__________________
cigs is offline
ABRAoriginal
Junior Member
Join Date: Feb 2010
Old 03-13-2010 , 14:39   Re: [l4d2]making the knife available
Reply With Quote #8

sorry to bump but i think alot of people want this
BUMP
ABRAoriginal is offline
dani1341
BANNED
Join Date: Feb 2010
Old 03-14-2010 , 03:18   Re: [l4d2]making the knife available
Reply With Quote #9

Here I tested this addon in single player and local host its working only in dedicated server its untested If you host local your server will need sv_consistency 0 !!!
Attached Files
File Type: rar Custom Melee Weapons.rar (6.8 KB, 577 views)

Last edited by dani1341; 03-17-2010 at 06:58.
dani1341 is offline
cigs
Senior Member
Join Date: Jul 2006
Old 03-14-2010 , 12:01   Re: [l4d2]making the knife available
Reply With Quote #10

Again, that's something that would need to be downloaded by all connecting players. That's not what we're looking for.

As of now, the knife can only be used when a german player connects. That's not the case with all other cs weapons. Using them without any german player ingame is not a problem.
__________________
cigs is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode