Jump to content

.cfg changes for Parts to be scalable using Tweakscale?


Recommended Posts

i have been using a mod called "NeistAir", and i would really like to know how i can make the cabins of this mod scalable, as i want to build a scale-accurate Boeing 707.

what changes do i need to make in the parts cfg?

Link to comment
Share on other sites

i found it out myself.

MODULE
{
    name = TweakScale
    defaultScale = 1.875
    type = stack
}

with defaultScale being normal diameter

scaling with percents is 

MODULE
{
    name = TweakScale
    type = free
}

 

Link to comment
Share on other sites

  • 1 year later...
On 6/2/2022 at 3:47 PM, kerbmario said:

i found it out myself.

MODULE
{
    name = TweakScale
    defaultScale = 1.875
    type = stack
}

with defaultScale being normal diameter

scaling with percents is 

MODULE
{
    name = TweakScale
    type = free
}

 

That most likely won't work as TweakScale configs aren't worded with the "name = xxxx"

If that part is a stackable part, use this as an example

 

Spoiler

@PART[xxYOURxPARTxNAMExHERE]:NEEDS[TweakScale]
{
     %MODULE[TweakScale]
    {
        type = stack
        defaultScale = 100
        scaleFactors   = 10, 15, 25, 40, 50, 75, 85, 100, 125, 150, 200
    }
}

Trying to type this on my phone plz excuse any formatting errors.

 

The default scale 100 means 100% a.k.a. the parts normal original size,  the numbers above 100 are basically the scales in percentages, see as below 100. This is the way to go if you want % scaling and not diameter scaling as you mentioned.

 

If you need help or questions just let me know If you can't figure it out just let me know the mod and part and I'll make one for you and send it to you

Link to comment
Share on other sites

1 hour ago, Astra Infinitum said:

That most likely won't work as TweakScale configs aren't worded with the "name = xxxx"

If that part is a stackable part, use this as an example

 

  Hide contents

@PART[xxYOURxPARTxNAMExHERE]:NEEDS[TweakScale]
{
     %MODULE[TweakScale]
    {
        type = stack
        defaultScale = 100
        scaleFactors   = 10, 15, 25, 40, 50, 75, 85, 100, 125, 150, 200
    }
}

Trying to type this on my phone plz excuse any formatting errors.

 

The default scale 100 means 100% a.k.a. the parts normal original size,  the numbers above 100 are basically the scales in percentages, see as below 100. This is the way to go if you want % scaling and not diameter scaling as you mentioned.

 

If you need help or questions just let me know If you can't figure it out just let me know the mod and part and I'll make one for you and send it to you

The mod's NeistAir ReUpdated (I maintain it), some configs for Tweakscale dont work could you look into it?

Link to comment
Share on other sites

7 hours ago, Astra Infinitum said:

That most likely won't work as TweakScale configs aren't worded with the "name = xxxx"

It will work, but I would not recommend doing this way as you would be hardcoding TweakScale into your parts, annoying people that don't want to use it.

 

7 hours ago, Astra Infinitum said:

That most likely won't work as TweakScale configs aren't worded with the "name = xxxx"

If that part is a stackable part, use this as an example

 

  Hide contents

@PART[xxYOURxPARTxNAMExHERE]:NEEDS[TweakScale]
{
     %MODULE[TweakScale]
    {
        type = stack
        defaultScale = 100
        scaleFactors   = 10, 15, 25, 40, 50, 75, 85, 100, 125, 150, 200
    }
}

I would not recommend this solution neither, unless you are not keen on mixing your parts with Stock ones.

TweakScale Support is meant to cope with the Stocks (and some common used by 3rd parties) BulkeHead Profiles. So it's way easier to cope with Stock and most Add'Ons out there if you stick with the scaleFactoers TweakScale gives to you.

If you really wants to go Percentage way, just use free and call it a day. There's no point on giving to the user Scale Factors that don't match any other part of the game, forcing the user to just turn "Automatic Scaling" on Editor and hoping for the best.

 

6 hours ago, kerbmario said:

The mod's NeistAir ReUpdated (I maintain it), some configs for Tweakscale dont work could you look into it?

There's already https://github.com/TweakScale/Companion_NAP supporting NeistAir, and since this thing is part of the TweakScale Companion Program, anyone installing it already have such support.

It's available on SpaceDock and CKAN under the TweakScale Companion Program: https://spacedock.info/mod/3202/TweakScale Companion (the "UberPaket")

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...