AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Q3 Armour v1.0.1 (https://forums.alliedmods.net/showthread.php?t=57470)

Simon Logic 07-05-2007 09:05

Q3 Armour v1.0.1
 
4 Attachment(s)
Info:
Armor goes first then health on damage.

Requirements:
* any mod supported by Ham Sandwich module
* AMX/X 1.7x or higher
* Fakemeta module
* Ham Sandwich module

New cvars:
* q3armor_affectdmgbits <flags> (default=DMG_BULLET+DMG_BLAST=bg)
* q3armor_affectgenericdmg <0|1> (default=1)
affect generic damage; moved into separate cvar because
DMG_GENERIC = 0
* [CS] q3armor_affectknifedmg <0|1> (default=0)
affect knife kill; if q3armor_affectdmgbits does not have DMG_BULLET
then this cvar is automatically assumed off (knife damage indicated
by DMG_BULLET bit)

Notes:
* [CS] cvars are available under CS/CZ mod only

Credits:
* Sawce for HS module

Changelog:

1.0.1 [2007-11-19]
+ added cvars: 'q3armor_affectdmgbits', 'q3armor_affectgenericdmg',
'q3armor_affectknifedmg'
! fall damage does not grab armor anymore
* now you can handle armor damage influence per any damage type
1.0.0 [2007-07-07]
* first public release

Appendix (DMG_* to flag table):
Code:

        DMG_GENERIC    -> <none>
        DMG_CRUSH      -> a
        DMG_BULLET    -> b
        DMG_SLASH      -> c       
        DMG_BURN      -> d
        DMG_FREEZE    -> e
        DMG_FALL      -> f
        DMG_BLAST      -> g
        DMG_CLUB      -> h
        DMG_SHOCK      -> i
        DMG_SONIC      -> j
        DMG_ENERGYBEAM -> k
        DMG_NEVERGIB  -> l
        DMG_ALWAYSGIB  -> m
        DMG_DROWN      -> n
        DMG_PARALYZE  -> o
        DMG_NERVEGAS  -> p
        DMG_POISON    -> q
        DMG_RADIATION  -> r
        DMG_DROWNRECOVER -> s
        DMG_ACID      -> t
        DMG_SLOWBURN  -> u
        DMG_SLOWFREEZE -> v
        DMG_MORTAR    -> w (1<<23)
        // CS/CZ specific flags
        DMG_24        -> x (1<<24)
        DMG_HEGRENADE  -> y (1<<25)
        DMG_25        -> z (1<<26)

Note: .amxx file is compiled against AMX/X 1.76d.

Simon Logic 07-05-2007 09:35

Re: Q3 Armour
 
Added compiled plugin.

Duster 07-05-2007 13:13

Re: Q3 Armour
 
hm on Q3 doesnt go the armour first, as i remember :wink: maybe some other game

Hawk552 07-05-2007 18:22

Re: Q3 Armour
 
Based on ehha's deleted post (which I read), I assume this works. It'd be nice if someone would say it clearly but I'll approve it for now.

XNaRu7oX 07-05-2007 19:07

Re: Q3 Armour
 
Theres a plugin that already does this.
http://forums.alliedmods.net/showthread.php?t=24737

Mini_Midget 07-05-2007 23:04

Re: Q3 Armour
 
Quote:

Originally Posted by XNaRu7oX (Post 499260)
Theres a plugin that already does this.
http://forums.alliedmods.net/showthread.php?t=24737

Yes but that one I tried and it didn't work for me.
But this one works for sure though cause I tested it.

Simon Logic 07-06-2007 06:47

Re: Q3 Armour
 
Quote:

Originally Posted by Duster (Post 499064)
hm on Q3 doesnt go the armour first, as i remember :wink: maybe some other game

May be. I don't like Q3 personally. It was smb request who called it Q3 armor. I just made this plugin in competitive manner.

@XNaRu7oX
Real Armor plugin can't work properly due to there were no proper tools until HS module released.

MagusCoronia 07-11-2007 05:25

Re: Q3 Armour
 
this dosnt seem to work with CZ :(

dxteam 08-01-2007 15:52

Re: Q3 Armour
 
Plugin don`t work
in console write check modules.ini
but in modules.ini i write hamsandwich

Simon Logic 08-03-2007 06:03

Re: Q3 Armour
 
print here a result of the following command executing at SERVER console:
Code:

version; echo; meta version; echo; meta list; echo; amxx version; echo; amxx plugins


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

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