Jump to content
GIGN Forum

War3 + Zombie


Recommended Posts

Serverim zombie versija ir Zombie Plague 4.1! Piemeram izvelos zombie class Raptor maziem burtiem raksta HP 900 Bet isteniba stav 1800 kur to izlabot skatijos zombie plague configs nevaru atrast varbut kads zina ka zombie rasem speed mainit un hp !

Zombie configs

// -----------------------------

// Zombie Plague 4.1 Config File

// -----------------------------

// Any changes you make here will be

// automatically loaded at map start

// General

// -------

zp_delay 10 // Time before first zombie is chosen, in seconds (will be randomized a bit)

zp_lighting "c" // Map lighting ["a"-darkest // "z"-brightest // "0"-disable]

zp_thunderclap 90 // Thunderclap rate in seconds [0-disable]

zp_triggered_lights 1 // Allow map triggered lights (eg. light switches)

zp_remove_doors 0 // Remove doors from maps [0-none // 1-rotating only // 2-all doors]

zp_blockuse_pushables 1 // Block +use on pushables to prevent the speed bug

zp_block_suicide 1 // Prevent players from killing themselves

zp_deathmatch 0 // Deathmatch mode, respawn as: [0-disable // 1-human // 2-zombie // 3-randomly]

zp_spawn_delay 5 // Delay before respawning on deathmatch mode in seconds

zp_spawn_protection 5 // Spawn protection time for deathmatch in seconds [0-disabled]

zp_respawn_on_suicide 0 // Respawn players if they commited suicide

zp_respawn_after_last_human 1 // Respawn players if only the last human is left

zp_random_spawn 1 // Enable random spawning (will use CSDM spawns if present)

zp_remove_dropped 0 // Time before removing dropped weapons in seconds [0-disabled]

zp_remove_money 0 // Remove player's money

zp_buy_custom 1 // Enable custom buy menus

zp_admin_models_human 1 // Enable admin models for humans

zp_admin_models_zombie 1 // Enable admin models for zombies

zp_zombie_classes 1 // Enable zombie classes

zp_stats_save 1 // Temporarily save player's ammo packs and zombie class when they disconnect

zp_prevent_consecutive_modes 1 // Prevent the same game mode from being played two consecutive rounds

// Extra Items

// -----------

zp_extra_items 1 // Enable extra items

zp_extra_weapons 1 // Show weapons

zp_extra_nvision 1 // Show night vision

zp_extra_antidote 1 // Show antidote

zp_extra_madness 1 // Show zombie madness

zp_extra_infbomb 1 // Show infection bomb

// Flashlight & Nightvision

// ------------------------

zp_nvg_give 1 // Give nightvision automatically [0-disable // 1-enable // 2-enable, but no auto turn on]

zp_nvg_custom 1 // Enable custom nightvision

zp_nvg_size 80 // Nightvision size (radius)

zp_nvg_color_R 0 // Zombie custom nightvision color (red)

zp_nvg_color_G 150 // Zombie custom nightvision color (green)

zp_nvg_color_B 0 // Zombie custom nightvision color (blue)

zp_nvg_hum_color_R 0 // Human/Spectator custom nightvision color (red)

zp_nvg_hum_color_G 150 // Human/Spectator custom nightvision color (green)

zp_nvg_hum_color_B 0 // Human/Spectator custom nightvision color (blue)

zp_nvg_nem_color_R 150 // Nemesis custom nightvision color (red)

zp_nvg_nem_color_G 0 // Nemesis custom nightvision color (green)

zp_nvg_nem_color_B 0 // Nemesis custom nightvision color (blue)

zp_flash_custom 0 // Enable custom flashlight

zp_flash_size 10 // Custom flashlight size (radius)

zp_flash_drain 1 // Custom flashlight drain rate [0-unlimited flashlight]

zp_flash_charge 5 // Custom flashlight charge rate [0-disable charging]

zp_flash_distance 1000 // Custom flashlight max distance

zp_flash_color_R 100 // Custom flashlight color (red)

zp_flash_color_G 100 // Custom flashlight color (green)

zp_flash_color_B 100 // Custom flashlight color (blue)

// Knockback

// ---------

zp_knockback 0 // Enable weapon knockback

zp_knockback_damage 1 // Use damage on knockback calculation

zp_knockback_power 1 // Use weapon power on knockback calculation

zp_knockback_zvel 0 // Should knockback affect vertical velocity

zp_knockback_ducking 0.25 // Knockback multiplier for crouched zombies [0-don't take knockback if ducking]

zp_knockback_distance 500 // Max distance for knockback to take effect

// Longjump

// --------

zp_leap_zombies 0 // Give leap to Zombies [0-disabled // 1-everyone // 2-only first zombie // 3-only last zombie]

zp_leap_zombies_force 500 // Force multiplier

zp_leap_zombies_height 300 // Upwards force

zp_leap_zombies_cooldown 5.0 // Time between leap uses

zp_leap_nemesis 1 // Give leap to Nemesis

