Prevent a race from having capital ships

Distant Worlds is a vast, pausable real-time, 4X space strategy game which models a "living galaxy" with incredible options for replayability and customizability. Experience the full depth and detail of large turn-based strategy games, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game. Now greatly enhanced with the new Universe release, which includes all four previous releases as well as the new Universe expansion!

Moderators: Icemania, elliotg

Post Reply
User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

Prevent a race from having capital ships

Post by rjord2021 »

In my upcoming Star Wars mod I have 51 races with 80% of them not needing Capital Ships etc...... is there a quick way to change the config files so that I can flag a specific race not to build capital ships, frigates, etc?

Thanks for any help.
User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

Prevent a race from having capital ships

Post by rjord2021 »

I am thinking one way to slow things do is to reduce the intelligence level of the smaller races so research is slower....and when they do research have their tech focus being on medicine and recreation first before weapons,etc.

User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

Prevent a race from having capital ships

Post by rjord2021 »

Looking at the manual another option I could look at is reducing the aggression level of the smaller races which effects their level of military ship building.
BlindOne
Posts: 56
Joined: Sun Nov 19, 2017 4:47 pm

RE: Prevent a race from having capital ships

Post by BlindOne »

You need to change the policy setting for the race involved.

For example: This is for the boskara

MilitaryConstructionLevel ;1
ConstructionMilitaryCapitalShip ;7 <( This is the one you're looking for, setting this to 0 means there will be 0% capital ships in the fleet)
ConstructionMilitaryCarrier ;8 <( However you probably want to change this one too, carriers are considered capital ships too by most standards)
ConstructionMilitaryCruiser ;15
ConstructionMilitaryDestroyer ;20
ConstructionMilitaryEscort ;18
ConstructionMilitaryFrigate ;24
ConstructionMilitaryTroopTransport ;8

If you add up 7 + 8 + 15 + 20 + 18 +24 + 8 = 100%

You probably should have posted this question in the design and modding sub forum...just saying...since you even have a mod going there...haha

You probably want something like this

ConstructionMilitaryCapitalShip ;0
ConstructionMilitaryCarrier ;0
ConstructionMilitaryCruiser ;0
ConstructionMilitaryDestroyer ;0
ConstructionMilitaryEscort ;95
ConstructionMilitaryFrigate ;0
ConstructionMilitaryTroopTransport ;5

This will give you 95% escorts, and 5% troop transports. So that's the lowest class ships and nothing heavier except for the odd troop transport...or just disable those too and give it 100% escorts haha
User avatar
rjord2021
Posts: 2019
Joined: Fri Jun 14, 2013 2:47 am
Location: Sydney, Australia

RE: Prevent a race from having capital ships

Post by rjord2021 »

BlindOne

Thanks for that....... that looks like that should do the trick nicely.
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Prevent a race from having capital ships

Post by RogerBacon »

Just remember that "capital ships", "Escorts", etc only refer to their role, not their size. The AI empires will still build as big as they can.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
BlindOne
Posts: 56
Joined: Sun Nov 19, 2017 4:47 pm

RE: Prevent a race from having capital ships

Post by BlindOne »

ORIGINAL: RogerBacon

Just remember that "capital ships", "Escorts", etc only refer to their role, not their size. The AI empires will still build as big as they can.

True dat, it's dependent on the designtemplates for each race if I am not mistaken. However I am pretty sure the standard designs have less components assigned to them based on the role they are designed for.

I just checked the boskara Escort vs Frigate and the difference is about half the assigned weapons and armor components. So in theory, the escort should be about 50% the size of the frigate, I'm sure it is closer to 60-70% because of the use of other standard components such as support/engines.
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Prevent a race from having capital ships

Post by RogerBacon »

ORIGINAL: BlindOne


True dat, it's dependent on the designtemplates for each race if I am not mistaken.

That's correct. And remember, with the Bacon mod you can change the templates for any race mid-game and then with a single command "!loadshiptemplates" the AI will start using the new ones.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
BlindOne
Posts: 56
Joined: Sun Nov 19, 2017 4:47 pm

RE: Prevent a race from having capital ships

Post by BlindOne »

ORIGINAL: RogerBacon

ORIGINAL: BlindOne


True dat, it's dependent on the designtemplates for each race if I am not mistaken.

That's correct. And remember, with the Bacon mod you can change the templates for any race mid-game and then with a single command "!loadshiptemplates" the AI will start using the new ones.

lmao, are you promoting your own mod? All that's missing is the ''Now available for just $9,95, limited time offer! And if you buy now, you get two bacon strips for free!''

To be fair your work is pretty amazing[&o]
Bingeling
Posts: 5186
Joined: Thu Aug 12, 2010 11:42 am

RE: Prevent a race from having capital ships

Post by Bingeling »

ORIGINAL: rjord1
Thanks for that....... that looks like that should do the trick nicely.
And if all else fails, you should be able to make all the design templates the same/small.

I do not think you can prevent the player from making massive ships, anyways.
RogerBacon
Posts: 724
Joined: Wed May 17, 2000 8:00 am
Location: Miami, Florida, U.S.A.

RE: Prevent a race from having capital ships

Post by RogerBacon »

ORIGINAL: BlindOne
lmao, are you promoting your own mod? All that's missing is the ''Now available for just $9,95, limited time offer! And if you buy now, you get two bacon strips for free!''

To be fair your work is pretty amazing[&o]

Opps. I lost track of which forum I was it. I didn't realize he was asking for the purpose of his mod. I thought it was a general user question. Hope I didn't step on anyone's toes.
BTC 14UURmC4rD762RStsufKmaUjfXQrBvahU1
ETH 0x7c65139BC82A0BDC5b11F92001D5c5a112219f08
Post Reply

Return to “Distant Worlds 1 Series”