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

CS:GO Changing the prices on weapons?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CheeseFace
New Member
Join Date: Sep 2012
Old 09-14-2012 , 00:57   CS:GO Changing the prices on weapons?
Reply With Quote #1

Is there a file that lists the default prices of weapons or is there a way i could change the price of an awp or auto on my server?
CheeseFace is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-14-2012 , 03:12   Re: CS:GO Changing the prices on weapons?
Reply With Quote #2

csgo/scripts/weapon_weaponname.txt. For example you can change awp's price in weapon_awp.txt

Default f.e.:
"MaxPlayerSpeed" 200
"MaxPlayerSpeedAlt" 150
"WeaponType" "SniperRifle"
"FullAuto" 0
"WeaponPrice" "4750"
"KillAward" "50"
"WeaponArmorRatio" "1.95"
"CrosshairMinDistance" "8"
"CrosshairDeltaDistance" "3"
"Team" "ANY"
"BuiltRightHanded" "1"
"PlayerAnimationExtension" "awp"

Haven't tested if it works...
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
CheeseFace
New Member
Join Date: Sep 2012
Old 09-14-2012 , 03:35   Re: CS:GO Changing the prices on weapons?
Reply With Quote #3

Cool! It worked!
(This is my lazy way to disable auto snipers without installing weapon restrict plugin/SDKHooks)
Thanks alot VJScope!
CheeseFace is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-14-2012 , 09:33   Re: CS:GO Changing the prices on weapons?
Reply With Quote #4

weapon restrict isn't working properly in CSGO (well we cant get it work properly). You can buy awp but you can't pick it up. You're welcome
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-14-2012 , 11:45   Re: CS:GO Changing the prices on weapons?
Reply With Quote #5

Quote:
Originally Posted by VJScope View Post
weapon restrict isn't working properly in CSGO (well we cant get it work properly). You can buy awp but you can't pick it up. You're welcome
It works fine. Stop saying it doesn't. You are the only one that reported that issue out of 500+ servers. Not to mention i tested it multiple times. Post all your info (sm plugins list, config, sm exts list etc) in the weapon restrict thread.


Quote:
Originally Posted by CheeseFace View Post
Cool! It worked!
(This is my lazy way to disable auto snipers without installing weapon restrict plugin/SDKHooks)
Thanks alot VJScope!
lazy to drag and drop wow. You shouldn't run a server

Last edited by Dr!fter; 09-14-2012 at 11:46.
Dr!fter is offline
paterinvictus
Senior Member
Join Date: Aug 2012
Old 09-14-2012 , 16:06   Re: CS:GO Changing the prices on weapons?
Reply With Quote #6

Quote:
Originally Posted by VJScope View Post
csgo/scripts/weapon_weaponname.txt. For example you can change awp's price in weapon_awp.txt

Default f.e.:
"MaxPlayerSpeed" 200
"MaxPlayerSpeedAlt" 150
"WeaponType" "SniperRifle"
"FullAuto" 0
"WeaponPrice" "4750"
"KillAward" "50"
"WeaponArmorRatio" "1.95"
"CrosshairMinDistance" "8"
"CrosshairDeltaDistance" "3"
"Team" "ANY"
"BuiltRightHanded" "1"
"PlayerAnimationExtension" "awp"

Haven't tested if it works...

Does this need a complete Server restart or just a map change?
paterinvictus is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-14-2012 , 17:08   Re: CS:GO Changing the prices on weapons?
Reply With Quote #7

Quote:
Originally Posted by Dr!fter View Post
It works fine. Stop saying it doesn't. You are the only one that reported that issue out of 500+ servers. Not to mention i tested it multiple times. Post all your info (sm plugins list, config, sm exts list etc) in the weapon restrict thread.




lazy to drag and drop wow. You shouldn't run a server
Sorry drifter. I still use your plugin. Didn't mean to underestimate your plugin but notice: weapon restrict isn't working properly in CSGO (well we cant get it work properly). And onew thing I've learned about coding is that no matter how simple it is, there still is going to be problems for some people. Still it's a great plugin!!!
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 09-14-2012 at 17:21.
VJScope is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-14-2012 , 17:23   Re: CS:GO Changing the prices on weapons?
Reply With Quote #8

Quote:
Originally Posted by paterinvictus View Post
Does this need a complete Server restart or just a map change?
Not sure... I'll try
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
Cain
SourceMod Donor
Join Date: May 2005
Location: South Carolina, USA
Old 09-16-2012 , 08:03   Re: CS:GO Changing the prices on weapons?
Reply With Quote #9

Quote:
Originally Posted by VJScope View Post
csgo/scripts/weapon_weaponname.txt. For example you can change awp's price in weapon_awp.txt

Default f.e.:
"MaxPlayerSpeed" 200
"MaxPlayerSpeedAlt" 150
"WeaponType" "SniperRifle"
"FullAuto" 0
"WeaponPrice" "4750"
"KillAward" "50"
"WeaponArmorRatio" "1.95"
"CrosshairMinDistance" "8"
"CrosshairDeltaDistance" "3"
"Team" "ANY"
"BuiltRightHanded" "1"
"PlayerAnimationExtension" "awp"

Haven't tested if it works...
I tried this on my CSGO server and it changed the actual cost of the weapon but the buy menu still has the old price..

Can I edit the buy menu on my server, and have all the clients see the edited buy menu weapon costs, or is that menu rendered client-side?

I love this idea, an elegant solution without using the plugin, but if we cannot change the menu price, it will be confusing to our players.

Last edited by Cain; 09-16-2012 at 10:25.
Cain is offline
parthi
Senior Member
Join Date: Mar 2015
Old 05-04-2015 , 17:43   Re: CS:GO Changing the prices on weapons?
Reply With Quote #10

hi and how to change price for vesthelm ? please
parthi 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 02:57.


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