Ship scaling - everything (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding



Message


Bleek -> Ship scaling - everything (9/13/2019 9:05:41 AM)

Hi guys,

Is there a way to set ship scaling for ALL ships in the game?

For example, I like to set ship sizes and classes as follows:

Escorts are typically 0.6x
Destroyers 0.8x
Light Cruiser 0.9x
Heavy Cruiser 1x
Battleship and carrier 1.2X

However, that's just for my race.

I know I can go through EVERY 2,500+ design template in my version but, erm... that would be crazy.

So yes, does anyone know of a way to set these sizes universally for the game?




rjord1 -> RE: Ship scaling - everything (10/19/2019 7:11:48 AM)

quote:

ORIGINAL: Bleek

Hi guys,

Is there a way to set ship scaling for ALL ships in the game?

For example, I like to set ship sizes and classes as follows:

Escorts are typically 0.6x
Destroyers 0.8x
Light Cruiser 0.9x
Heavy Cruiser 1x
Battleship and carrier 1.2X

However, that's just for my race.

I know I can go through EVERY 2,500+ design template in my version but, erm... that would be crazy.

So yes, does anyone know of a way to set these sizes universally for the game?


If 80% of your races have ships with the same design scaling.....eg
Escorts are typically 0.6x
Destroyers 0.8x
Light Cruiser 0.9x
Heavy Cruiser 1x
Battleship and carrier 1.2X

Then you copy the contents within the folder with the same design template into the designtemplate folder of each of the races with the same scaling. Will take less than 30 minutes. Then work on the scaling individually for races with unique scaling.

With your question I think you want to give every escort no matter what race the same scaling 0.6x.... if this is the case change the scaling for one race and then copy all files in that folder to the designtemplates folder of each race.

If each race has different scaling then I would suggest you do what I do with my mods where I put the text into an excel spreadsheet file and then create the txt file from the excel spreadsheet. In my Star Trek mod I have 112 races and the config files are created via excel spreadsheet.

For bias between races and families I have excel randomly generate new bias values every time I open the spreadsheet for all 112 races and then export into the config files. This takes less than a minute to do. I can create new bias files before I start a new game which gives me a different game each time as one game the Vulcans may like the Romulans and then the next game they despise them..... then next game they barely tolerate them ..... and so on.

Below is a screenshot showing how I create racebias with an Excel spreadsheet. Each bias value is calculated using a randbetween formula between -50 and +50.... Between the Rebel Alliance and Empire the randbetween is between -25 and -50 so there are never a positive bias generated.

Hopefully this helps answer your question. Remember... backup your mod before trying this.

[image]local://upfiles/44980/9BD677A6EDC843A8B1146CC50E73D30B.jpg[/image]




tofudog -> RE: Ship scaling - everything (10/24/2019 10:09:55 AM)

Hello rjord1,

with the method you proposed (copy-paste designtemplate files), won't I end up with everybody using the same designs (technology permitting)?

Before I dive into the aforementioned 2500 files myself - are those really any different to begin with?

Edit:

Now I am not that savvy with file manipulation myself, but shouldn't there be a possibility of doing something via bat-file?

Something like:

do in folder designtemplates
all files
appendline 'ImageScaling; Scaled 0.5'

I am pretty sure I got the syntax all wrong, but I would very much appreciate if somebody could point me to a place to find out how to do that (or supply me with a working ?.bat if you feel like supporting me being lazy).

Edit2:

After further research I found this tool:
https://www.matrixgames.com/forums/tm.asp?m=4030377

It is a bit janky to use, but it does include a batch function that pretty much does what I was looking for.
Just be careful not to order changes to nonexistent files (like designtemplates for the mobile units of Warhammer 40K mod).




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.734375E-02