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

SM Parachute Fixed


owner_2019
 Udostępnij

Rekomendowane odpowiedzi

SM Parachute

Version: 2.6
Authors: SWAT_88, n00b32

Original version : https://forums.alliedmods.net/showthread.php?t=66452
Commands:
Press E(+use) to slow down your fall.
No more binding Keys!
Write !bp or !buy_parachute in Chat to buy a parachute (Only if cost > 0) !
Write !sp or !sell_parachute in Chat to sell your parachute (Only if cost > 0) !
Cvars:
sm_parachute_enabled "1" - 0: disables the plugin - 1: enables the plugin

sm_parachute_fallspeed "100" - speed of the fall when you use the parachute

sm_parachute_linear "1" - 0: disables linear fallspeed -1: enables it

sm_parachute_msgtype "1" - 0: disables Information -1: Chat -2: Panel -3: BottomCenter

sm_parachute_cost "0" - cost of the parachute (CS ONLY) (If cost = 0 then free for everyone)

sm_parachute_payback "75" - how many percent of the parachute cost you get when you sell your parachute (ie. 75% of 1000 = 750$)

sm_parachute_welcome "1" - 0: disables Welcome Message -1: enables it

sm_parachute_roundmsg "1" - 0: disables Round Message - 1: enables it

sm_parachute_model "1" - 0: dont use the model - 1: display the Model

sm_parachute_decrease "50" - 0: dont use Realistic velocity-decrease - x: sets the velocity-decrease.

sm_parachute_button "1" - 1: uses button +USE for parachute usage. - 2: uses button +JUMP.
Changes to SWAT_88's version :

The parachute is an attached entity to the player, no need for position updates, runs completly smoothly and is attached (positioned) correctly.

If the parachute is free the commands for buying/selling it are disabled.

Some optimizations.
Known quirks/bugs :

If you look directly down while parachuting ( :P ) you will see the model sticking out, either need to position the model slightly to the back of the player (offset) or change the model so its smaller.
The models animations might be broken... I have no idea why the dont work.
Gravity is not yet handled nicely.
The attachment point is "primary".

I will try to incorporate all the translations/fixes into this as I go, this is a work in progress but totally usable and very nice visually.

I tried to enable animations but either Im doing it wrong or the model's animations are broken - Im not a designer so I wont be able to fix that (at least not at the moment)


https://github.com/n00b32/sourcemod-parachute
WARNING The sm_parachute.smx in the repo is probably out of date, recompile it !

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