Scripts / Space craft docking script

Author
Message
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 14th Mar 2016 18:51
Well Ive just done my second script and it actually works quite well, Attach it to a space station ring etc etc and make a short video ( carnt see this very well as ive added fog on the rings) and voila freelancer stylie docking ..im going to try to get some form of conversation with the planet before you dock but it works anyways here it is and a vid showing it in action





Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 14th Mar 2016 21:55 Edited at: 14th Mar 2016 22:02
Ok ive use FreezePlayer when the player gets near the gate and displayed an image of a little robot in a window saying docking granted bla bla, but when I do this the player view flips to the rear of the ship whereas I want it to stay fixed on the ring. ideas anyone plz? heres my updated script

JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 14th Mar 2016 21:57
supercool
PC Specs:

Q9550@3,8GHZ - 8GB RAM - SVGA R9 280 3GB GDDR5 - HDD WD 1500TB
PM
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 14th Mar 2016 22:02
Thanks JC
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 14th Mar 2016 23:46
im not 100% sure but i think it's because the script you use to control the ship is also using a combination of freezeplayer and transporttoifused and somewhere along the line it's causing the odd rotation.

is it completely needed to freeze the player? i would probably just make speed (from the other script) a lot slower so that the player can still move away if he didnt want to dock but also so he wont crash into the ring.
you will need to remove the "local" from the speed declaration in the other script to adjust it here.

p.s. freelancer was a cool game (one of the very few space games i actually enjoyed playing
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 15th Mar 2016 08:41 Edited at: 15th Mar 2016 08:43
Still have my copy I forgot it would be duplicated on the ship :/ maybe a reduce speed script added into the dock script, some sort of holding pattern i'll play around see what happens. Maybe just increase the distance for the prompt and change it to text on screen so its easier to see. cheers smallg
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 15th Mar 2016 18:51
Ive been playing with the script and making some clips and here's the finished result


smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Mar 2016 19:29
very nice, now you just need to add a little video of the ship going into hyper drive
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 15th Mar 2016 20:31 Edited at: 15th Mar 2016 21:26
Thanks smallg its reading through yours and Myke's scripts that's helped me slowly get an understanding of what does what I'm kinda getting it now...hmm warp vid ive been thinking on that and trying to find something that looks like a warp, I have the tools to overlay the ship add sounds etc I'm using freemake a lot its a nice free video converter, maker etc (worth a looksee and free) was it you that did the fly away script? ooo now I think about it I think ejay has some warp animations
Honkeyboy
3D Media Maker
8
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 15th Mar 2016 22:19 Edited at: 15th Mar 2016 22:49
And the Jump/warp gate well a test of one i'll need to better the video might work well if I add a drop out of warp sound and jump to level that way you warp from and arrive at the planet or part of space still need to find a way to confine the player to the ship as you can as they say "get out and walk" lol

Login to post a reply

Server time is: 2024-05-03 12:32:39
Your offset time is: 2024-05-03 12:32:39