Objects Scale factor.

GTA:V Modding with ZModeler3 discussion.
Post Reply
RickoS
Posts: 3
Joined: Wed Nov 27, 2024 9:12 am

Objects Scale factor.

Post by RickoS »

Hey there, I'm here to seek any help which could fix my issue with objects being messed up.

I've modeled a lot of things in Blender such as an Emergency Light which is what I'm testing now, I've done what you've told me to do last time when I had the issue with my old lightbar
Oleg Mon Jul 22, 2024: "You can use numeric input of scale factor (in percents) and toggle an option "all axes" if you know the exact scale factor. E.g. If your axes were 5.0 before, then you should scale to 500.0 % after dropping axes scale down to 1.0"
I've got a vehicle imported to Blender and I've scaled my emergency light to be correct on the model, when I've fianlly imported the object to Zmodeler I've go to Properties - Scale and I've set everything to 1.0, then I've put the numbers to 0.030 to scale it all down to the right scale, I've textured the light and all and I've put it onto vehicle model, after setting everything such as moving, more scaling and doing LOD to default & L0, I've gone inside the game and spawned the vehicle, and the whole emergency light along with all it's components is just scaled massively, Any solution will be appreciated.
Screenshot: https://imgur.com/a/J2aOqck

Steps I've tried:
1• Manually scaling with numbers by selecting the Scale tool and clicking on the object then input 40.000 - Made it even worse. Screenshot: https://imgur.com/a/EoBe5BI
2• Scaling and Moving the object in Vertex Mode instead - Back to first issue. Screenshot: https://imgur.com/a/J2aOqck [Same]
User avatar
Oleg
Site Admin
Posts: 14662
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Objects Scale factor.

Post by Oleg »

your object must have a 1.0 on all axes in Scale inside properties. You can't use any other scaling value to resize the object. Of cause, you can set any scale value in ZModeler and it will work in ZModeler or in Blender, but it will not work in game. The game does not perform extra scaling multiplication in shader code for performance reason, as this is the multiplication on every vertex/point of the model every single frame the game renders it. There are plenty of in-game optimizations that make some features not to work in game the way you expect them to.

Solution to your issue is to reset scale on an object to 1.0 (X, Y and Z). Then use Modify\Scale tool to resize the geometry back to correct size. Mind to toggle off "Scale axes" option and keep enabled "Scale Geometry" option.
RickoS
Posts: 3
Joined: Wed Nov 27, 2024 9:12 am

Re: Objects Scale factor.

Post by RickoS »

I'll give it a try tomorrow, so basically I have to get all the axes to 1.0 and not toggle on 'Scale axes' when scaling using scale tool?
I'll let you know how it goes once tested.
RickoS
Posts: 3
Joined: Wed Nov 27, 2024 9:12 am

Re: Objects Scale factor.

Post by RickoS »

Thanks buddy, this fixed my issue, absolute legend.
Post Reply