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

Custom Weapon Clip Size


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-10-2007 , 20:17   Custom Weapon Clip Size
Reply With Quote #1

Don't use web compiler, this plugin uses Weap_Info.
Custom Weapon Clip Size

This plugin allows you to set custom clip sizes for your weapons. Simply change the value in the .cfg file or if you want the change to be temporary change the cvar via console.

Requirements:
#include <cstrike>
#include <engine>
#include <weap_info>

Install:
If you don't want to have to download Weap_info, just get the .amxx
Put the .cfg in your amxmodx\configs folder.

EX for changing cvars: maxclip_USP 20

Known bugs:
When you have the standard full clip (12 for USP) you cannot reload because cs is telling the client it has full ammo.
When you have the adjusted full clip (20 for USP in example) and you reload, you drop to the standard clip, BUT what is lost is put in your backpack (so you don't lose ammo).

Don't use web compiler, this plugin uses Weap_Info.
Attached Files
File Type: sma Get Plugin or Get Source (CustomClip.sma - 1661 views - 6.8 KB)
File Type: amxx CustomClip.amxx (9.3 KB, 532 views)
File Type: cfg CustomClip.cfg (985 Bytes, 633 views)
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."

Last edited by soccdoodcss; 08-11-2007 at 19:09.
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Fredd
Veteran Member
Join Date: Jul 2007
Old 08-10-2007 , 21:59   Re: Custom Weapon Clip Size
Reply With Quote #2

how is this any different than this?
http://forums.alliedmods.net/showthread.php?p=163092
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-10-2007 , 22:58   Re: Custom Weapon Clip Size
Reply With Quote #3

Honestly I was making this simply for my new weap_info i made and I didn't really know v3x had made one previously. His looks much more advanced than mine, I will admit. Not sure if his has a .cfg though. Mine seems simpler to change things than his also. Although, his has many more features.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Fredd
Veteran Member
Join Date: Jul 2007
Old 08-10-2007 , 23:04   Re: Custom Weapon Clip Size
Reply With Quote #4

well yeah but i actualy like the idea of running a main plugin for natives\multiforwars..etc to run other plugin. well Gj anyways
__________________
Need a private coder? AMXX, SourceMOD, MMS? PM me!
Fredd is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-10-2007 , 23:59   Re: Custom Weapon Clip Size
Reply With Quote #5

I tried v3x's mod and his actually doesn't let you edit the clip size. His is backpack size. *phew*
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 08-11-2007 , 00:40   Re: Custom Weapon Clip Size
Reply With Quote #6

lol this looks nice and well keep up the modding stuff you seem to be getting better and better every day...

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-11-2007 , 01:46   Re: Custom Weapon Clip Size
Reply With Quote #7

*Yawn*
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-11-2007 , 10:28   Re: Custom Weapon Clip Size
Reply With Quote #8

So... what was wrong with it?
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."

Last edited by soccdoodcss; 08-11-2007 at 10:37.
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-11-2007 , 12:19   Re: Custom Weapon Clip Size
Reply With Quote #9

Redundant. Since it needs an API to run unlike v3x's, I think it's probably not as useful.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 08-11-2007 , 18:18   Re: Custom Weapon Clip Size
Reply With Quote #10

Redundant = no.
API to run = so?

v3x's doesn't set clip size, so it isn't redundant. And what does using an API have to do with it? I simply post the .amxx also and people don't have to worry about it.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."

Last edited by soccdoodcss; 08-11-2007 at 18:25.
soccdoodcss is offline
Send a message via AIM to soccdoodcss
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 22:56.


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