Raised This Month: $276 Target: $400
 69% 

Weapon Model Replacement


Post New Thread Reply   
 
Thread Tools Display Modes
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 08-28-2006 , 11:09   Re: Weapon Model + Sound replacement
Reply With Quote #11

I am saying like

models/terror.mdl" "models/new_terror.mdl"

but do this so you can have an entire T or CT skin pack.
TiMbErLaNd is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2006 , 17:13   Re: Weapon Model + Sound replacement
Reply With Quote #12

@jeep: dunno what to tell you. The sounds should be working. Just Wondering, is ur server linux?

@timber: This is called "weapon model+sound replacement". I might think about making a player skin replacement plugin if there is not a good one out there.

And as for the w_ - I will possibly add another hook for this. I had made this for my GHW server and personally did not want w_ models because then I can't tell what they were on the ground, so i didn't even bother scripting it. But it isn't my opinion that counts right?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2006 , 17:40   Re: Weapon Model + Sound replacement
Reply With Quote #13

I quick added w_ models.

*While adding this i realized there is a way to make this plugin more efficient (not that it isn't already really efficient).
*Also noticed that on maps like aim_map where guns start on floor, the w_ models will remain the same, I'll do a simple check on newrounds to change the models of the spawned guns already in the map.

I'll add a newer version in a while.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
j33p
Junior Member
Join Date: Jul 2006
Location: quebec
Old 08-28-2006 , 18:11   Re: Weapon Model + Sound replacement
Reply With Quote #14

im using windows xp professionnal with service pack 2
j33p is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2006 , 18:14   Re: Weapon Model + Sound replacement
Reply With Quote #15

I just started messing with the sound replacement. I know for a fact that when I made this I had tested this out and it had worked. I am trying to figure out why the sound hook isn't working anymore. gyar

Edit: Figured it out. I had tested the hook by replacing the knife sound. The hook doesn't want to register any other sounds except knife sounds. So this current version can only replace knife sounds.

Last edited by GHW_Chronic; 08-28-2006 at 18:29.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2006 , 18:53   Re: Weapon Model + Sound replacement
Reply With Quote #16

*Added better efficiency by detecting what type of model it is (w_ / p_ / v_)
*Added error logs for precaching (incase you may have typoed the filename)
*Fixed bug where armoury entities on the ground on maps such as aim_map would not have the new w_ model on spawn
*Updated main post to inform people of the sound replacement error
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
j33p
Junior Member
Join Date: Jul 2006
Location: quebec
Old 08-28-2006 , 19:59   Re: Weapon Model + Sound replacement
Reply With Quote #17

so, what is the problem with every sounds exepts the knife?
j33p is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2006 , 20:10   Re: Weapon Model + Sound replacement
Reply With Quote #18

wtf can you not read? it's a technical problem. So far there is no "discovered" way to do what we want the sound to do. So hopefully i can find a way to pull it off.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
j33p
Junior Member
Join Date: Jul 2006
Location: quebec
Old 08-28-2006 , 20:28   Re: Weapon Model + Sound replacement
Reply With Quote #19

i'm sorry
j33p is offline
BACARRA
Senior Member
Join Date: Mar 2005
Old 08-29-2006 , 14:38   Re: Weapon Model + Sound replacement
Reply With Quote #20

if you want to change the sounds edit the qc file in the model
BACARRA is offline
Reply


Thread Tools
Display Modes

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 18:43.


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