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

Biohazard v2.00 Beta 3b (Zombie Mod)


Post New Thread Reply   
 
Thread Tools Display Modes
cs1.6_pro
Junior Member
Join Date: Nov 2008
Old 11-03-2008 , 06:54   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2871

thx thx fakes37
cs1.6_pro is offline
lights
BANNED
Join Date: Jul 2008
Old 11-05-2008 , 08:23   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2872

Quote:
Originally Posted by festan View Post
hi

is there possible to have a normal cs server and only activate from time to time the zombie mode? i searched the forum and didn't find an answer...

please help

10q
After the installation, you open amxmodmenu and pause plugins. You pause biohazard whenver you want the zombie mod off, and unpause it when you want it on.
+Karama if I helped
lights is offline
Send a message via MSN to lights
Low_radiation
Member
Join Date: Nov 2008
Old 11-05-2008 , 12:06   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2873

Hi, I need help .I Downloaded 1.4bh_classes.zip (btw is somewhere new version?),modify to my favourite races and compile biohazard.sma, but I got error Please,What I must download or modify or something.BTW too i downloaded zm_nofs.amxx and footsteps not silent bh_silentzombie 1/0 nothing do.
__________________
Sorry for my English..
Icq

Last edited by Low_radiation; 11-05-2008 at 14:55.
Low_radiation is offline
Send a message via ICQ to Low_radiation
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-05-2008 , 15:44   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2874

When you add races, edit the bio_classes, not the biohazard.sma, and probably those errors happen because of you not compiling with the Biohazard.inc file
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Low_radiation
Member
Join Date: Nov 2008
Old 11-06-2008 , 09:08   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2875

Same error. The problem is i download biohazard.sma from bh_classes1.4(with biohazard and subplugins.amxx) without modify.Try to compile and error. or send my your sma and biohazard.inc I test it with your maybe its work. I think i was missing something(screenshot from compiling invis zombie).[IMG]http://img204.**************/img204/1350/omg2dn5.th.jpg[/IMG][IMG]http://img204.**************/images/thpix.gif[/IMG]
__________________
Sorry for my English..
Icq

Last edited by Low_radiation; 11-07-2008 at 17:01.
Low_radiation is offline
Send a message via ICQ to Low_radiation
marcellus
Senior Member
Join Date: Mar 2004
Old 11-07-2008 , 19:19   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2876

Quote:
Originally Posted by Low_radiation View Post
Same error. The problem is i download biohazard.sma from bh_classes1.4(with biohazard and subplugins.amxx) without modify.Try to compile and error. or send my your sma and biohazard.inc I test it with your maybe its work. I think i was missing something(screenshot from compiling invis zombie).[IMG]http://img204.**************/img204/1350/omg2dn5.th.jpg[/IMG][IMG]http://img204.**************/images/thpix.gif[/IMG]
are u missing this file ?
Attached Files
File Type: inc bh_classes.inc (4.4 KB, 255 views)
__________________
www.war-cs.com
french cz community
marcellus is offline
hakutzu
Junior Member
Join Date: Jan 2007
Old 11-08-2008 , 04:50   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2877

Any ideea where i can get custom models ?
please don't tell be about fpsbanana, any other site but not that one , i found only a Scream movie model and jason , is there any other models like movie based ? Please reply , im using the Mod , i love it.
Edit:
I want to change the Human models, can it be done ? And how please?
Thanks..

Last edited by hakutzu; 11-08-2008 at 06:36.
hakutzu is offline
Low_radiation
Member
Join Date: Nov 2008
Old 11-08-2008 , 06:58   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2878

Quote:
Originally Posted by marcellus View Post
are u missing this file ?
I have this file , try to replace and same error . In invisible zombie i fix some errors with
#include <bh_classes>
#include <fakemeta_util>
PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

Error
Undefined symbol "bh_set_player_model" on line 28
Warning
Loose indentation on line 45
Warning
Loose indentation on line 47
Error
Undefined symbol "fully" on line 47
Error
Number of arguments does not match definition on line 47
Warning
Loose indentation on line 49
Warning
: Function "cheese_alive" should return a value on line 75

3 Errors
.
Could not locate output file *******\invis.amx (compile failed). 
This is my bh_baseclasses

