Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

SM Parachute Fixed


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 05.05.2016 13:08

SM Parachute

Version: 2.6
Authors: SWAT_88, n00b32

Original version : https://forums.allie...ead.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/n...cemod-parachute
WARNING The sm_parachute.smx in the repo is probably out of date, recompile it !

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych