AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Catch the Nade (https://forums.alliedmods.net/showthread.php?t=21672)

VEN 12-07-2005 09:20

Catch the Nade
 
1 Attachment(s)
        • 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

Cheap_Suit 12-07-2005 12:26

Quote:

Now you can catch grenades on the fly!
You should put a check if the nade is in the air.

SweatyBanana 12-07-2005 12:52

Uses e?

v3x 12-07-2005 12:52

Code:
if(get_entity_flags(ent)&FL_ONGROUND) {   // }
meep.. Think that's it ;)

VEN 12-07-2005 13:59

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 12-08-2005 13:22

Version 0.1 is released.

Read 1st post for details.

VEN 12-19-2005 11:49

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.

Jordan 12-19-2005 11:57

This was my idea? O.o

Sir Apocalypse 12-19-2005 12:08

Quote:

Originally Posted by satanwoj
This was my idea? O.o

Hell no!

VEN 12-19-2005 13:32

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.


All times are GMT -4. The time now is 03:29.

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