PHP Code:
// bh_baseclasses
//
// v1.3 (06/09/2008) - bipbip
//    - Fixed some bugs
// v1.2 (06/08/2008) - bipbip
//    - added custom blood color for zombie
// v1.1 (06/07/2008) - bipbip
//    - added BH_set_hedmg_multi, BH_get_hedmg_multi, BH_set_def_multi, BH_get_def_multi
//    - added BH_set_kill_bonus, BH_get_kill_bonus (Kill bonus when killing zombie)
//    - added BH_set_hp_bonus, BH_get_hp_bonus (HP bonus when first zombie)
//    - added BH_set_kb_resist, BH_get_kb_resist (Resist to knockback until zombie hp reach BH_get_kb_hp)
//    - added BH_set_atk_multi, BH_get_atk_multi (Attack multiplier)
//    - added BH_set_flashbang, BH_can_be_flashed (Zombie can be flashed or not)
//    - added BH_set_instant, BH_get_instant (Zombie can infect instantly)

#define CLASS(%1) BH_get_user_classid(%1)

// defines
#define MAX_CLASS 8 // Maximum classes for zombie
#define MAX_SZ_LENGTH 64 // Max size of a string
#define MAX_PLAYERS 32 // max players ingame

#define D_SOUND_TRS "zm/Transformation-01.wav"

#define D_DEFAULT_FOV 90

#define MAGIC_VALUE_F 6969.69
#define MAGIC_VALUE_I 6969

#define BLOOD_COLOR_GREEN 1080 //188



stock is_bioclasses_active()
{
    if(
is_plugin_loaded("bio_baseclasses") == -1)
    {
        
log_amx("bio_baseclasses is not loaded.")
        return 
0
    
}
    return 
1
}

enum zm_integer {
    
zm_fov,
    
zm_bloodcolor,
    
zm_can_regen
    
zm_can_be_kbed,
    
zm_can_be_flashed,
    
zm_has_nvg,
    
zm_kill_bonus,
    
zm_kb_resist,
    
zm_instant,
    
zm_can_infect,
    
zm_pluginid
}
#define MAX_INT_INFOS 11

enum zm_float {
    
zm_gravity,
    
zm_health,
    
zm_speed,
    
zm_regen_delay,
    
zm_regen_startdelay,
    
zm_kb_multi,
    
zm_kb_duck_multi,
    
zm_kb_hp,
    
zm_hedmg_multi,
    
zm_def_multi,
    
zm_hp_bonus,
    
zm_atk_multi
}

#define MAX_FLOAT_INFOS 12

enum zm_string {
    
zm_name,
    
zm_desc,
    
zm_player_model,
    
zm_claws_model
}
#define MAX_SZ_INFOS 4



enum zm_userinfo_integer {
    
zm_is_menu_showing,
    
zm_classid,
    
zm_switchmenu
}
#define MAX_INT_USERINFO 3
#define FIRST_ZOMBIE true


/* register a new zombie */
native RegisterZombieclassname[], desc[]);
native BH_get_user_classid(playerid)
native BH_display_classmenu(playerid)

native BH_set_stringclassidzm_string:indexstring[], firstonly false)
native BH_get_stringclassidzm_string:indexstring[], lenfirstonly false)

native BH_set_floatclassidzm_float:indexFloat:valuefirstonly false)
native Float:BH_get_floatclassidzm_float:indexfirstonly false)

native BH_set_integerclassidzm_integer:indexvaluefirstonly false)
native BH_get_integerclassidzm_integer:indexfirstonly false)

native BH_set_iuserinfoplayeridzm_userinfo_integer:indexvalue)
native BH_get_iuserinfoplayeridzm_userinfo_integer:index)


native BH_client_print(playeridmsg[128])

native BH_register_event(classidzm_events:index, function[]);


forward event_zombify(playerid)

native bio_take_damage(playeridFloat:healthdamagebits)


// for compatibility whith version < 1.4

