Jump to content

Resize a part on different axes


Recommended Posts

So, I wanted to make a patch for Ven's Stock Revamp that made the linear RCS port not stick out as much, but I guess the scale system is different. When I loaded my patch, it complained about a "," in the config, which I used to define the axes. Does anybody know how to do this for 1.0?

Link to comment
Share on other sites

A patch or are you re-working the model and can you post your patch ?

EDIT- looking at the cfg there you see

MODEL {

model = VenStockRevamp/Squad/Parts/Command/CommandPods/InlineRCS

scale = 1.25, 1.07, 1.25

}

scale = 1

would try
@PART[linearRcs]:FINAL

{

@MODEL[VenStockRevamp/Squad/Parts/Command/CommandPods/InlineRCS]

{

@scale = 1.0, 0.5, 1.0

}

- - - Updated - - -

If you was going to rescale the whole thing you need some like

@PART[linearRcs]:FINAL

{

@scale = 1.25

%rescale = *

}

Edited by Mecripp2
Link to comment
Share on other sites

Right, the "scale" variable at the top level of the PART config only takes a single parameter. However "scale" defined inside a "MODEL { }" block takes three parameters, to scale each axis independently. Example:


MODEL
{
model = some/path/to/a/model
scale = 1.0, 1.0, 1.0
}
scale = 1.0

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...