Raised This Month: $32 Target: $400
 8% 

Modifying CS:GO's weapon_aug.txt scripts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-04-2015 , 15:52   Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #1

Hey guys,

I am trying to change the reserve clip size, and not the main one (i.e. 30/ > 90 < ). It seems that inside of weapon_aug.txt the only variables that have to do with clip size are these

Code:
	"clip_size"			"30"
	"default_clip"			"-1"
	"default_clip2"			"-1"
I'd really not like to use a SourceMod plugin to do this, because I think we all know how difficult/frustrating/broken pulling ammo from a gun is in CS:GO.

Last edited by headline; 10-04-2015 at 15:52.
headline is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-04-2015 , 19:10   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #2

In scripts/items/...

Search for "primary reserve"
__________________
Neuro Toxin is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-04-2015 , 23:14   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
In scripts/items/...

Search for "primary reserve"
Thanks
headline is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-04-2015 , 23:16   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #4

Nw. The only downside. Most updates overwrite this file. So you find yourself editing it lots.
__________________
Neuro Toxin is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-05-2015 , 04:36   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #5

so it would be awesome if we can use a plugin to change it
__________________
8guawong is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 10-05-2015 , 04:39   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #6

Quote:
Originally Posted by 8guawong View Post
so it would be awesome if we can use a plugin to change it
https://forums.alliedmods.net/showthread.php?t=263717
__________________
Wilczek is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-05-2015 , 04:46   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #7

Quote:
Originally Posted by Wilczek View Post
that doesn't change player's weapon clip. it only changes the weapon's reserve ammo
__________________
8guawong is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-05-2015 , 04:47   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #8

I tried that once. Ended up not using it because ammo still doesn't display as expected.

A better idea is to have a plugin rewrite the items file and restart the server.
__________________
Neuro Toxin is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 10-05-2015 , 04:55   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #9

Quote:
Originally Posted by 8guawong View Post
that doesn't change player's weapon clip. it only changes the weapon's reserve ammo
So you want to have for example 30 bullets in the loaded clip, but after a reload have a 90-bullets clip?
__________________
Wilczek is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-05-2015 , 05:10   Re: Modifying CS:GO's weapon_aug.txt scripts
Reply With Quote #10

Quote:
Originally Posted by Wilczek View Post
So you want to have for example 30 bullets in the loaded clip, but after a reload have a 90-bullets clip?
like p90 will always hold 90 clips instead of 50
__________________
8guawong 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 13:54.


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