[Include] Southclaw's Balloon Script!
#1

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
Reply
#2

Very amazing, i'm gonna try it out.
Reply
#3

Video added
Reply
#4

Great, +rep.

The tittle in the post isnt correct
Reply
#5

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
Reply
#6

Sure, I'll add a separate script to my pastebin page with an edit for costs, give me a minute...
Reply
#7

Well, I really like the smoothness of this.Really great script. +rep.
Reply
#8

@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!
Reply
#9

Unique idea, really loved it. Will be so amazing on role play servers.
I mean, wonderful work, good job.
Reply
#10

Could you make a finshed file so I can download?? Just tricky with the error codes xD
Reply
#11

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!
Reply
#12

Nice
Reply
#13

Wow, good job dude
Reply
#14

I would download if u could steer it to anywhere..
Anyway awesome job.
Reply
#15

wow,this is awesome. Nice job.
Reply
#16

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
Reply
#17

Cool.
I'll surely use this.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)