[HLF]Southclaw
Unregistered
03.11.2011, 13:59
(
Последний раз редактировалось [HLF]Southclaw; 31.01.2014 в 21:03.
)
Southclaw's Balloon Script
I guessed there would be a load of balloon scripts after the object was added in 0.3d
But what the hell, they might all do different things! Mine just adds a balloon that you can ride from one place to another, and back again!
This script uses my Button script to activate the balloons, this can be found here
How to use
There's one simple function you put in your script:
CreateBalloon(Float1, Float:y1, Float:z1, Float:r1, Float2, Float:y2, Float:z2, Float:r2)
First set of co-ordinates is where the balloon will spawn, and the second set is where it will fly to
You just jump into the basket and press F/Enter (Default Controls) and it will begin flight to wherever the destination is!
Planned Updates:
- Player controlled balloons (to an extent, once above a certain altitude, and can only land at landing spots)
- Might make a version that doesn't require by button script
- any suggestions given to me by users
Video
[ame]http://www.youtube.com/watch?v=KYbBH6YhtGw[/ame]
Download
GitHub
Hope you like this script, any bugs please tell me and I will get to work fixing them
Posts: 2,334
Threads: 62
Joined: Dec 2009
Reputation:
0
Very amazing, i'm gonna try it out.
[HLF]Southclaw
Unregistered
Video added
Posts: 1,726
Threads: 59
Joined: Dec 2009
Reputation:
0
Great, +rep.
The tittle in the post isnt correct
Posts: 290
Threads: 57
Joined: Apr 2009
Reputation:
0
hi great script mate. can u add were the player pays 100 pound to ride it or say 1,000
this would be good for my new gamemode
[HLF]Southclaw
Unregistered
Sure, I'll add a separate script to my pastebin page with an edit for costs, give me a minute...
Posts: 999
Threads: 86
Joined: Jun 2010
Reputation:
0
Well, I really like the smoothness of this.Really great script. +rep.
[HLF]Southclaw
Unregistered
@andrewgrob
Done, not tested, but it's a simple code so it should work!
(Although I usually make simple mistakes!)
http://pastebin.com/gXLdE0WV
I'll also add it to the main page and credit you for the idea
@Ronaldo_raul™
Thanks for the comment
Much appreciated!
Posts: 725
Threads: 4
Joined: Nov 2010
Reputation:
0
Unique idea, really loved it. Will be so amazing on role play servers.
I mean, wonderful work, good job.
Posts: 3,138
Threads: 257
Joined: Nov 2009
Reputation:
0
Could you make a finshed file so I can download?? Just tricky with the error codes xD
[HLF]Southclaw
Unregistered
I've updated the pastebin pages now!
My compiler used certain parameters so it ignored some errors for some reason!
Fixed now, it was just if you didn't use the functions that were hooked it gave an error, fixed by changing them from direct function calls to CallRemoteFunction.
And changed 'switchbool' to the Logical 'NOT' operator '!' this should be faster, and I forgot to include the switchbool macro anyway!
Thanks for the report!
Posts: 3,138
Threads: 257
Joined: Nov 2009
Reputation:
0
I would download if u could steer it to anywhere..
Anyway awesome job.
Posts: 206
Threads: 4
Joined: Mar 2012
Reputation:
0
wow,this is awesome. Nice job.
[HLF]Southclaw
Unregistered
Quote:
Originally Posted by davve95
I would download if u could steer it to anywhere..
Anyway awesome job.
|
I will add something like that!
I didn't add support for full control because I didn't want the balloon to go inside objects and buildings etc!
I will think of a way though, maybe having areas with basic height-maps (I'm not too keen on using MapAndreas for this)
Update coming soon
Posts: 2,698
Threads: 37
Joined: Mar 2012
Reputation:
0
Cool.
I'll surely use this.