←  [RSS] Pluginy

AMXX.pl: Support AMX Mod X i SourceMod

»

[forums.alliedmods.net] [L4D2] Healing Co...

Adminek AMXX.PL - zdjęcie Adminek AMXX.PL 30.03.2012

Dołączona grafika Dołączona grafika

About:
  • Healing Cola Bottles.
  • Gives temporary health or main health. Not above 100 HP.
  • Can spawn in the saferoom (set cvar l4d2_cola_safe).
  • Save up to 32 Colas for auto-spawning. (Saved to l4d2_cola.cfg in addonssourcemoddata).
Thanks:
  • JoBarfCreepy - For the request.
Admin Commands: (requires "z" flag)



PHP Code:

sm_cola // Spawns a temporary cola at your crosshair.
sm_colasave // Spawns a cola at your crosshair and saves to config.
sm_coladel // Removes the cola you are pointing at and deletes from the config if saved
sm_colawipe // Removes all colas from the current map and deletes them from the config.
sm_colaglow // Toggle to enable glow on all colas to see where they are placed.
sm_colalist // Display a list cola positions and the total number of.
sm_colatele // Teleport to a cola (Usage: sm_colatele <index: 1 to MAX_COLAS>).
sm_colaang // Displays a menu to adjust the cola angles your crosshair is over.
sm_colapos // Displays a menu to adjust the cola origin your crosshair is over.


CVars:

Saved to l4d2_cola.cfg in your left4dead2cfgsourcemod folder.



PHP Code:

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

// 0=Off, 1=Heal players holding the cola.
l4d2_cola_heal "1"

// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d2_cola_modes ""

// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d2_cola_modes_off ""

// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d2_cola_modes_tog "0"

// -1=All, 0=None. Otherwise randomly select this many colas to spawn from the maps confg.
l4d2_cola_random "-1"

// The rate at which players are healed. HP per second.
l4d2_cola_rate "1.5"

// On round start spawn the cola: 0=Off, 1=In the saferoom, 2=Equip to random player.
l4d2_cola_safe "0"

// -1=Add temporary health, 0=Add to main health. Values between 1 and 100 creates a chance to give main health, else temp health.
l4d2_cola_temp "5"

// Healing Cola plugin version.
l4d2_cola_version


Changes:


Code: 1.0 (30-Mar-2012)
- Initial Release.
Installation:
  • Click "Get Plugin" and save to your left4dead2addonssourcemodplugins folder.

Attached Files Dołączona grafika Get Plugin or Get Source (l4d2_cola.sp - 33.6 KB)

Wyświetl pełny artykuł
Odpowiedz