#define BH_set_player_model(%1,%2) BH_set_string(%1,zm_player_model,%2)
#define BH_set_wpn_model(%1,%2) BH_set_string(%1,zm_claws_model,%2)
#define BH_set_gravity(%1,%2) BH_set_float(%1,zm_gravity,%2)
#define BH_set_health(%1,%2) BH_set_float(%1,zm_health,%2)
#define BH_set_speed(%1,%2) BH_set_float(%1,zm_speed,%2)
#define BH_set_regen(%1,%2) BH_set_integer(%1,zm_can_regen,%2) 
#define BH_set_regen_delay(%1,%2) BH_set_float(%1,zm_regen_delay,%2)
#define BH_set_kb(%1,%2) BH_set_integer(%1,zm_can_be_kbed,%2)
#define BH_set_kb_power(%1,%2) BH_set_float(%1,zm_kb_multi,%2)
#define BH_set_FOV(%1,%2) BH_set_integer(%1,zm_fov,%2)
#define BH_set_kb_hp(%1,%2) BH_set_float(%1,zm_kb_hp,%2)
#define BH_set_regen_startdelay(%1,%2) BH_set_float(%1,zm_regen_startdelay,%2)
#define BH_set_kb_duck_power(%1,%2) BH_set_float(%1,zm_kb_duck_multi,%2)
#define BH_set_autonvg(%1,%2) BH_set_integer(%1,zm_has_nvg,%2)
#define BH_set_hedmg_multi(%1,%2) BH_set_float(%1,zm_hedmg_multi,%2)
#define BH_set_def_multi(%1,%2) BH_set_float(%1,zm_def_multi,%2)
#define BH_set_kill_bonus(%1,%2) BH_set_integer(%1,zm_kill_bonus,%2)
#define BH_set_hp_bonus(%1,%2) BH_set_float(%1,zm_hp_bonus,%2)
#define BH_set_kb_resist(%1,%2) BH_set_integer(%1,zm_kb_resist,%2)
#define BH_set_atk_multi(%1,%2) BH_set_float(%1,zm_atk_multi,%2)
#define BH_set_flashbang(%1,%2) BH_set_integer(%1,zm_can_be_flashed,%2)
#define BH_set_instant(%1,%2) BH_set_integer(%1,zm_instant,%2) 
This is my biohazard.inc
PHP Code:
´/* Biohazard functions
*
*  by Cheap_Suit

*  This file is provided as is (no warranties).
*/

#if defined _biohazard_included
    #endinput
#endif
#define _biohazard_included

#pragma reqlib "biohazardf"

/* Returns the mods status. */
stock is_biomod_active()
{
    if(
is_plugin_loaded("Biohazard") == -1)
    {
        
log_amx("Biohazard is not loaded.")
        return 
0
    
}
    
    if(!
cvar_exists("bh_enabled"))
    {
        
log_amx("Cvar: ^"bh_enabled^" does not exist.")
        return 
0
    
}

    new 
cvar_pointer get_cvar_pointer("bh_enabled")
    return 
get_pcvar_num(cvar_pointer)
}

/* Called when a survivor is infected by a zombie. */
forward event_infect(attackervictim)

/* Called when a survivor is infected. */
forward event_infect2(index)

/* Called when a game starts. */
forward event_gamestart()

/* Called when a team wins. */
enum BHTeam
{
    
BH_TEAM_ZOMBIE      1,
    
BH_TEAM_SURVIVOR 2
}
forward event_teamwin(BHTeam:team)

/* Returns true if the game is started */
native bool:is_game_started()

/* Makes a user zombie. */
native infect_user(index)
/* Returns 1 if user is a zombie. */
native is_user_zombie(index)

/* Returns 1 if the user is first zombie. */
native is_user_firstzombie(index)

/* Returns the id of the first zombie. */
native firstzombie()

// ADDED BY BIPBIP
native infect_user_force(index)
forward event_clearclientdata(index
And this is my biohazard.cfg
PHP Code:
/* Biohazard configs
*
*  by Cheap_Suit

*  This file is provided as is (no warranties).
*/

#if defined _biohazardcfg_included
    #endinput
#endif
#define _biohazardcfg_included

// fog settings
#define FOG_ENABLE           1
#define FOG_DENSITY        "0.0012"
#define FOG_COLOR           "128 128 128"

// default zombie setting
#define DEFAULT_PMODEL        "models/player/slum/slum.mdl"
#define DEFAULT_WMODEL        "models/v_knife_zombie.mdl"

#define DEFAULT_HEALTH         170.0 //Health value
#define DEFAULT_SPEED        280.0 //Speed value
#define DEFAULT_GRAVITY        1.0   //Gravity multiplier
#define DEFAULT_ATTACK        2.0   //Zombie damage multiplier
#define DEFAULT_DEFENCE        0.087 //Bullet damage multiplier
#define DEFAULT_HEDEFENCE   1.0   //HE damage multiplier
#define DEFAULT_HITSPEED    0.89  //Pain speed multiplier
#define DEFAULT_HITDELAY    0.28  //Pain speed delay value
#define DEFAULT_REGENDLY    0.18  //Regeneration delay value
#define DEFAULT_HITREGENDLY 2.0   //Pain regeneration delay value
#define DEFAULT_KNOCKBACK   1.0   //Knockback multiplier

new g_zombie_weapname[] = "melee"
new g_infection_name[]  = "infection"

// primary weapons (menu|game)
new g_primaryweapons[][][] = 

    { 
"M4A1",     "weapon_m4a1"    },
    { 
"AK47",     "weapon_ak47"    },
    { 
"AUG",      "weapon_aug"     },
    { 
"SG552",    "weapon_sg552"   },
    { 
"Galil",    "weapon_galil"   },
    { 
"Famas",    "weapon_famas"   },
    { 
"MP5 Navy""weapon_mp5navy" },
    { 
"XM1014",   "weapon_xm1014"  },
    { 
"M3",       "weapon_m3"      },
    { 
"P90",      "weapon_p90"     },
    { 
"M249",     "weapon_m249"    },
    { 
"SG550",    "weapon_sg550"   },
    { 
"G3SG1",    "weapon_g3sg1"   }            
}

