SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filter Scripts and Includes

Reply
 
Thread Tools Display Modes
Old 25/08/2009, 02:26 PM   #1
Trooper[Y]
Huge Clucker
 
Join Date: Apr 2009
Posts: 420
Default S.W.A.T Rope RC1 V1 [nosup]

This version of the swat rope aint supported anymore !

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 Youtube, 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
(c) Zobmie_modder, Don_Elcapone
[img width=1024 height=640]http://img35.imageshack.us/img35/576/samp455.png[/img]



Videos
(c) Lolikus77, Trooper
Troopers 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
Code:
//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
if player dies from bug (not called everytime)
Quote:
//OnPlayerSnatchRope
if rope snatchs
Quote:
//OnPlayerStartSliding
should only be used for conditions
Quote:
//OnCalculateZ
should only be used for messages ot smth. similiar
Quote:
//OnPlayerLetFall
if player pressed 2 twice, so releasing rope
Quote:
//OnPlayerCheck
only short code !!!, its the part of checking, if player is close to ground
Quote:
//OnPlayerReady
if player is ready with sliding
Quote:
//OnPlayerRopeEnd
if player start falling in cause of too high starting point / too short rope

Download
Pastebin (only pwn) http://pastebin.com/fa53d7b0
RapidShare (amx,pwn,include) http://rapidshare.com/files/27131990...ope_RC1_v1.rar

Copyright
http://creativecommons.org/licenses/by-nc/3.0/

Advertisement
Youtube-Channel http://www.youtube.com/user/eastermaniv
Blog www.nicksoft.biz
Website www.nicksoft.tk
Twitter www.twitter.com/Blasium
ICQ http://www.icq.com/people/cmd.php?ui...action=message

Have Fun,
Trooper

btw. who checks, how i did the rope?

Last edited by Trooper[Y]; 07/08/2010 at 08:18 AM.
Trooper[Y] is online now   Reply With Quote
Old 25/08/2009, 02:27 PM   #2
urkiefly101
Big Clucker
 
Join Date: Jun 2009
Posts: 129
Default Re: S.W.A.T Rope RC1 V1

FINALLY!
urkiefly101 is offline   Reply With Quote
Old 25/08/2009, 02:39 PM   #3
Memoryz
Huge Clucker
 
Join Date: Dec 2008
Posts: 400
Default Re: S.W.A.T Rope RC1 V1

Nice, TONS of people have been looking for this!

Thanks, this is a great contribution!
Memoryz is offline   Reply With Quote
Old 25/08/2009, 02:51 PM   #4
Fj0rtizFredde
Gangsta
 
Fj0rtizFredde's Avatar
 
Join Date: Jun 2008
Location: Sweden
Posts: 585
Default Re: S.W.A.T Rope RC1 V1

Nice
__________________
Fj0rtizFredde is online now   Reply With Quote
Old 25/08/2009, 03:13 PM   #5
SpiderPork
Gangsta
 
Join Date: Feb 2009
Posts: 745
Default Re: S.W.A.T Rope RC1 V1

Very nice indeed.
SpiderPork is offline   Reply With Quote
Old 25/08/2009, 03:35 PM   #6
playafaller
Little Clucker
 
playafaller's Avatar
 
Join Date: Jul 2006
Posts: 12
Default Re: S.W.A.T Rope RC1 V1

Quote:
Originally Posted by SpiderPork
Very nice indeed.
/sign
playafaller is offline   Reply With Quote
Old 25/08/2009, 03:41 PM   #7
brett7
Gangsta
 
Join Date: Nov 2007
Posts: 664
Default Re: S.W.A.T Rope RC1 V1

very cool
brett7 is offline   Reply With Quote
Old 25/08/2009, 03:57 PM   #8
Hollywood
Little Clucker
 
Join Date: Jun 2009
Posts: 25
Default Re: S.W.A.T Rope RC1 V1

Very very nice, Will be using Good job mate
Hollywood is online now   Reply With Quote
Old 25/08/2009, 04:20 PM   #9
Kieren
Big Clucker
 
Kieren's Avatar
 
Join Date: Feb 2007
Location: West Yorkshire, England
Posts: 142
Default Re: S.W.A.T Rope RC1 V1

This is very nice, great job!
__________________

Sponsored SA-MP Services

Sponsored SA-MP 0.3b servers available on request, Located in Roubix, France. Control panel provided for easy management;
Dedicated Intel Core 2 Quad ~ 2.4GHz, 4GB RAM, 100Mbit up/down. Please PM, e-Mail, or leave a visitor message for more information; Serious interest only & No messing around!

Control Panel: Click Here
Demo Server: 94.23.228.125:7777
Kieren is offline   Reply With Quote
Old 25/08/2009, 04:55 PM   #10
sebihunter
Gangsta
 
Join Date: Nov 2006
Posts: 603
Default Re: S.W.A.T Rope RC1 V1

Nice, I loved the test
sebihunter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Army Rope mightyJan Scripting Diskussion und Showroom 3 04/04/2010 09:05 AM
[Preview] S.W.A.T Rope Trooper[Y] Screenshots and Videos 33 08/09/2009 08:22 AM
[FilterScript] [FS] Swat Rope Sliding [ERP]Snow Filter Scripts and Includes 54 27/08/2009 08:22 PM
jump in rope from heli. stavross Scripting Discussion 3 11/08/2009 06:34 PM


All times are GMT. The time now is 02:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.