TweakScale

TweakScale

1M Downloads

Investigate an Apparent Misbehaviour on RCS Engines

Lisias opened this issue · 3 comments

commented

Thanks the thing: apparently, TweakScale is failing to scale the RCS engines!

Even by scaling them up to 400%, the Thrust on the PAW doesn't changes, they are kept on ~100KN for the RCS Block ar Sea level.

Check it!

commented

Interesting.

Initially I thought that I should not had commented out the Scale Exponent for the new ModuleRCSFX (only the older ModuleRCS has an Exponent), and so I wrote a new Exponent for it. However, things didn't changed at all…

Oukey, a screwup of KSP 1.12? Let's try 1.11.

Same Thing.

Testing down to KSP 1.4.3 (the oldest I have a working Test Rig for now), I reproduced the behaviour - a RCS Block scaled up to 400% still have the ~105Kn of Thrust on the PAW.

Then I rolled TweakScale back to 2.4.2.0, my first proper TweakScale release - exactly for the KSP 1.4.x series.

Same thing. =/

Cazzo, how in Hell a Royal Bork of such magnetude could had passed trough all these years? o.O EVERYBODY that uses TweakScale ends up scaling the RCS Thrusters sooner or later, me included!!

Anyway, I remembered that the (at that time) new ModuleRCSFX extended the original ModuleRCS (from the 1.1 era, I think? KSP 1.2 already uses ModuleRCSFX). It happens that TweakScale does the Right Thing™ , it uses the language's Polymorphism to check for Exponents, so a Module extending an already known one "inherits" the Exponent.

So things should be working, damnit!

Well… As I use to say, TDT - Test, don't Trust. Time for some testing.

commented

So I fired up KSP 1.4.3 with TweakScale 2.4.2.0 again, but this time I tested for the problem, instead of trusting the values KSP is giving me (what, history had taught me, is not exactly wise…).

And… Yep, it's a bug on KSP's PAW, not on TweakScale neither Physics Engine. :)

I did the following craft:
screenshot3

The launched it, and reconfigured the smaller RCS to do Forward Thrust and hit the Power Level:
screenshot1

And (not surprisingly) the craft didn't moved.

Then I did the same on the bigger RCS Block:
screenshot2

Case closed. :)

It's working. By installing the newest TweakScale, 2.4.5.9 at this time, things behave identically.

This rules out TweakScale. Now I need to reproduce the problem on KSP 1.12.2.

commented

KSP 1.12.2 behave identically with TweakScale 2.4.5.9.

Humm… Something is fishy here…

screenshot50

Yeah. Things are right, I was trolled by KSP. The PAW gives us RCS ISP. not RCS THRUST.

Case closed, Coffee is being made.

Doing support before taking the first coffee in the morning is not the wisest thing one can do on wake up. :D