Blockland Forums > Modification Help
[Solved]Scaling static objects in JVS[Sort of]
(1/2) > >>
Kiwi:
I tried to make some Props Items work in JVS.
You know Props is old and buggy, unusable.
So far, I managed to make the object show up.
But the object is too small.
Originally the object is scaled 7 times bigger in the Props system.
How can I scale a StaticShape using the JVS system?
Kiwi:
Bump.

I just can't figure out how to scale Static Shapes.
Please provide assistance.
Daenth:

--- Code: --- datablock fxDtsBrickData(MugBrickData)
{
category="Props";
subCategory="Home";
uiName="Mug";
iconName = "add-ons/props_household/brickicons/Mug";

brickSizeX=1;
brickSizeY=1;
brickSizeZ=2;

//Is a prop!
isProp=1;

//Brick
brickRender=0;
brickCollide=1;
brickRaycast=1;

//Model
spawnModel=MugShape;
modelOffset="0 0 0";
modelScale="1.7 1.7 1.7";

colorCount=1;

colorGroup[0]="ALL";
colorMode[0]="Intensity";
colorShift[0]="1 1 1 1";
};

--- End code ---
"modelScale = "X Y Z";
I believe.
Kiwi:
Thanks for trying to help but this is irrelevant.
"modelScale" is just a variable in System_PropSys.
But I am using JVS and apparently JVS has no function for scaling objects.
All door models jet released for JVS are appearantly the right size, making scaling unneccessary for them.
But the models I use are originally Prop models without the right size who where rescaled to fit into Blockland.
I would have two options:
1. Making the models the right size.
2. Rescaling the models.

I don't have the raw model files but only .DTS models. 1 is not possible.
I don't have the knowledge how to properly rescale the model in JVS. 2 is not possible, yet
Daenth:

--- Quote from: Kiwi on August 08, 2011, 11:39:26 PM ---Thanks for trying to help but this is irrelevant.
"modelScale" is just a variable in System_PropSys.
But I am using JVS and apparently JVS has no function for scaling objects.
All door models jet released for JVS are appearantly the right size, making scaling unneccessary for them.
But the models I use are originally Prop models without the right size who where rescaled to fit into Blockland.
I would have two options:
1. Making the models the right size.
2. Rescaling the models.

I don't have the raw model files but only .DTS models. 1 is not possible.
I don't have the knowledge how to properly rescale the model in JVS. 2 is not possible, yet

--- End quote ---
Well, take the code from the PropSys that resizes and add it to your content code.
Navigation
Message Index
Next page

Go to full version