Question to moders

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: elliotg, Icemania

Post Reply
Alu69
Posts: 4
Joined: Sat Feb 01, 2014 8:42 am

Question to moders

Post by Alu69 »

o/ ppl.
I wona do lil mod for my self.
Goal - shift game objects (ships\stations) numbers from macro to micro.
For this i scaled number of resources needed to build every ship components(just added one 0)
But now amount of money needed to start construction scaled as well...to some crazy numbers for even moust basic designs.

So pls can someone give formula or explain, how resource number in component = build price.
And how do i change that, if it pos at all.

P.S. I gone tru all moding manual but not found solution.
resources - Base price didnt do the trick
ParagonExile
Posts: 210
Joined: Mon Jun 09, 2014 12:56 pm

RE: Question to moders

Post by ParagonExile »

You can change the base value of resources by editing the "Resources.txt" file. This base value is then altered further by how common/scarce said resource is in your civilization, and by how much you need.

Say I have resource X and need Y amount for component Z;

Cost(X) x Y = Cost(Z)

Most ships use hundreds of resources or more, and if you deciuple(?) the amount you need, costs for your components, and by extension ships, will skyrocket as well. I'd suggest dividing current costs for resources by 10.
Alu69
Posts: 4
Joined: Sat Feb 01, 2014 8:42 am

RE: Question to moders

Post by Alu69 »

huh...ty but as i mentioned i allready tried tweak Resources.txt - Base price....
original value is 5.0 and at all resource cost for components +0(maxon blaster for exmaple 1, 20, 4, 40, 14, 30, instead of 1, 2, 4, 4, 14, 3,) moust basic ship station cost like ~9000$
So i change Base value from 5.0 to 2.0 - no change in cost, to 1.0 - no change, to 0.5 - no change.

You sure Base value is what control this?
ParagonExile
Posts: 210
Joined: Mon Jun 09, 2014 12:56 pm

RE: Question to moders

Post by ParagonExile »

ORIGINAL: Alu69

huh...ty but as i mentioned i allready tried tweak Resources.txt - Base price....
original value is 5.0 and at all resource cost for components +0(maxon blaster for exmaple 1, 20, 4, 40, 14, 30, instead of 1, 2, 4, 4, 14, 3,) moust basic ship station cost like ~9000$
So i change Base value from 5.0 to 2.0 - no change in cost, to 1.0 - no change, to 0.5 - no change.

You sure Base value is what control this?

Did you test my suggestion in a game you started previously?

For changes to Resources.txt to take effect, you need to restart the game and start a new galaxy.

I personally changed the resources considerably with this file, so I know from experience that it works.
Alu69
Posts: 4
Joined: Sat Feb 01, 2014 8:42 am

RE: Question to moders

Post by Alu69 »

Yeah new game worked....i was using saved game for tests >_>....got use to that saved game not "self-sustained system" from other games...
Ty anyhow....now i can finaly play as i want.
ParagonExile
Posts: 210
Joined: Mon Jun 09, 2014 12:56 pm

RE: Question to moders

Post by ParagonExile »

:D
Post Reply

Return to “Design and Modding”