sarbian / CustomBarnKit

11 stars 7 forks source link

Request: separate settings for VAB/SPH, and Pad/Runway #1

Closed NathanKell closed 9 years ago

NathanKell commented 9 years ago

as it says on the tin.

NathanKell commented 9 years ago

I should clarify: costs are per building, but the AG unlock, mass limits, size limits, and part limits are universal.

sarbian commented 9 years ago

The stock code does not allow to separate those :(

NathanKell commented 9 years ago

Can you not detect what scene (or if launching from space center, GUI window) is open/active?

sarbian commented 9 years ago

I had a look when you first asked and the space center screen is the main problem. I'll see how I can detect which screen is opened when the call is made. The vessel size test (and most other I guess) is called in 5 places. 2 are in the editor (launch and engineer reports) and 2 in the space center (building upgrade window and launch) and a an other I am not sure of.

sarbian commented 9 years ago

To add to that : I'll see if I can make it work but I am not keen on doing work dependent on UI elements that will be gone in the next version. We should petition Squad to have those call include a building type or have a different call for each.

NathanKell commented 9 years ago

That makes perfect sense. Put something on the Corner tracker?