[MECHANICS][Question for Developer]How much damage can fighters take beyond shields?

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

Moderators: Icemania, elliotg

Post Reply
soulcatcher357
Posts: 35
Joined: Sun Jun 28, 2015 10:06 am

[MECHANICS][Question for Developer]How much damage can fighters take beyond shields?

Post by soulcatcher357 »

Searched all over for this, but cannot find how much damage a fighter can take after its shields go down. Is it based on Tech level and fighter type?
RiftHick
Posts: 54
Joined: Mon Feb 23, 2015 5:24 pm

RE: How much damage can fighters take beyond shields?

Post by RiftHick »

If you mouse over the research project (completed or not) in the research window for the various fighter projects will tell you the stats for that the project does. They have their own statistics and basically all of their statistics gets improved fairly efficiently. So say you have a project that improves fighter interceptors, most if not all of their listed statistics will get improved by various amounts.
soulcatcher357
Posts: 35
Joined: Sun Jun 28, 2015 10:06 am

RE: How much damage can fighters take beyond shields?

Post by soulcatcher357 »

OK I already got that. The problem is their is NO field in Fighter.txt that corresponds to "DAMAGE POINTS TO KILL (DPTK or Hit Points)" yet there is a "Damage Repair Rate" of wither 0 or 1 for most fighters.

I created a mod to change fighter values to be about 3-5 more damaging, and need to know how much damage fighters can currently take and see if I need to change something.

Additionally the research.txt indicates only that new fighter types can be researched. None of the other research projects seem to affect fighters.

Are Hit Points are hard-coded based on the tech level?

Of the following Projects which ones affect the Hit Points of fighters: Constructions, Weapons, Engines, Reactors, Countermeasures, Targeting Computers, Armor, Fighter based on the tech level achieved?

What is the formula?
What do I need to change to adjust hit points of fighters?
Aeson
Posts: 786
Joined: Fri Aug 30, 2013 7:36 pm

RE: How much damage can fighters take beyond shields?

Post by Aeson »

What is the formula?
What do I need to change to adjust hit points of fighters?
I don't think there is a formula, and I don't think that you can change fighter HP. Checking in game, tactical Interceptors have 100 HP, and so do the ultimate missile bombers, so I'm inclined to think that all fighters have 100 HP. Also, if you're going to play around with the fighter repair rates, remember that the note in fighters.txt indicates that the repair rate listed in the file is a multiple of 10% of the fighter's HP.

If you really want to play around with fighter survivability, I'd suggest messing around with the shield values, and perhaps the countermeasures value.
soulcatcher357
Posts: 35
Joined: Sun Jun 28, 2015 10:06 am

RE: How much damage can fighters take beyond shields?

Post by soulcatcher357 »

Yeah I saw that 100 as well which I think means 100%. I observed some fighters in combat to see how they take damage. but they are pretty overpowered and I didn't even see them get damaged. I am going to compare different versions and see how they take damage, but it would be nice to know how this is calculated.
Post Reply

Return to “Design and Modding”