zp_leap_nemesis_force 500 // Force multiplier

zp_leap_nemesis_height 300 // Upwards force

zp_leap_nemesis_cooldown 5.0 // Time between leap uses

zp_leap_survivor 0 // Give leap to Survivor

zp_leap_survivor_force 500 // Force multiplier

zp_leap_survivor_height 300 // Upwards force

zp_leap_survivor_cooldown 5.0 // Time between leap uses

// Humans

// ------

zp_human_health 350 // Health

zp_human_last_extrahp 0 // Last human's extra health reward

zp_human_speed 220 // Speed

zp_human_gravity 1.0 // Gravity (0.5 = half)

zp_human_armor_protect 1 // Armor needs to be reduced completely in order to get infected

zp_human_unlimited_ammo 0 // Unlimited ammo [0-disable // 1-BP Ammo // 2-clip Ammo]

zp_human_damage_reward 300 // How much damage humans must deal on zombies to get an ammo pack

zp_human_frags_for_kill 1 // How many frags humans get for killing a zombie

// Custom Grenades

// ---------------

zp_fire_grenades 1 // Enable napalm grenades (overrides HE)

zp_fire_duration 10 // Burning duration in seconds

zp_fire_damage 5 // Burning damage (every 0.2 secs)

zp_fire_slowdown 0.5 // Burning slowdown multiplier (0.5 = reduce velocity by a half) [0-disable]

zp_frost_grenades 1 // Enable frost grenades (overrides FB)

zp_frost_duration 3 // Freeze duration in seconds

zp_flare_grenades 1 // Enable flare grenades (overrides SG)

zp_flare_duration 60 // Flare lightning duration in seconds

zp_flare_size 25 // Flare lightning size (radius)

zp_flare_color 0 // Flare color [0-white // 1-red // 2-green // 3-blue // 4-totally random // 5-random between r,g,b]

// Zombies

// -------

zp_zombie_first_hp 2.0 // First Zombie HP Multiplier (2.0 = double health)

zp_zombie_armor 0.75 // Armor multiplier (0.75 = zombies take 75% damage only)

zp_zombie_hitzones 0 // Allowed hitzones bitsum (look into fun.inc for body part bits) [0-disable]

zp_zombie_infect_health 450 // How much health a zombie gets with every infection

zp_zombie_fov 110 // Field of view [0-dont change]

zp_zombie_silent 1 // Enable silent footsteps

zp_zombie_painfree 2 // Zombies are pain shock free [0-disabled // 1-everyone // 2-only last zombie]

zp_zombie_bleeding 1 // Zombies leave footprints/bloodstains on the floor

zp_zombie_infect_reward 1 // Ammo packs given to zombies for infecting/killing a human

zp_zombie_frags_for_infect 1 // How many frags zombies get for infecting a human

// Nemesis

// -------

zp_nem_enabled 1 // Enable nemesis mode

zp_nem_chance 25 // Chance (1 in x)

zp_nem_min_players 0 // Minimum players required

zp_nem_health 0 // Health [0 - human count*zombie's hp]

zp_nem_speed 250 // Speed

zp_nem_gravity 0.5 // Gravity (0.5 = half)

zp_nem_damage 250 // Damage per hit

zp_nem_glow 1 // Glow effect

zp_nem_aura 1 // Halo effect

zp_nem_painfree 0 // Pain shock free

zp_nem_ignore_frags 1 // Nemesis doesn't get frags

zp_nem_ignore_rewards 1 // Nemesis doesn't get ammo packs

// Survivor

// -------

zp_surv_enabled 1 // Enable survivor mode

zp_surv_chance 25 // Chance (1 in x)

zp_surv_min_players 0 // Minimum players required

zp_surv_health 0 // Health [0 - zombie count*human's hp]

zp_surv_speed 250 // Speed

zp_surv_gravity 1.25 // Gravity (0.5 = half)

zp_surv_glow 1 // Glow effect

zp_surv_aura 1 // Halo effect

zp_surv_painfree 1 // Pain shock free

zp_surv_ignore_frags 1 // Survivor doesn't get frags

zp_surv_ignore_rewards 1 // Survivor doesn't get ammo packs

// Swarm Mode

// ----------

zp_swarm_enabled 1 // Enable swarm mode

zp_swarm_chance 20 // Chance (1 in x)

zp_swarm_min_players 0 // Minimum players required

// Multiple Infection

// ------------------

zp_multi_enabled 1 // Enable multiple infection mode

zp_multi_chance 20 // Chance (1 in x)

zp_multi_min_players 0 // Minimum players required

zp_multi_ratio 0.15 // Infect ratio (zombie count = ratio*human count)

// Plague Mode

// -----------

zp_plague_enabled 1 // Enable plague mode

zp_plague_chance 30 // Chance (1 in x)

zp_plague_min_players 0 // Minimum players required

zp_plague_ratio 0.5 // Infect ratio (zombie count = ratio*human count)

// Logging

// -------

zp_logcommands 1 // Log admin commands to "zombieplague.log"

// Additional settings

