Raised This Month: $51 Target: $400
 12% 

Hλlf-Life : Zombie Mod v0.0.2


Post New Thread Reply   
 
Thread Tools Display Modes
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 07-23-2010 , 22:39   Re: Hλlf-Life : Zombie Mod
Reply With Quote #111

Quote:
Originally Posted by sniper ll mp3 View Post
Anggara could you make the lasermines inside the game more deadly, so they can even kill a zombie ?
Or at least something like that ?
Try this:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
 
#define AUTHOR "KORD_12.7"
#define PLUGIN "Tripmine Damage Multiplier"
#define VERSION "0.1"
 
new 
maxPlayers,
pcvar_tripmine_multiplier
 
public plugin_init()
{
 
register_plugin(PLUGINVERSIONAUTHOR)
 
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage")
 
 
pcvar_tripmine_multiplier register_cvar("tripmine_multiplier""1.0")
 
maxPlayers get_maxplayers()
}
 
public 
fw_TakeDamage(victiminflictorattackerFloat:damagedamagebits)
{
 if(!
attacker || attacker maxPlayers || inflictor == attacker || inflictor maxPlayers
  return 
HAM_IGNORED
 
 
static classname[20]; pev(inflictorpev_classnameclassnamecharsmax(classname))
 
 if(!
equal(classname"monster_tripmine")) 
  return 
HAM_IGNORED
 
 SetHamParamFloat
(4damage get_multiplier()) 
 
 return 
HAM_HANDLED
}
 
Float:get_multiplier()
{
 static 
Floatmultiplier
 multiplier 
get_pcvar_float(pcvar_tripmine_multiplier)
 
 return 
multiplier >= 0.0 multiplier 0.0

Tripmine damage is multiplied by "tripmine_multiplier" CVAR
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
sniper ll mp3
Junior Member
Join Date: Nov 2009
Old 07-24-2010 , 08:43   Re: Hλlf-Life : Zombie Mod
Reply With Quote #112

Quote:
Originally Posted by KORD_12.7 View Post
Try this:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
 
#define AUTHOR "KORD_12.7"
#define PLUGIN "Tripmine Damage Multiplier"
#define VERSION "0.1"
 
new 
maxPlayers,
pcvar_tripmine_multiplier
 
public plugin_init()
{
 
register_plugin(PLUGINVERSIONAUTHOR)
 
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage")
 
 
pcvar_tripmine_multiplier register_cvar("tripmine_multiplier""1.0")
 
maxPlayers get_maxplayers()
}
 
public 
fw_TakeDamage(victiminflictorattackerFloat:damagedamagebits)
{
 if(!
attacker || attacker maxPlayers || inflictor == attacker || inflictor maxPlayers
  return 
HAM_IGNORED
 
 
static classname[20]; pev(inflictorpev_classnameclassnamecharsmax(classname))
 
 if(!
equal(classname"monster_tripmine")) 
  return 
HAM_IGNORED
 
 SetHamParamFloat
(4damage get_multiplier()) 
 
 return 
HAM_HANDLED
}
 
Float:get_multiplier()
{
 static 
Floatmultiplier
 multiplier 
get_pcvar_float(pcvar_tripmine_multiplier)
 
 return 
multiplier >= 0.0 multiplier 0.0

Tripmine damage is multiplied by "tripmine_multiplier" CVAR
Thanks works ! I am also using your hamdata.ini to run this mod on Opposing Force ! Good work

Last edited by sniper ll mp3; 07-24-2010 at 09:23.
sniper ll mp3 is offline
r14170
Veteran Member
Join Date: Dec 2009
Old 08-13-2010 , 18:48   Re: Hλlf-Life : Zombie Mod
Reply With Quote #113

nice!
r14170 is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 08-18-2010 , 06:28   Re: Hλlf-Life : Zombie Mod
Reply With Quote #114

I am working on some improvements for this zombie mod.

Here is screenshot of new lazermine and flare for humans:
Attached Thumbnails
Click image for larger version

Name:	crossfire0028.jpg
Views:	493
Size:	89.6 KB
ID:	71850  
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 08-29-2010 , 10:46   Re: Hλlf-Life : Zombie Mod
Reply With Quote #115

Quote:
Originally Posted by KORD_12.7 View Post
I am working on some improvements for this zombie mod.

Here is screenshot of new lazermine and flare for humans:
Wow, that's nice :0
Anggara_nothing is offline
KylTRaQ
Junior Member
Join Date: Jun 2010
Old 08-30-2010 , 18:02   Re: Hλlf-Life : Zombie Mod
Reply With Quote #116

And anyone working on fixing the crashes?
KylTRaQ is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 08-30-2010 , 22:44   Re: Hλlf-Life : Zombie Mod
Reply With Quote #117

Yep
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
shadow1976
New Member
Join Date: Sep 2010
Location: Bulgaria
Old 09-01-2010 , 07:52   Re: Hλlf-Life : Zombie Mod
Reply With Quote #118

Dear Sirs, we all are waiting for your patch or fixed compiled code of this mod.

My server crashes every ~10 minutes without any reason and kicks out all players playing. Is there a DECISION of this bugs?

Thanx in advance!
shadow1976 is offline
Send a message via Skype™ to shadow1976
quLeryuzz
Member
Join Date: May 2010
Location: Istanbul
Old 09-11-2010 , 09:32   Re: Hλlf-Life : Zombie Mod
Reply With Quote #119

Good TR olması güzel olmuş Çok Thank You
quLeryuzz is offline
hitmany
Senior Member
Join Date: Jul 2010
Old 09-16-2010 , 10:52   Re: Hλlf-Life : Zombie Mod
Reply With Quote #120

FATAL ERROR (shutting down): Cache_TryAlloc: 281424 is greater then free hunk
FATAL ERROR (shutting down): Cache_TryAlloc: 281424 is greater then free hunk
email debug.log to [email protected]
hitmany is offline
Old 01-16-2011, 11:34
Anggara_nothing
This message has been deleted by Anggara_nothing. Reason: Added!
Reply



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 12:01.


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