Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[forums.alliedmods.net] [L4D2] Mutant Zombies (1.0) [01-Jan-2012]


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 01.01.2012 22:11

New uncommon infected, mutant zombies.



Dołączona grafika
(Bomb 1, Bomb 2, Fire, Ghost, Mind, Smoke, Spit, Tesla)


Dołączona grafika
Mind type effects: (Pic1, Pic2, Pic3, Pic4, Pic5, Pic6, Pic7, Pic8)


Thanks:
  • Mr. Man - Naming the plugin, ideas and testing.
  • januto - Testing on their server.
  • Jay_ombie - Ideas and testing.
  • raziEiL - Ideas and testing.
  • [Resistance] Yoshi - Testing.
  • JoBarfCreepy - Testing.
  • xioSlayer - Testing.
  • Recon - Testing.
  • iRogue - Testing.
Types:

Bomb:
There are random chances for Bomb mutants to explode when attacking, being hurt (defending) or shot in the head.

Fire:
Common which walk through molotov fires or firework crate explosions have a random chance to mutate into Fire mutants. These zombies are fireproof and have chances to drop fires when attacking or defending.

Ghost:
Semi transparent zomby.

Mind:
Getting near to these zombies will change your screen color.

Smoke:
Players near to these zombies receive damage.

Spit:
Common which walk through Spitter acid have a random chance to mutate into to Spit mutants. When hit by these zombies, players take damage for a few seconds.

Tesla:
Nikola Tesla mutant, flings players away from the Mutant.



Admin Commands:



PHP Code:

sm_mutantbomb // Spawns a Mutant Bomb Zomby.
sm_mutantfire // Spawns a Mutant Fire Zomby.
sm_mutantghost // Spawns a Mutant Ghost Zomby.
sm_mutantmind // Spawns a Mutant Mind Zomby.
sm_mutantsmoke // Spawns a Mutant Smoke Zomby.
sm_mutantspit // Spawns a Mutant Spit Zomby.
sm_mutanttesla // Spawns a Mutant Tesla Zomby.
sm_mutants // Spawns all Mutant Zombies


Cvars:

Saved to l4d2_mutants_.cfg in your left4dead2cfgsourcemod folder.



PHP Code:

// Mutant Zombies plugin version.
l4d2_mutants_version

// 0=Plugin off, 1=Plugin on.
l4d2_mutants_allow "1"

// Do not enable the plugin on these game modes. Separate by commas (no spaces). "" = allow all.
l4d2_mutants_modes ""



Config:

Saved to l4d2_mutants.cfg in your left4dead2addonssourcemoddata folder.

The "Settings" section:

"check" - Prevents affecting zombies from the Variable Size Of Infected and Witch plugin.

"random" - If set to "0", zombies will spawn when their individual "random" values are met. This is best for Versus so each team receives identical zombies after the same amount of infected spawn. Setting the number above 0 will spawn a random mutant when that many infected have spawned.

"types" - You can limit which Mutants are allowed by adding together these type values: 1=Bomb, 2=Fire, 4=Ghost, 8=Mind, 16=Smoke, 32=Spit, 64=Tesla, 127=All.

Custom "types" on maps:

"types" - You can limit which Mutants spawn on certain maps, by adding a new section with the map name to the config. Use the same type values from above.


Example Config:



PHP Code:

"Mutants"
{
"c1m1_hotel"
{
"types" "2" // This allows Fire mutants on the first chapter of Dead Center.
}

"c1m2_streets"
{
"types" "35" // 1+2+32 This allows Bomb, Fire and Spit types on the second chapter.
}

"Settings"
{
// 0=Off, 1=Check for other plugin's uncommon infected to stop Mutant Zombies affecting them.
// Default: "0"
"check" "0"

// 0=Off. Limit the number of Mutants at any one time to this amount.
// Minimum: "0"
// Maximum: "70"
// Default: "14"
"limit" "14"

// 0=Mutants spawn when their individual "random" values are met (this is fair in Versus). Otherwise a random Mutant type is selected after this many common infected spawn.
// Default: "50"
"random" "50"

// 1=Bomb, 2=Fire, 4=Ghost, 8=Mind, 16=Smoke, 32=Spit, 64=Tesla, 127=All.
// Minimum: "0"
// Maximum: "127"
// Default: "127"
"types" "127"
}

"Bomb"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "0"
"damage" "0"

// How much damage does the explosion cause at the center.
// Default: "25"
"damage_bomb" "25"

// Range at which explosions can damage.
// Default: "250"
"distance" "250"

// Chance out of 100 to detonate the bomb when hitting survivors.
// Default: "50"
"explode_attack" "50"

// Chance out of 100 to detonate the bomb when taking damage from survivors.
// Default: "15"
"explode_defend" "15"

// Chance out of 100 to detonate the bomb when dieing from a headshot.
// Default: "75"
"explode_headshot" "75"

// 0=Off. Range at which Bomb mutants glow.
// Default: "0"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "255 255 0"
"glow_color" "255 255 0"

// 0=Default. How much health the zomby has.
// Default: "150"
"health" "150"

// How many Bomb mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Bomb mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "105"
"random" "105"

// 0=Off. 1=Create a camera shake when the bomb explodes.
// Default: "1"
"shake" "1"
}

