AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Call of Duty 4: Martyrdom (https://forums.alliedmods.net/showthread.php?t=70610)

soccdoodcss 04-28-2008 01:34

Call of Duty 4: Martyrdom
 
11 Attachment(s)
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

Emp` 04-28-2008 02:10

Re: Martrydom
 
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?

soccdoodcss 04-28-2008 11:00

Re: Martyrdom
 
It has worked for me, perhaps wait for someone else to say it works. I'll add the cvar right now.

hoboman 04-28-2008 11:32

Re: Martyrdom
 
just so you know, the task time cannot be less than 0.1

Styles 04-28-2008 11:32

Re: Martyrdom
 
ill try when I get home

soccdoodcss 04-28-2008 11:37

Re: Martyrdom
 
Hoboman, if it is too little it will just round up. However, I'll change it, thanks.

Battousai-sama 04-29-2008 19:02

Re: Martyrdom
 
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]

soccdoodcss 04-29-2008 22:49

Re: Martyrdom
 
Lol. Yea I love COD4. What do you mean by the description? That it isn't the same as COD's?

Battousai-sama 04-30-2008 07:08

Re: Martyrdom
 
when your killed you will drop an active grenade.

instead of active its live. in cod4.

BOYSplayCS 04-30-2008 07:19

Re: Martyrdom
 
It's basically the same thing.

Good plugin btw.


All times are GMT -4. The time now is 01:16.

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