Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[FOF] Damage Modifier ( Version 0.1.0, 2018-02-18 )


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[FOF] Damage Modifier ( Version 0.1.0, 2018-02-18 )

A Plugin that provides the ability of tweaking around with the damage points a player endures or inflicts for Fistful of Frags. Easy to install and pretty lightweight, just for the fun of it.

For example you could double the damage for all players on the server like this: sm_makedamage @all 2.0
Or - make yourself almost invincible: sm_takedamage @me 0.1

But hey: be responsible and don't do admin abuse. People should have fun playing on your server!

Features
  • Set a modifier for the damage a player endures
  • Set a modifier for the damage a player inflicts
  • Store default modifiers for certain players in a config file

Player Commands

There are no player commands. Only admins should be able to fiddle around with this.

Admin Commands

As an admin, you can do this:
  • sm_takedamage <name|#userid> <modifier> -> Silently set the modifier of damage taken by a certain player. For example: sm_takedamage @all 0.5 divides the damage points for all player in half.
  • sm_makedamage <name|#userid> <modifier> -> Silently set the modifier of damage caused by a certain attacker. For example: sm_makedamage joe 2 doubles the damage points caused by player 'joe'.
Keep in mind: both settings add up! So for example this would result in normal damage point behaviour:
sm_takedamage @all 0.5
sm_makedamage @all 2

CVars
  • sm_damage_version -> the plugin's version, obviously...
  • sm_damage_enabled -> 1/0 for enabling or disabling the plugin. (Default 1)

Installation

Download the ZIP file and extract it into the sourcemod base folder. Usually here: .../fof/addons/sourcemod
After that, restart your server or (re)load the plugin: sm plugins load fof_damage

Configuration

Take a look inside the fof_damage.cfg and modify it to your needs! It's pretty straightforward, really!

Spoiler


Download

Download from GitHub: https://github.com/TheOnePerson/fof_...fof_damage.zip

View the GitHub repository here: https://github.com/TheOnePerson/fof_damage. Use the functionality there to contribute to the sources!

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...