generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: A Boat seat..

Previous Thread :: Next Thread 
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 04:46 PM
I am making a game where you build a boat and get to control it by walking on edge, but that is to boring, so I have little knowledge of scripting so I just want it to be put on any brick and it will drive it on water a boat made from basic building then you clone the seat on it and it is drivable?
Report Abuse
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 04:49 PM
B
Report Abuse
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 04:53 PM
B2
Report Abuse
Landish is not online. Landish
Joined: 24 Sep 2011
Total Posts: 8152
08 Jul 2014 04:53 PM
B3
Report Abuse
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 04:53 PM
Really..?
Report Abuse
Landish is not online. Landish
Joined: 24 Sep 2011
Total Posts: 8152
08 Jul 2014 04:54 PM
B4
Report Abuse
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 05:58 PM
B5
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
08 Jul 2014 06:17 PM
I remember someone made a really awesome boat script for roblox water. It stopped working though.
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
08 Jul 2014 06:26 PM
Seeing as you're still bumping:

(in the seats)

repeat wait() until #script.Parent:GetConnectedParts() > 0



maxSpeed = 10
turnRate = 0.5 ( full turns per second, i think, not 100% sure)
dampening = 50


while wait() do

local steer = script.Parent.Steer
local throttle = script.Parent.Throttle
local v = script.Parent.Velocity
local x,y,z = v.x,v.y,v.z
local speed = Vector2.new(x,z).magnitude
local speedincrease = (maxSpeed*throttle - speed) / dampening

script.Parent.Velocity = script.Parent.Velocity + script.Parent.CFrame.lookVector * speedincrease
script.Parent.RotVelocity = Vector3.new(0,math.pi*turnRate*steer,0)

end

If that mess doesn't work I'll change it to use BodyInstances later, :D
Report Abuse
PurebloodJames is not online. PurebloodJames
Joined: 05 Jan 2012
Total Posts: 675
08 Jul 2014 06:27 PM
This will allow you to drive the whole boat you just made nomatter what boat. In PS I made a game and you build a boat so if you put this on your boat you can drive it?
Report Abuse
RoflBread is not online. RoflBread
Joined: 18 Jun 2009
Total Posts: 3803
08 Jul 2014 06:36 PM
Theoretically...I haven't tested it
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image