// -------------------

mp_flashlight 1 // Enables flashlight

mp_footsteps 1 // Enables footsteps

mp_playerid 1 // Prevents seeing enemies in the dark exploit

sv_maxspeed 9999 // Prevents CS from limiting your human/zombie speeds at 320

Link to comment
Share on other sites

Ko prasi tik idiotiskus jautajumus protams ka atveru :

Tur ir rakstits ka raptor 900 hp bet spele rada 1800 >_>

/*================================================================================

-----------------------------------

-*- [ZP] Default Zombie Classes -*-

-----------------------------------

~~~~~~~~~~~~~~~

- Description -

~~~~~~~~~~~~~~~

This plugin adds the default zombie classes to Zombie Plague.

Feel free to modify their attributes to your liking.

Note: If zombie classes are disabled, the first registered class

will be used for all players (by default, Classic Zombie).

================================================================================*/

#include <amxmodx>

#include <fakemeta>

#include <zombieplague>

/*================================================================================

[Plugin Customization]

=================================================================================*/

// Classic Zombie Attributes

new const zclass1_name[] = { "Classic Zombie" }

new const zclass1_info[] = { "=Balanced=" }

new const zclass1_model[] = { "zombie_source" }

new const zclass1_clawmodel[] = { "v_knife_zombie.mdl" }

const zclass1_health = 1800

const zclass1_speed = 190

const Float:zclass1_gravity = 1.0

const Float:zclass1_knockback = 1.0

// Raptor Zombie Attributes

new const zclass2_name[] = { "Raptor Zombie" }

new const zclass2_info[] = { "HP-- Speed++ Knockback++" }

new const zclass2_model[] = { "zombie_source" }

new const zclass2_clawmodel[] = { "v_knife_zombie.mdl" }

const zclass2_health = 900

const zclass2_speed = 225

const Float:zclass2_gravity = 1.0

const Float:zclass2_knockback = 1.5

// Poison Zombie Attributes

new const zclass3_name[] = { "Poison Zombie" }

new const zclass3_info[] = { "HP- Jump+ Knockback+" }

new const zclass3_model[] = { "zombie_source" }

new const zclass3_clawmodel[] = { "v_knife_zombie.mdl" }

const zclass3_health = 1400

const zclass3_speed = 190

const Float:zclass3_gravity = 0.75

const Float:zclass3_knockback = 1.25

// Big Zombie Attributes

new const zclass4_name[] = { "Big Zombie" }

new const zclass4_info[] = { "HP++ Speed- Knockback--" }

new const zclass4_model[] = { "zombie_source" }

new const zclass4_clawmodel[] = { "v_knife_zombie.mdl" }

const zclass4_health = 2700

const zclass4_speed = 155

const Float:zclass4_gravity = 1.0

const Float:zclass4_knockback = 0.5

// Leech Zombie Attributes

new const zclass5_name[] = { "Leech Zombie" }

new const zclass5_info[] = { "HP- Knockback+ Leech++" }

new const zclass5_model[] = { "zombie_source" }

new const zclass5_clawmodel[] = { "v_knife_zombie.mdl" }

const zclass5_health = 1300

const zclass5_speed = 190

const Float:zclass5_gravity = 1.0

const Float:zclass5_knockback = 1.25

const zclass5_infecthp = 200 // extra hp for infections

/*============================================================================*/

// Class IDs

new g_zclass_leech

// Zombie Classes MUST be registered on plugin_precache

public plugin_precache()

{

register_plugin("[ZP] Default Zombie Classes", "4.1", "MeRcyLeZZ")

// Register all classes

zp_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, zclass1_knockback)

zp_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, zclass2_knockback)

zp_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, zclass3_knockback)

zp_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, zclass4_knockback)

g_zclass_leech = zp_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, zclass5_knockback)

}

// User Infected forward

public zp_user_infected_post(id, infector)

{

// If attacker is a leech zombie, gets extra hp

if (zp_get_user_zombie_class(infector) == g_zclass_leech)

set_pev(infector, pev_health, float(pev(infector, pev_health) + zclass5_infecthp))

}

Link to comment
Share on other sites

Kāda jēga vispār te kaut ko mācīt, ja cilvēki pat nezin plugina konstantes, kur pat viss priekšā rakstīts, un tiešām daudz dumjāki ir tie, kuri pat nokompilēt nemāk...

Es pats iemācījos skriptot PAWN, pārsvarā pārzinu, bet neteikšu, ka esmu pro! Atverat skriptus, pētat visu, pārbaudi konfigus un gan jau pie gala rezultāta tiksi!

Link to comment
Share on other sites

:mellow: Un ja kas compiled iemacijos 2 gadu atpakal >_>

:superlol: Tas neko nedod ka tu sakompile!! Bleg tev tas plugins no mapes "compiled" ir jāieliek mapē "plugins"! Un nevis zombie_plague ,bet gan zp_zclasses. Prasīs vai aistāt spied yes ,tad nomaini mapi kautvai un būs . Kas tev nedalec ?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...