Raised This Month: $95 Target: $400
 23% 

Catch the Nade


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (167)
VEN
Veteran Member
Join Date: Jan 2005
Old 12-07-2005 , 10:20   Catch the Nade
Reply With Quote #1

        • Catch the Nade
Description
  • Plugin allow to collect throwed (with +attack) grenades.
Note
  • You can not collect throwed by yourself grenades.
Features
  • - ability collect more than 1/2/1 nades (configurable)
    - ability "delete" nade by touch to it (configurable)
    - ability collect only certain nade type (configurable)
Modules
  • engine
    cstrike
    fun
Configuration
  • AMMO_SOUND - gain nade ammo sound filename (default: "items/9mmclip1.wav")
    NADE_TYPE_NUM - number of total nade types (default: 3)
    NADE_MODEL - nade models
    NADE_WEAPON_ID - nade weapon ids
    NADE_WEAPON_NAME - nade weapon names
    NADE_WEAPON_MAX_AMMO - nade CS standard max. weapon ammo list
CVARs
  • amx_catch_thenade (default: 1) - if you have for example two flashbang grenades:
    • 1: you can't collect more FB nades (+standard nade behaviour: bounce/explode)
      2: you can collect more FB nades
      3: you can't collect more FB nades but you can "delete" nade by touch to it
      0: plugin disabled
Versions
  • 0.2
    • fixed C4 touch bug
    0.1
    • first release
Thanks
  • satanwoj - for initial idea
Attached Files
File Type: sma Get Plugin or Get Source (catchthenade.sma - 3635 views - 3.0 KB)
VEN is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 12-07-2005 , 13:26  
Reply With Quote #2

Quote:
Now you can catch grenades on the fly!
You should put a check if the nade is in the air.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-07-2005 , 13:52  
Reply With Quote #3

Uses e?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-07-2005 , 13:52  
Reply With Quote #4

Code:
if(get_entity_flags(ent)&FL_ONGROUND) {   // }
meep.. Think that's it ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-07-2005 , 14:59  
Reply With Quote #5

Quote:
You should put a check if the nade is in the air.
Actually it wasn't planned to do it possible to catch the nades only on the fly it was not exact but figurative expression.

Quote:
Uses e?
No.

Quote:
meep.. Think that's it
Yeah i know. ;)

EDIT: Anyway nade may bounce so it may seems like nade is on the ground but in real it would be a bit over the ground. It's not very easy to implement and i think it's not necessary at all.

Thank you all for comments.

EDIT:

I noticed weird thing. I can't collect nades which throwed by myself but bots can (can't test on real players).

First post changed:
  • - Description removed.
    - To Do List added
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-08-2005 , 14:22  
Reply With Quote #6

Version 0.1 is released.

Read 1st post for details.
VEN is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 12-19-2005 , 12:49  
Reply With Quote #7

Update:
  • - fixed C4 touch bug
Plugins was successfully tested and now should work correctly.

Plugin information also updated.
Please (re)read first post of this thread for details.
VEN is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 12-19-2005 , 12:57  
Reply With Quote #8

This was my idea? O.o
Jordan is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 12-19-2005 , 13:08  
Reply With Quote #9

Quote:
Originally Posted by satanwoj
This was my idea? O.o
Hell no!
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
VEN
Veteran Member
Join Date: Jan 2005
Old 12-19-2005 , 14:32  
Reply With Quote #10

Quote:
Originally Posted by satanwoj
This was my idea? O.o
Yes, of course!
I thought you know about existence of this plugin! o_O
At least i had posted a reply to your request in another my plugin thread which was deleted. :(
You are listed at the "Thanks" section.
Please read first post of this thread for details.
VEN is offline
Reply


Thread Tools
Display Modes

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 14:47.


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