RSSy MYGO.pl Opublikowano Wrzesień 29, 2022 o 15:47 RSSy Udostępnij Opublikowano Wrzesień 29, 2022 o 15:47 Description:It's a fork by Dragokas and Joshe Gatito of well-known Parachute done by SWAT_88 and contributors. Number of changes are a lot (see ChangeLog for details). Main new features: - Much more smooth moving (some operations moved from game frame to a single parenting) - 2 parachute models simultaneously (1 for root admin, 2 - for other players) - Fixed animation - Added detach animation - More control over animation time in ConVars - Optimizations - Free of errors - APIWhat's in bundle? - Blue parachute (for all) - Yellow parachute (for root admin) Settings (ConVars): Can be found in: cfg/sourcemod/sm_parachute.cfg PHP Code: // 0: disables the plugin - 1: enables the plugin sm_parachute_enabled "1" // speed of the fall when you use the parachute sm_parachute_fallspeed "100" // 0: disables linear fallspeed - 1: enables it sm_parachute_linear "1" // 0: disables Information - 1: Chat - 2: Panel - 3: BottomCenter sm_parachute_msgtype "0" // cost of the parachute (CS ONLY) (If cost = 0 then free for everyone) sm_parachute_cost "0" // how many percent of the parachute cost you get when you sell your parachute (ie. 75% of 1000 = 750$) sm_parachute_payback "75" // 0: disables Welcome Message - 1: enables it sm_parachute_welcome "0" // 0: disables Round Message - 1: enables it sm_parachute_roundmsg "0" // 0: dont use the model - 1: display the Model sm_parachute_model "1" // 0: dont use Realistic velocity-decrease - x: sets the velocity-decrease. sm_parachute_decrease "0" // 1: uses button +USE for parachute usage. - 2: uses button +JUMP. - 3: uses any button, +USE 'E' or +JUMP 'Space' sm_parachute_button "1" // 0: always play parachute landing animation. > 0: to set conrete altitude. If player opened parachute below this altitude, landing animation is not play. sm_parachute_landanim_limit "115" // Admin uses own model? (1 - yes, 0 - no) sm_parachute_adminmodel "1" // Use detach animation? (1 - yes, 0 - no) sm_parachute_detach_anim "1" // Duration (in sec.) of detach animation sm_parachute_detach_animtime "2.0" Commands: PHP Code: // Buy parachute sm_bp sm_buy_parachute // Sell parachute sm_sp sm_sell_parachute Supported games: - Plugin is only tested in L4D1 and L4D2. - Other games are not guaranteed to work perfectly.Requirements: - content server (plugin contains a downloadable content) API: Spoiler PHP Code: /** * Restrict opportunity of client to use parachute. * * @param iClient Client index given. * @param bLock true - to disable parachute, false - enable. * @param fTimeout If specified, give back parachute after this amount of seconds. * * @error Wrong number of arguments. * @noreturn */ native int PA_RestrictClient(int iClient, bool bLock = true, float fTimeout = 0.0); Installation: - Put contents of "Content-server" folder on your content-server. - Put contents of "ftp" folder on your game-server.Credits: - @SWAT_88 - original author - @Joshe Gatito - for fixing the models animation - @Marttt - for solving issue of glowing the parented model - @Greyscale, @Pinkfairie, @bl4nk, @theY4Kman, @Knagg0, @KRoT@L, @JTP10181 - for contribution in the original work. DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often: - Patreon - BitCoin - Ю.Money P.S.: - It's my private modification written for myself and my Bloody Witch team. - Project and updates discontinued. Don't ask. Attached Files Parachute2.zip (517.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi