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

Real Grenades Behavior [11 may updated]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Emp` (115)
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 04-28-2008 , 17:19   Real Grenades Behavior [11 may updated]
Reply With Quote #1

Real Grenades Behavior
||||||
||||||||| |||||||||

Description:

Plugin allows you to block unrealistic and funny grenades behavior, when you have pulled out the cotter pin from them (in the red circle) and still you could change, pick up, buy a weapon and you had like a new grenade with new cotter pin. You could use all mechanisms, and defuse a bomb too! With one hand, almost impossible. No more unrealistic situations! With this plugin player when he will pull out cotter pin, he cant pick up nothing, buy nothing, use mechanisms/defuse a bomb, and change weapon (small advice, when you will use "invprev" or "invnext" grenade will be thrown automatic).

Added new version with grenade speed, when you will throw grenade quick after putting out the pin, you will throw it very close, cause u didnt had time to throw it harder. After some moment you will gain more power to throw it and you will do it a little better. After another moment you will have full power to throw it as far as you can.

Cvars:

You can change name of all cvars in .sma

- rgb 0 turn off the plugin
- rgb 1 turn on the plugin
- rgb 2 doesnt affect on admins (default ADMIN_IMMUNITY is needed), you can change it in .sma in "#define IMMUNITY" line

- rgb_speed 1 1 is turning on grenade speed manipulation, 0 turning off
- rgb_speedtime_1
a value in seconds after first speed point will be added(the most optimal is 0.8-0.9 cause pulling out the pin costs ~0.7 sec)
- rgb_speedtime_2
a value in seconds after next (2) and 3 speed point will be added, to gain all 3 points you need time from rgb_speedtime_1 + 2x rgb_speedtime_2
- rgb_bartime
how long the progressbar will be shown when pulling out the pin (must be full number not fraction! if 0 turn off)
- rgb_speed_0 a value in percent (i mean 0.2 = 20%, 0.5 = 50% 1=100%) of throwing speed with 0 speed points (default 0.25 (25%) )
- rgb_speed_1 a value in percent (i mean 0.2 = 20%, 0.5 = 50% 1=100%) of throwing speed with 1 speed points (default 0.5 (50%) )
- rgb_speed_2 a value in percent (i mean 0.2 = 20%, 0.5 = 50% 1=100%) of throwing speed with 2 speed points (default 0.75 (75%) )
- rgb_speed_3 a value in percent (i mean 0.2 = 20%, 0.5 = 50% 1=100%) of throwing speed with 3 speed points (default 1 (100%) )

Credits/idea:

I dont know if such a plugin exist, i didnt saw any, idea and performance by me :>

Changelog:

1.0 - first idea
1.5 - made some fixes still local ^^
2.0 - done and posted
2.2 - updated with
soccdoodcss tips
2.3 - small edit and converted from <engine> to <fakemeta>
2.5 - added new version (dont know if work properly for sure, someone must test it) with grenade speed, device idea, and X-olent help with script
2.7 - added cvars to all + added 'progressbar' from AlexBreems idea and fixed a small bug with pin

Works:

For sure works on counter strike 1.6, if someone want to, can check other similar games

Screens:

To realize
exactly what i'm talking about, i made 3 simple screens and took 1 picture from internet of grenades, in the red circle you can see cotter pin, if you pull it out, you just cant normal put it on back :>
To see a grenade speed effect, just install plugin, and throw grenade as fast as you can after pulling out the pin ;>

http://upload.wikimedia.org/wikipedi...-67Grenade.jpg

http://img263.**************/img263/2857/54591931pa4.png

http://img132.**************/img132/4251/21268228lq5.png

http://img132.**************/img132/5084/67414585jl9.png
Attached Files
File Type: sma Get Plugin or Get Source (real_grenades_behavior.sma - 2175 views - 8.0 KB)
__________________
This is 10% luck, 20% skill, 15% concentrated power of will,
5% pleasure, 50% pain and 100% reason to remember my name..

Last edited by Salamon; 05-11-2008 at 12:40. Reason: updating - bugfix & code change
Salamon is offline
 



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 09:30.


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