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

[TF2] Rebalanced Fortress 2 (v1.43 - 2018-03-08)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
What's this?
Rebalanced Fortress 2 is a simple yet powerful plugin that allows any server owner to modify the attributes of (almost) every item (and class) in Team Fortress 2 that's given to the player, including weapons, shields or even hats! If you think an item deserves more of the spotlight, or if you think a weapon is horribly broken, you will be able to change the attributes of such weapon to your heart's content. In addition, it's possible to add information related to those changes to let everyone know about what was changed.

This is the public version of the plugin used by the Custom TF2 Weapons group for their Official Weapon Changes servers (which is why the release version is v1.43, as it was private before) and gives different sets of attributes to the official weapons of the game. In addition, it's also the successor of Balance Fortress 2, a plugin I also made myself.

How does it work?
A file, tf2rebalance_attributes.txt contained within the data folder, is the one that contains the changes you wish to add to the classes or weapons, which you can modify to your heart's content in case you wish to modify anything. When a player spawns, their weapon will be automatically replaced by the same one but with the attributes that were specified in the file. If a class was modified, then the attributes, if specified, will be added to such class as well and attributes given to classes will not stack or mesh with other classes' given attributes.

Installation:
The plugin's GitHub page can be seen here.
The releases page can be seen here.

  1. Please install TF2Items (and optionally TF2Attributes to add attributes into classes) and follow their respective installation instructions.
    • Optionally, if you wish to compile your own version of the plugin, you might want to have morecolors.inc as well.
  2. Get the latest release from the plugin's GitHub by clicking here and then clicking on the .zip file download.
  3. Drop the "addons" folder from the .zip file into where your server's tf/ folder is.
  4. Change the map or load it manually by writing "sm plugins load tf2rebalance_jug" in the server's console.
    • If you wish to learn how to change a weapon's attributes and/or add attributes into a class, read the example file here.
  5. Done!

Cvars and commands
  • Console variables:
    • sm_tfrebalance_enable (Default: "1"): Enables (1) or disables (0) the plugin.
    • sm_tfrebalance_logdependencies (Default: "1"): Should the lack of TF2Attributes be logged? 1 enables this, whereas 0 disables it instead.
    • sm_tfrebalance_firsttimeinfo (Default: "1"): Should the players, on their first spawn, be notified of the possibility of modified weapons and the commands to see such information? 1 enables this, whereas 0 disables it instead.
    • sm_tfrebalance_preserveattribsbydefault (Default: "0"): On file parsing, should the lack of a "keepattribs" key default to preserve (1) or not preserve (0) the attributes of the item?
  • Commands:
    • /tfrebalance_refresh (Root admin only): Parses tf2rebalance_attributes.txt again in case an item is in need of a hotfix, or for testing purposes.
      ---
    • /weapon_info: Shows information about the weapon the player is currently holding.
    • /class_info: Shows information about the class the player is currently using.
    • /wearable_info: Shows information about the wearables (shields, hats...) the player is currently wearing.

If you like this plugin and wish to see more like them, be sure to donate through my Ko-Fi page here. It's not required, but any amount helps and it's really appreciated.

Thanks for reading and enjoy!

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ę...