View unanswered posts | View active topics It is currently Sat Dec 28, 2024 3:48 pm



Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
 Changing power of dropship thrusters 
Author Message
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Changing power of dropship thrusters
That part of the code is just poorly written I'm afraid. Look for this line:
Code:
local power = {14000, 1200, 6000, 24000, 9000, 16000}
The first, second and third values are the power used when accelerating/decelerating sideways. The fourth and fifth value are the downwards force when pressing the up or down button. The last value is the downwards force when no buttons are being pressed.

If you increase the fourth and sixth value, without changing anything else, the transport should be able to carry a heavier load.


Sat Oct 01, 2011 7:20 pm
Profile
User avatar

Joined: Fri Aug 26, 2011 3:06 am
Posts: 42
Reply with quote
Post Re: Changing power of dropship thrusters
Gotcha! wrote:
Well, at least you took the words Drop Ship to an entirely new level. *thumbs up*

=D Community recognition!

Image

Well, the dropship goes too fast without load, but otherwise it works, thanks Abdul! And thanks for a great mod, too!


Sun Oct 02, 2011 1:13 am
Profile
User avatar

Joined: Tue Dec 23, 2008 8:04 pm
Posts: 1545
Reply with quote
Post Re: Changing power of dropship thrusters
It's easy actually.
Find this bit and change the numbers around.
Code:
   if self.EngineLeft.ID < 255 and self.EngineLeft:IsAttached() and
      self.EngineRight.ID < 255 and self.EngineRight:IsAttached()
   then   -- Make sure the engines are attached
      local Acc = Vector()
      local power = {14000, 1200, 6000, 24000, 9000, 16000}

There are 6 Local power numbers and 6 magnitudes. Connect the dots.
Each number is tied to a specific magnitude, so try changing the first for speed and the fourth for lift.


Mon Oct 03, 2011 9:01 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 13 Queries | GZIP : Off ]