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

RSS[ANY] Client-Side Paint Plugin (v1.0.0, 24/06/2022)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
This plugin has been on my GitHub for over a year, but someone suggested I post it here so it's easier for people to find, so here I go!

This is a standalone plugin intended to provide the +paint feature to players for visibility and to mark landmarks, with decals being fully client-sided. This is ideal for servers that want to provide the feature to players, but do not want it to be abused to destroy visibility and cause chaos! Tested only on CS:GO, but should work on other games.


Usage:
  • Players can bind +paint to a key using "bind KEY +paint" in console. When this key is held down, they will continously place paint on the surface they are looking at.
  • sm_paint - places down a single paint decal on the surface the player is aiming at.
  • sm_paintoptions - opens the options menu, which can be used to access options to change paint colour and size.
  • sm_paintcolour (or sm_paintcolor) - opens the paint colour settings menu.
  • sm_paintsize - opens the paint size settings menu.
  • sm_clearpaint will tell you how to clear decals, since I couldn't figure out how to make the plugin force clear decals for the player. :P

This plugin uses clientprefs to store settings, so player's paint settings are remembered when they join the server.

Players can choose from 14 colours and 3 size options!

68747470733a2f2f63616d6f2e67697468756275


By default, the commands are open to all players. If you would like to restrict the commands to certain flags, please use overrides: https://wiki.alliedmods.net/Overridi...ess_(Sourcemod)


Installation:
  1. Download the ZIP from either GitHub or this thread
  2. Drop the "materials" and "addons" folders into your server's game folder. ("csgo" for CS:GO)
  3. Drop the "materials" folder into your FastDL, if you use one.


Credits:

Source:

GitHub: https://github.com/1zc/Player-Paint

You'll need the MultiColors (https://forums.alliedmods.net/showthread.php?t=247770) include. This plugin works on SourceMod 1.10, but I haven't tested whether it works on SourceMod 1.11.

Attached Files
File Type: zip Player-Paint.zip (64.0 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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