// secondary weapons (menu|game)
new g_secondaryweapons[][][] = 

    { 
"Deagle",   "weapon_deagle"  },
    { 
"USP",      "weapon_usp"     },
    { 
"Elite",    "weapon_elite"   
}

// grenade loadout (game)
new g_grenades[][] = 

    
"weapon_hegrenade",
    
"weapon_flashbang",
    
"weapon_smokegrenade"
}

new 
Float:g_knockbackpower[] =
{
    
3.0,  // KBPOWER_357SIG
    
4.0,  // KBPOWER_762NATO
    
9.5,  // KBPOWER_BUCKSHOT
    
3.0,  // KBPOWER_45ACP
    
4.5,  // KBPOWER_556NATO
    
3.0,  // KBPOWER_9MM
    
3.5,  // KBPOWER_57MM
    
12.0// KBPOWER_338MAGNUM
    
4.0,  // KBPOWER_556NATOBOX
    
3.8   // KBPOWER_50AE
}

new 
g_survivor_win_sounds[][] =
{
    
"biohazard/survivor_win1.wav",
    
"biohazard/survivor_win2.wav",
    
"biohazard/survivor_win3.wav"
}

new 
g_zombie_win_sounds[][] = 

    
"biohazard/zombie_win1.wav"
    
"biohazard/zombie_win2.wav",
    
"biohazard/zombie_win3.wav"     
}

new 
g_scream_sounds[][] = 

    
"biohazard/scream1.wav"
    
"biohazard/scream2.wav"
    
"biohazard/scream3.wav"
}

new 
g_zombie_miss_sounds[][] = 

    
"zombie/claw_miss1.wav"
    
"zombie/claw_miss2.wav"                     
}

new 
g_zombie_hit_sounds[][] = 

    
"zombie/claw_strike1.wav",
    
"zombie/claw_strike2.wav",
    
"zombie/claw_strike3.wav"
}

new 
g_zombie_die_sounds[][] = 
{
    
"biohazard/death1.wav",
    
"biohazard/death2.wav",
    
"biohazard/death3.wav" 

What im missing???
Modules :
PHP Code:

mysql
;sqlite

fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx
hamsandwich 
In biohazard.sma :
PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c1997-2006 ITB CompuPhaseAMX Mod X Team

Error
Undefined symbol "g_zombie_model" on line 138
Error
Undefined symbol "g_zombie_claws" on line 139
Error
Undefined symbol "g_zombie_model" on line 140
Error
Number of arguments does not match definition on line 140
Error
Undefined symbol "g_zombie_claws" on line 141
Error
Too many error messages on one line on line 141

Compilation aborted
.
6 Errors.
Could not locate output file ************biohazard.amx (compile failed). 


(BTW "***" place where is file )
__________________
Sorry for my English..
Icq

Last edited by Low_radiation; 11-08-2008 at 07:26.
Low_radiation is offline
Send a message via ICQ to Low_radiation
marcellus
Senior Member
Join Date: Mar 2004
Old 11-08-2008 , 13:42   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2879

you re not using the right biohazard.cfg

here is biohazard.cfg for v1.95

the 1.4 bhclasses package is still available at
http://www.war-cs.com/bh_classes_v1.4.zip
if u need it
Attached Files
File Type: inc biohazard.inc (1.4 KB, 196 views)
File Type: cfg biohazard.cfg (1.9 KB, 230 views)
__________________
www.war-cs.com
french cz community
marcellus is offline
Low_radiation
Member
Join Date: Nov 2008
Old 11-08-2008 , 14:13   Re: Biohazard v2.00 Beta 3b (Zombie Mod)
Reply With Quote #2880

Quote:
Originally Posted by marcellus View Post
you re not using the right biohazard.cfg

here is biohazard.cfg for v1.95

the 1.4 bhclasses package is still available at
http://www.war-cs.com/bh_classes_v1.4.zip
if u need it
¨THANK YOU VERRY MUUUUUUUUUUUUUUUUUUUUUCH!!!!!!!!!!!!!!!!btw the link is invalid ,nevermind thanks!!!!! And there is still problem in invisblezombie.sma can you send me please yours?
+Karma
__________________
Sorry for my English..
Icq

Last edited by Low_radiation; 11-08-2008 at 14:44.
Low_radiation is offline
Send a message via ICQ to Low_radiation
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 10:37.


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