Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Ship scaling - everything

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> Ship scaling - everything Page: [1]
Login
Message << Older Topic   Newer Topic >>
Ship scaling - everything - 9/13/2019 9:05:41 AM   
Bleek


Posts: 264
Joined: 10/26/2011
From: United Kingdom
Status: offline
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?
Post #: 1
RE: Ship scaling - everything - 10/19/2019 7:11:48 AM   
rjord1

 

Posts: 1795
Joined: 6/14/2013
From: Sydney, Australia
Status: offline
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.




Attachment (1)

< Message edited by rjord1 -- 10/19/2019 7:31:54 AM >


_____________________________



(in reply to Bleek)
Post #: 2
RE: Ship scaling - everything - 10/24/2019 10:09:55 AM   
tofudog

 

Posts: 57
Joined: 12/18/2010
Status: offline
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).

< Message edited by tofudog -- 10/24/2019 1:58:32 PM >


_____________________________

WANT... MORE... MODDABILITY...

(in reply to rjord1)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds Series >> Design and Modding >> Ship scaling - everything Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.121