"Fire"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "0"
"damage" "0"

// 0=Off, Chance of dropping fires when hurting players, between 1 and 100.
// Default: "10"
"drop_attack" "10"

// 0=Off, Chance of dropping fires when receiving damage, between 1 and 100.
// Default: "5"
"drop_defend" "5"

// 0=Off. Range at which Fire mutants glow.
// Default: "0"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "255 0 0"
"glow_color" "255 0 0"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Fire mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Fire mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "133"
"random" "133"

// How long do dropped fires last for.
// Default: "10.0"
"time" "10.0"

// 0=Off, 100=All. The chance to turn common infected into Fire mutants when they walk through molotov fires or firework explosions.
// Default: "20"
"walk" "20"
}

"Ghost"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "0"
"damage" "0"

// 0=Off. Range at which Ghost mutants glow.
// Default: "0"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "100 100 100"
"glow_color" "100 100 100"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Ghost mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Transparent, 255=Opague. How solid do you want ghosts to appear?
// Default: "75"
"opacity" "75"

// 0=Off. Spawn a Ghost mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "49"
"random" "49"
}

"Mind"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "0"
"damage" "0"

// How far does the effect range.
// Default: "300"
"distance" "3000"

// 1=Ghost, 2=Red, 4=Lightning, 8=Yellow, 16=Infected, 32=Thirdstrike, 64=Blue, 128=Sunrise, 255=All. Effects to randomly select from. Add the numbers together.
// Minimum: "1"
// Maximum: "255"
// Default: "255"
"effects" "255"

// 0=Off. Range at which Mind mutants glow.
// Default: "0"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "100 50 100"
"glow_color" "100 50 100"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Mind mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Mind mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "63"
"random" "63"
}

"Smoke"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "0"
"damage" "0"

// How much damage does the smoke cloud do?
// Default: "1"
"damage_smoke" "1"

// How far does the smoke cloud damage?
// Default: "100"
"distance" "100"

// Color of the smoke
// Default: "20 20 30"
"color" "20 20 30"

// 0=Off. Range at which Smoke mutants glow.
// Default: "250"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "0 100 100"
"glow_color" "0 100 100"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Smoke mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Smoke mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "91"
"random" "91"
}

"Spit"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "1"
"damage" "1"

// How many times the player gets hurt after being hit by Spit mutants.
// Default: "3"
"damage_multiple" "3"

// 0=Off, 1=Goo Dribble, 2=Smoke Trail, 3=Goo Dribble + Smoke Trail
// Minimum: "0"
// Maximum: "6"
// Default: "3"
"effects" "3"

// 0=Off. Range at which Spit mutants glow.
// Default: "0"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "0 255 0"
"glow_color" "0 255 0"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Spit mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Spit mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "119"
"random" "119"

// The interval to hurt players after being hit by Spit mutants.
// Default: "0.5"
"time" "0.5"

// 0=Off, The chance to turn common infected into Spit mutants when they walk through spitter acid.
// Default: "20"
"walk" "20"
}

"Tesla"
{
// 0=Default game damage. How much damage each hit does to a survivor.
// Default: "5"
"damage" "5"

// 1=Ghost, 2=Red, 4=Lightning, 8=Yellow, 16=Infected, 32=Intro, 63=All. Effects to randomly select from. Add the numbers together.
// Minimum: "1"
// Maximum: "63"
// Default: "63"
"effects" "63"

// Use this much force to push away players
// Default: "400.0"
"force" "400.0"

// Add this much vertical velocity. Must be above 250.0 or players will not be pushed at all.
// Default: "300.0"
"force_z" "300.0"

// 0=Off. Range at which Tesla mutants glow.
// Default: "250"
"glow" "0"

// R,G,B color values for the glow. 3 values between 0 and 255.
// Default: "0 100 255"
"glow_color" "0 100 255"

// 0=Default. How much health the zomby has.
// Default: "0"
"health" "0"

// How many Tesla mutants are allowed on the map at once.
// Minimum: "0"
// Maximum: "10"
// Default: "2"
"limit" "2"

// 0=Off. Spawn a Tesla mutant after this many common spawn.
// Minimum: "10"
// Maximum: "1000"
// Default: "7"
"random" "77"
}
}



Requirements:
  • This plugin requires the SDKHooks extension.
Installation:

DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires SDKHooks and colors.inc!

  • Download the .zip and extract the files to their respective folders within your addonssourcemod folder.

Compiling:
  • You will need to put the SDKHooks include into your scriptinginclude folder.
  • Put this plugins .sp file in your scripting folder and compile!

Attached Files Dołączona grafika mutants.zip (49.4 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych