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

Weapon Model Replacement


Post New Thread Reply   
 
Thread Tools Display Modes
dstopgunner
Senior Member
Join Date: Oct 2007
Old 03-09-2008 , 05:37   Re: Weapon Model Replacement
Reply With Quote #361

Can Guns sounds be replaced?
dstopgunner is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 03-10-2008 , 00:29   Re: Weapon Model Replacement
Reply With Quote #362

Quote:
Originally Posted by GHW_Chronic View Post
Sounds however only work for melee weapons (IE: knife, crowbar).
Think only knife sounds are emitted in a way that could be caught to be changed.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
furifuri
Junior Member
Join Date: Mar 2008
Old 04-12-2008 , 20:10   Re: Weapon Model Replacement
Reply With Quote #363

Alright. I'm adding a knife model and sound to my dedicated server. In the /dedicated server/cstrike/models there is nothing. So what am i supposed to write in the weapons.ini thingy? i mean as i dont have the direction to where normal sounds and models are i cant change em.. no? Help needed
furifuri is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-12-2008 , 23:33   Re: Weapon Model Replacement
Reply With Quote #364

the normal names are in the following format:
models/c_weaponname.mdl
where c is character w, v, p and the weaponname is the name of the gun like "p228". the gun names are probrably the same as the CSW_constants located on the wiki http://www.amxmodx.org/funcwiki.php?go=module&id=4

So for knife it would be
Code:
"models/w_knife.mdl" "models/mynewmodels/w_knife.mdl"
"models/v_knife.mdl" "models/mynewmodels/v_knife.mdl"
"models/p_knife.mdl" "models/mynewmodels/p_knife.mdl"
And for the sounds unless you know how to look up the sound files then your best try is to guess that the sounds are the same name as the ones you downloaded. Here are the knife sounds that should be replaced though:
Code:
sound/weapons/knife_deploy1.wav
sound/weapons/knife_hit1.wav
sound/weapons/knife_hit2.wav
sound/weapons/knife_hit3.wav
sound/weapons/knife_hit4.wav
sound/weapons/knife_hitwall1.wav
sound/weapons/knife_slash1.wav
sound/weapons/knife_slash2.wav
sound/weapons/knife_stab.wav
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-12-2008 , 23:56   Re: Weapon Model Replacement
Reply With Quote #365

Quote:
Originally Posted by dstopgunner View Post
Can Guns sounds be replaced?
Not yet. it is said in 1st post. guns sounds cant be replaced for some reasons.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
furifuri
Junior Member
Join Date: Mar 2008
Old 04-13-2008 , 06:12   Re: Weapon Model Replacement
Reply With Quote #366

I appreciate the help GHW_Chronic. I've now tried that out, and it still didn't work, I guess i just wont get it working on my server.. Not a too big deal.

But thanks for the help!
furifuri is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-13-2008 , 10:25   Re: Weapon Model Replacement
Reply With Quote #367

u can get it to work.
maybe ur folder is hidding ur files?
if not. just download the normal models out of an official cs site. im sure u can find some :]
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
coca-cola
BANNED
Join Date: Dec 2007
Location: I got caught by Roach be
Old 04-20-2008 , 16:07   Re: Weapon Model Replacement
Reply With Quote #368

I use this plugin on my server, and in an attempt to lower the amount of models clients have to download, I made all of my custom p and w skins as submodels of one model, so in reality they only have to download all of the v_ models, and 1 p and one w model. I was wondering if it was possible for you to make an option for submodels for this plugin
coca-cola is offline
cs1.6
Senior Member
Join Date: Dec 2006
Old 05-03-2008 , 07:21   Re: Weapon Model Replacement
Reply With Quote #369

i get this error @ map change / restart but the plug works perfect.

Code:
L 05/03/2008 - 12:35:18: [GHW_Weapon_Replacement.amxx] Warning: File Inexistent:
 "weapons/knife_deploy1.wav" (Line 2 of new_weapons.ini). ONLY A WARNING. PLUGIN
 WILL STILL WORK!!!!
L 05/03/2008 - 12:35:18: [GHW_Weapon_Replacement.amxx] Warning: File Inexistent:
 "weapons/knife_hit1.wav" (Line 3 of new_weapons.ini). ONLY A WARNING. PLUGIN WI
LL STILL WORK!!!!
L 05/03/2008 - 12:35:18: [GHW_Weapon_Replacement.amxx] Warning: File Inexistent:
 "weapons/knife_hit2.wav" (Line 4 of new_weapons.ini). ONLY A WARNING. PLUGIN WI
LL STILL WORK!!!!.....
....
..
if it works, it means the sounds & model are in their folder..so that cant be the problem.

Maybe the format?:

Code:
"models/v_knife.mdl" "models/sj/v_knife.mdl"
"sound/weapons/knife_deploy1.wav" "sound/sj/csfriend_knife_deploy1.wav"
"sound/weapons/knife_hit1.wav" "sound/sj/csfriend_knife_hit1.wav"
"sound/weapons/knife_hit2.wav" "sound/sj/csfriend_knife_hit2.wav"
"sound/weapons/knife_hit3.wav" "sound/sj/csfriend_knife_hit3.wav"
"sound/weapons/knife_hit4.wav" "sound/sj/csfriend_knife_hit4.wav"
"sound/weapons/knife_hitwall1.wav" "sound/sj/csfriend_knife_hitwall1.wav"
"sound/weapons/knife_slash1.wav" "sound/sj/csfriend_knife_slash1.wav"
"sound/weapons/knife_slash2.wav" "sound/sj/csfriend_knife_slash2.wav"
"sound/weapons/knife_stab.wav" "sound/sj/csfriend_knife_stab.wav"
cs1.6 is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 05-03-2008 , 09:07   Re: Weapon Model Replacement
Reply With Quote #370

u dint put the files that are supposed to replace or be replaced in the directory.
check ur file and see if u have this file in it.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
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 10:19.


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