Page 2 of 2

Re: Quick Questions Thread on Modding

Posted: Fri Nov 17, 2023 10:05 pm
by kronenblatt
I'm not even sure that it's a good idea at all or that it will look good, etc., but is it technically possible to reduce size of unit models to be more in line with terrain (trees, etc.)? If yes, how?

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 6:57 am
by rbodleyscott
kronenblatt wrote: Fri Nov 17, 2023 10:05 pm I'm not even sure that it's a good idea at all or that it will look good, etc., but is it technically possible to reduce size of unit models to be more in line with terrain (trees, etc.)? If yes, how?
Yes, by altering the values in the UnitScaling column in the Squads file.

Note that if you also increase the number of models in a unit in your main build, this WILL break MP. But you can do it in a proper mod, as long as both players are using exactly the same version of the mod to play the game..

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 7:27 am
by kronenblatt
rbodleyscott wrote: Sat Nov 18, 2023 6:57 am
kronenblatt wrote: Fri Nov 17, 2023 10:05 pm I'm not even sure that it's a good idea at all or that it will look good, etc., but is it technically possible to reduce size of unit models to be more in line with terrain (trees, etc.)? If yes, how?
Yes, by altering the values in the UnitScaling column in the Squads file.

Note that if you also increase the number of models in a unit in your main build, this WILL break MP. But you can do it in a proper mod, as long as both players are using exactly the same version of the mod to play the game..
Thanks.

Where and would the number of models in a unit be changed?

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 10:42 am
by Paul59
kronenblatt wrote: Sat Nov 18, 2023 7:27 am
rbodleyscott wrote: Sat Nov 18, 2023 6:57 am
kronenblatt wrote: Fri Nov 17, 2023 10:05 pm I'm not even sure that it's a good idea at all or that it will look good, etc., but is it technically possible to reduce size of unit models to be more in line with terrain (trees, etc.)? If yes, how?
Yes, by altering the values in the UnitScaling column in the Squads file.

Note that if you also increase the number of models in a unit in your main build, this WILL break MP. But you can do it in a proper mod, as long as both players are using exactly the same version of the mod to play the game..
Thanks.

Where and would the number of models in a unit be changed?
Column G in the Squads.csv file (it's labelled "ManCount"). BTW, the scaling of models is governed by column BI (UnitScaling).

However the limiting factor for your idea is that the maximum number of models in a unit is only 16. Also I think that the spacing between unit ranks cannot be decreased, so if you reduced the size of the units drastically, the ranks would look very spaced out.

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 12:38 pm
by kronenblatt
Paul59 wrote: Sat Nov 18, 2023 10:42 am
kronenblatt wrote: Sat Nov 18, 2023 7:27 am
rbodleyscott wrote: Sat Nov 18, 2023 6:57 am

Yes, by altering the values in the UnitScaling column in the Squads file.

Note that if you also increase the number of models in a unit in your main build, this WILL break MP. But you can do it in a proper mod, as long as both players are using exactly the same version of the mod to play the game..
Thanks.

Where and would the number of models in a unit be changed?
Column G in the Squads.csv file (it's labelled "ManCount"). BTW, the scaling of models is governed by column BI (UnitScaling).

However the limiting factor for your idea is that the maximum number of models in a unit is only 16. Also I think that the spacing between unit ranks cannot be decreased, so if you reduced the size of the units drastically, the ranks would look very spaced out.
Thanks, Paul. What does the number in the G column imply? The number of models in a row, in a column, or in total (row x column)?

Can I only increase it by a certain factor, e.g., by 2 from 4 to 8 or from 8 to 16, or can I select any number, up to the maximum of 16? (For example, 8 to 15.)

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 12:46 pm
by kronenblatt
rbodleyscott wrote: Sat Nov 18, 2023 6:57 am
kronenblatt wrote: Fri Nov 17, 2023 10:05 pm I'm not even sure that it's a good idea at all or that it will look good, etc., but is it technically possible to reduce size of unit models to be more in line with terrain (trees, etc.)? If yes, how?
Yes, by altering the values in the UnitScaling column in the Squads file.
I notice in the column that most units have a value of around 2500, but then some of around 1000 and then even of 0.

If I would like to halve the size of all units' sizes, how should I think in order to accomplish that?

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 2:41 pm
by kronenblatt
Short memory of mine... Asked about this years ago. :lol:

https://www.slitherine.com/forum/viewtopic.php?t=101881

Re: Quick Questions Thread on Modding

Posted: Sat Nov 18, 2023 5:07 pm
by Paul59
kronenblatt wrote: Sat Nov 18, 2023 2:41 pm Short memory of mine... Asked about this years ago. :lol:

https://www.slitherine.com/forum/viewtopic.php?t=101881

Oh yes! I forgot we discussed this back then. My reply of three years ago answers your questions!

cheers

Paul