25.08.2009, 14:26
(
Последний раз редактировалось Trooper[Y]; 12.09.2010 в 18:41.
)
Introduction
So, a lot of people asked for that (more than 100 people all in all), and its been suggested for 0.3 as well a lot of times. Now, i got 20 Subscribers to *******, and, as i promised to you, ill release it now. I hope, that after the release you`d not un-subscribe to my channel, keep subscribing to be up-to-date with my stuff, it doesnt costs you in any way, and im happy and motivated for new scripts. Of course, a lot of people told me to sell the script, but i wanted to refresh the live in San Andreas (SAMP, not MTA ), so i release it for everyone. Even i know, the feedback of a no-name scripter here, even he did something vry own, isnt vry high, so ill not look too often here to not see, how less people left their comments. Convince me please of the other way round Screenshots
© Zobmie_modder, Don_Elcapone[img width=1024 height=640]/imageshack/img35/576/samp455.png[/img]
Videos
© Lolikus77, TrooperTroopers Filterscript
[FS] S.W.A.T Rope
[FS] S.W.A.T Rope 2nd public test
Credits
* Blackfox - Streamer (include)* homersimpsons - Private Testing
* Splatt . private Testing
* z_m - private Testing
* Matze_Bellic - 2. Public Test (Serversponsor)
* FuNNy - 1. Public Test (Serversponsor), private Testing
* Bright - TextDraw
* All People being on public testserver
* All People, subscribing to my channel
Known Bugs
*Sometimes people doesnt get accelerated, so they die. I used an RP-Reason against it, sometimes it doesnt appears :\ Improve it on yourself. I didnt fixed the bug, bcause it never appeared on myself, so i hadnt seen any scripting-mistakes. Seems to be client-side*If multiple people slide at the same time, only 1 rope is seen (doesnt seems to harm either, i tried to fix it before release, possible that i fixed it that way, im not sure youll see this bug)
*TextDraw isnt shown, hadnt get, what im doing wrong, try it on yourself. It`ll be nice if you post it, if you got it.
Settings
Код:
//Easy Edit Section #define howmanyropes 20 //how many ropes server should contain (increasing number,decreases server power) #define zcatchtimer 1200 //in ms, time to calculate height #define r_maxping 275 //highest ping of sliding units, dont set too high, or death-bugs will increase #define falltime 25 //low = the best, but beware of server weakness (25 isnt incredible high, think, that you slide around 2-5 secs) #define ropelength 100 //in meter, after what amount of meters you start falling (and rope ends)... Increasing will take server power and realism #define abfangen 6 //at what height above ground should player get stopped ?
Control
Get with SWAT Skin (285) into Police Maverick (extendable in script, of course).Wait till pilot get to a stable position (hes not allowed to move too much while ur sliding)
Press "KEY_SUBMISSION" (Key 2) to start sliding.
While falling, you can press this key again to stop sliding at the moment you wish.
Realism
To add realism, following things are included:*Rope snatching:
If pilot drifts/flies away while you slide, the rope will snatch and youll start falling (to death).
So i expect you should now build in a pilot-test for SWAT Units
*Rope Length:
Of course, in reallife you cant slide off the rope from 1 kilometre.
So after a set length (see settings), the rope ends and youll start falling (to death)
Scripting
For being vry user-friendly, i marked some parts to show you, where to put your code to.Quote:
//OnPlayerDeathBug |
Quote:
//OnPlayerSnatchRope |
Quote:
//OnPlayerStartSliding |
Quote:
//OnCalculateZ |
Quote:
//OnPlayerLetFall |
Quote:
//OnPlayerCheck |
Quote:
//OnPlayerReady |
Quote:
//OnPlayerRopeEnd |
Download
Pastebin (only pwn) http://pastebin.com/fa53d7b0RapidShare (amx,pwn,include) http://rapidshare.com/files/27131990...ope_RC1_v1.rar
Copyright
http://creativecommons.org/licenses/by-nc/3.0/Advertisement
*******-Channel http://www.*******.com/user/eastermanivBlog www.nicksoft.biz
Website www.nicksoft.tk
******* www.*******.com/Blasium
ICQ http://www.icq.com/people/cmd.php?ui...action=message
Have Fun,
Trooper
btw. who checks, how i did the rope?