Authors: SWAT_88, n00b32
Original version : https://forums.allie...ead.php?t=66452
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) !
Changes to SWAT_88's version :
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.
Known quirks/bugs :
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.
The attachment point is "primary".
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.
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)
WARNING The sm_parachute.smx in the repo is probably out of date, recompile it !
Wyświetl pełny artykuł