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

[CS:GO] Combat Surf Custom Grenades


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin customizes grenades trajectories, airtime, bounces before explode, knockback to make them fun to play with in combat surf.
It is best used with this plugin that unlocks grenade velocity limit : https://forums.alliedmods.net/showth...27#post2629927

Installation

Upload the smx to the plugins folder. A config file named csurfnade.cfg will be created on first start in /csgo/cfg/sourcemod/


CVars

Code:


// How much bounces before exploding
// -
// Default: "1"
sm_csn_bounces "1"

// Enable this plugin
// -
// Default: "1"
sm_csn_enable "1"

// How long will the flash stays in air before exploding
// -
// Default: "10"
sm_csn_flash_airtime "10"

// Disable the white screen from the flashbang
// -
// Default: "1"
sm_csn_flash_disable_blind "1"

// The speed given by the flashbang
// -
// Default: "750"
sm_csn_flash_kb_pushspeed "750"

// The Flashbang knockback radius
// -
// Default: "250"
sm_csn_flash_kb_radius "250"

// How long will the HE stays in air before exploding
// -
// Default: "10"
sm_csn_he_airtime "10"

// The speed given by the HE knockback
// -
// Default: "1500"
sm_csn_he_kb_pushspeed "1500"

// The HE grenade knockback radius
// -
// Default: "384"
sm_csn_he_kb_radius "384"

// Enable the grenades knockback
// -
// Default: "1"
sm_csn_kb_enable "1"

// Turn noblock on for players but allows grenade hitting
// -
// Default: "1"
sm_csn_player_collision "1"

// Add damages to the snowball
// -
// Default: "30"
sm_csn_snowball_damage "30"

// Enable unlimited freezing snowballs
// -
// Default: "1"
sm_csn_snowball_enable "1"

// Enable Grenade tails
// -
// Default: "1"
sm_csn_tails_enable "1"

// Enable the alternate trajectory system
// -
// Default: "1"
sm_csn_trajectory_enable "1"

// The base speed given to the grenade
// -
// Default: "1250"
sm_csn_trajectory_speed "1250"

Developper

Code:

/*
* Event on player hit by knockback
*
* @param int                                Player who got hit by the knockback
* @param int                                Entity which triggered the knockback
*/
forward int CSurfNades_OnPlayerHit(int client,int entity);

This forward is getting triggered when a Player is hit by a knockback (I use it to make the player drop the flag when it's hit by a flashbang.

Notes

Hey, Its my third plugin, and I think a lot of combat surf server owner would be pleased to use it. If you have any suggestions, bug, feeback, feel free to leave a comment below! Have fun

Attached Files
File Type: inc csurfnades.inc (289 Bytes)
File Type: sp Get Plugin or Get Source (csurfnades.sp - 12.6 KB)
File Type: smx csurfnades.smx (17.5 KB)

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