Raised This Month: $32 Target: $400
 8% 

Call of Duty 4: Martyrdom


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Emp` (115)
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-28-2008 , 01:34   Call of Duty 4: Martyrdom
Reply With Quote #1

Martyrdom
Drops Live Grenade On Death

Credit:
. v3x - used grenade flags from Unlimited Ammo

Info:
. When you are killed, you will drop an active grenade.
. Change 'md_mult' to increase the grenade's damage. This increases all grenades' damage.
. This is based off of Call of Duty 4's martyrdom perk.
. If 'md_hasgrenade' is '1' the priorities will go: hegrenade, smokegrenade, flashbang.

CVARS:
. md_on (def: 1) - enables the plugin
. md_hasgrenade (def: 0) - if '1', will only drop if you have a grenade, if '0, will drop hegrenade no matter what
. md_grenades (def: "ab") - a: hegrenade, b: smokegrenade, c: flashbang ; allows the dropping of these grenades
. md_mult (def: 1.0) - he grenade damage multiplier

Requires:
. Fakemeta
. Hamsandwich

Changelog:
. 1.1:
- Added hasgrenade, smoke, flash.

. 1.2:
- Added grenades flags (for cvar)

. 1.2a:
- Made cvars server variable
- Changed Active to Live

. 1.3:
- Fixed fakedamage problems

. 1.3a:
- Fixed the +attack sticking

. 1.3b:
- Optimized code to fix bugs
Attached Files
File Type: sma Get Plugin or Get Source (martyrdom.sma - 4400 views - 3.8 KB)
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."

Last edited by soccdoodcss; 07-11-2008 at 23:03.
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-28-2008 , 02:10   Re: Martrydom
Reply With Quote #2

Was waiting for this to come out...

Perhaps a cvar for it only to work if you have a grenade (or a smoke grenade?) ?

Will look at the code in a sec.

edit: code looks good, I assume it works?

Last edited by Emp`; 04-28-2008 at 02:21.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-28-2008 , 11:00   Re: Martyrdom
Reply With Quote #3

It has worked for me, perhaps wait for someone else to say it works. I'll add the cvar right now.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
hoboman
Senior Member
Join Date: Jul 2007
Old 04-28-2008 , 11:32   Re: Martyrdom
Reply With Quote #4

just so you know, the task time cannot be less than 0.1
__________________
hoboman is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 04-28-2008 , 11:32   Re: Martyrdom
Reply With Quote #5

ill try when I get home
Styles is offline
Send a message via AIM to Styles
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-28-2008 , 11:37   Re: Martyrdom
Reply With Quote #6

Hoboman, if it is too little it will just round up. However, I'll change it, thanks.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-29-2008 , 19:02   Re: Martyrdom
Reply With Quote #7

Heh looks like ur a COD4 Player :]
Nice plugin.

[Edit]
Fint see the Call Of Duty 4's Martyrdom Perk Description

Still Nice Plugin.
[/Edit]
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 04-29-2008 , 22:49   Re: Martyrdom
Reply With Quote #8

Lol. Yea I love COD4. What do you mean by the description? That it isn't the same as COD's?
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-30-2008 , 07:08   Re: Martyrdom
Reply With Quote #9

when your killed you will drop an active grenade.

instead of active its live. in cod4.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-30-2008 , 07:19   Re: Martyrdom
Reply With Quote #10

It's basically the same thing.

Good plugin btw.
BOYSplayCS 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 07:23.


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