AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoD:S] DetoNades (https://forums.alliedmods.net/showthread.php?t=221726)

Root_ 07-25-2013 14:17

[DoD:S] DetoNades
 
Here is another plugin which tweaks gameplay a bit.
This little plugin simply detonates a grenade when it collides with a player. Like a rocket :mrgreen:
You can set it to detonate only rifle grenades, or only frag greandes, or both.

ConVars
dod_detonade_frag_grenades - Whether or not detonate frag grenade when it collides with a player (Default: disabled)
dod_detonade_rifle_grenades - Whether or not detonate rifle grenade when it collides with a player (Default: enabled)

Add those two commands in server.cfg and have fun!

Special thanks to blodia for amazing tip

Servers with this plugin

Download plugin
Browse source code

Root_ 08-18-2013 11:33

Re: [DoD:S] DetoNades
 
Fixed major issue on a linux servers when those could not launch after installing this plugin.

alencore 10-01-2013 08:04

Re: [DoD:S] DetoNades
 
Another cool dods plugin indeed!

Btw hope you could add an option to enable nades to explode upon impact on whatever solid surface it hits like the ground and walls for example?

Root_ 10-06-2013 18:30

Re: [DoD:S] DetoNades
 
Not really sure if its even possible. I can made one, but as a separate plugin maybe.

alencore 10-07-2013 01:36

Re: [DoD:S] DetoNades
 
Cool I'll wait for that! :-)

mewbie222 08-02-2020 00:46

Re: [DoD:S] DetoNades
 
Quote:

L 08/01/2020 - 20:37:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
L 08/01/2020 - 20:37:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 485/env_laser)
L 08/01/2020 - 20:37:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
L 08/01/2020 - 20:37:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
L 08/01/2020 - 20:37:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 482/env_laser)
L 08/01/2020 - 20:37:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
L 08/01/2020 - 20:37:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
L 08/01/2020 - 20:37:40: [SM] Native "GetEntProp" reported: Property "m_bIsLive" not found (entity 484/env_laser)
L 08/01/2020 - 20:37:40: [SM] Displaying call stack trace for plugin "dod_detonades.smx":
L 08/01/2020 - 20:37:40: [SM] [0] Line 101, C:\dod_detonades.sp::TraceAttackPost()
I can't understand, the chtol update in Steam broke the plugin, errors began to appear and the server began to lag because of this ..

See why errors and how can I fix it?

1400gsx 03-04-2024 08:09

Re: [DoD:S] DetoNades
 
Hi guys. fix the plugin code, it is outdated.


Listing 2 plugins:
[01] SourceMod (1.11.0.6955) by AlliedModders LLC
[02] SDK Tools (1.11.0.6955) by AlliedModders LLC


//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// dod_detonades.sp
//
// C:\dod\addons\sourcemod\scripting\dod_detonad es.sp(27) : error 153: Array-based enum structs have been removed. See https://wiki.alliedmods.net/SourcePa...x#Enum_Structs
//
// 1 Error.
//
// Compilation Time: 0,17 sec
// ----------------------------------------

Press enter to exit ...


\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

enum Grenades
{
Handle:frag_grens,
Handle:riflegrens
};


All times are GMT -4. The time now is 12:53.

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