AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS] Realistic Reload(updated at 2012 12 19) (https://forums.alliedmods.net/showthread.php?t=151662)

javalia 02-26-2011 09:48

[CSS] Realistic Reload(updated at 2012 12 19)
 
12 Attachment(s)
<Realistic Reload>




Introdution

when u reload yo gun, it will remove bullets left on magazine.
ex : having m4a1 with 30 bullets on it -> start reload -> gun has only 1 bullet(on chamber) -> finish reload -> 31 bullets r in gun
if your gun is openbolt type(only m249 and mac10 is open bolt gun in css), it will remove whole the ammo in gun when u reload.

and u can even reload while yo gun is full. k..
oh, do u want to have separated reserved ammo for guns like p90 and fivesevens that r sharing ammo type? and u want to let p90 can have 400 bullets and fivesevens 160 bullets? u can use this plugin! https://forums.alliedmods.net/showthread.php?t=203231



Requirements

this plugin needs the things listed below to work:
  • SDKHooks



Installation

to install this plugin
  • put the smx file in the sourcemod/plugins folder
to compile this plugin manually
  • put all sp files in the sourcemod/scripting folder
  • put all inc files in the sourcemod/scripting/include folder
  • compile.



Configuration

to configurate this plugin to your likes.......eh, sorry, there is nothing that u can config, yea!


Known Bugs & Limits Of the Mod

it can show u a predict bugs. it still cannot do anything about shotguns.
to prevent related bugs, this plugin will not do it`s functions after round is finished, until next round`s freezetime gets over.



Special Thanks To

i want to say thanks to these guys
  • DJtsunami for made SDKHooks
  • Jeru for reporting 2 important bugs
  • eyes of hunter for reporting a bug
  • relicek for reporting a bug



Change Log

all the date`s format is y/m/d
Code:

update at 2014 07 25(ver 1.5.7.27)
  • fixed an old bug which makes duel elite to spent 2 ammo without any benefits when u change to another weapon and change back to it while reloading it

update at 2012 12 22(ver 1.5.6.26)
  • changed plugin`s code to have better look. it needs latest sm snapshot to work without bug.

update at 2012 12 19(ver 1.5.5.25)
  • added support for dual elite`s dual chamber.(yes, dual elite is two guns.)

update at 2012 12 17(ver 1.4.5.22)
  • changed mac10 to openbolt gun.(because real world one is actually an open bolt gun)

update at 2012 12 17(ver 1.4.4.21)
  • fixed plugin to work fine with bots

  • fixed plugin to not allow any reload in freezetime.

  • fixed plugin to handle m249 in more realistic way.

  • fixed round start bugs, thanks for relicek for reporting this bug.

  • attached updated sp file and smx file in zip format to keep old version`s download count. :)

update at 2012 3 11(ver 1.0.2.13)
  • fixed bug that makes tons of runtime error when reload while holding knife.

update at 2012 3 11(ver 1.0.2.12)
  • fixed horrible bug that doing opposite work about shotguns and normal guns.

update at 2012 1 25(ver 1.0.2.11)
  • fixed code a bit.

update at 2011 12 20(ver 1.0.2.10)
  • clearned code a bit.

update at 2011 12 20(ver 1.0.2.9)
  • deleted debug code.

update at 2011 12 20(ver 1.0.2.8)
  • changed code to use latest GetEntProp function`s updated cool element access functionality. cleand code a bit.

update at 2011 10 2(ver 1.0.0.2)
  • fixed little bug.

update at 2011 10 2(ver 1.0.0.1)
  • added chamber bullet function.

update at 2011 2 26(ver 1.0.0.0)
  • released



javalia 02-26-2011 10:01

Re: [ANY]Realistic Reload
 
oh, also, u can **uck up users in css whom is using reload sound fake and try to cheat other enemy with it. lol

phoenix0001 02-26-2011 10:04

Re: [ANY]Realistic Reload
 
What did not see to understand

javalia 02-26-2011 10:07

Re: [ANY]Realistic Reload
 
Quote:

Originally Posted by phoenix0001 (Post 1424085)
What did not see to understand

sorry, i cannot understand yo english

phoenix0001 02-26-2011 10:11

Re: [ANY]Realistic Reload
 
RealisticReload Any introduction?

FrozDark 02-26-2011 10:11

Re: [ANY]Realistic Reload
 
nice idea, but I won't use it

javalia 02-26-2011 10:12

Re: [ANY]Realistic Reload
 
Quote:

Originally Posted by phoenix0001 (Post 1424089)
RealisticReload Any introduction?

it just removes ammo on your gun`s magazine when u reload

javalia 02-26-2011 10:19

Re: [ANY]Realistic Reload
 
ooops, this plugins`s code doesnt need stocklib at all.
it is mistake, but it doesnt hurt plugin or server at all.

phoenix0001 02-26-2011 10:24

Re: [ANY]Realistic Reload
 
L4D2 Weapons can not be on the playing

databomb 02-26-2011 10:25

Re: [ANY]Realistic Reload
 
Nice work javalia, another great addition to make gameplay more realistic! It'd be nice if the magazines were handled more like the SWAT games where you have 4 separate HUD icons and it shows you how much is remaining in each. Unfortunately that level of hackerky would probably require a new game mod.


All times are GMT -4. The time now is 01:17.

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