Is it possible to change the scale of some of these icons? Why are they of so much different size, anyway?
Object preview size
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Object preview size
You do not have the required permissions to view the files attached to this post.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Reg312
- Regular

- Posts: 681
- Joined: 25 Mar 2011, 18:36
Re: Object preview size
as far i understand that is not icons, it is just models downscaled
several C++ functions operates with model scaling in preview
and we have few hardcoded constants for different type of models
e.g. in c-code we know that structure models should be scaled with X modifier
structures also have parameters height, width..
if you change this params to other values preview-icons scalling might be changed
ah i can point to function which operates with these preview icons
> Why are they of so much different size, anyway?
hardcoded stuff, size in preview depends on
- height, width of structure
- type of model (turret, structure etc.)
several C++ functions operates with model scaling in preview
and we have few hardcoded constants for different type of models
e.g. in c-code we know that structure models should be scaled with X modifier
structures also have parameters height, width..
if you change this params to other values preview-icons scalling might be changed
ah i can point to function which operates with these preview icons
> Why are they of so much different size, anyway?
hardcoded stuff, size in preview depends on
- height, width of structure
- type of model (turret, structure etc.)
-
vexed
- Inactive

- Posts: 2538
- Joined: 27 Jul 2010, 02:07
Re: Object preview size
As was pointed out, we don't really calculate the size of the object in question.
One of these days, it will be fixed.
One of these days, it will be fixed.
/facepalm ...Grinch stole Warzone

contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.