Author Topic: [TFTD][Weapons and armaments] TFTD Rework: Evolution 1.14  (Read 15527 times)

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
[TFTD][Weapons and armaments] TFTD Rework: Evolution 1.14
« on: October 16, 2020, 10:14:12 pm »
Hello fellow players.
I adored the TFTD Rework mod. It really adds a lot of sense and challenge into the game. Unfortunately, it stopped working with latest OpenXcom engine. So I took a liberty to fix it and also modify it slightly to my preferences while I can. I am still in the playtesting and some parameters would need to be adjusted. Especially interception combat. However, I think I'll start posting it here for everybody to enjoy.

I've called it "Evolution" to highlight evolutionary development of better and better weapons and to further advance in the game with their help. I.e. better craft armaments allow fight stronger enemy, receive less interceptor damage which equates to less repair time, better responsiveness, ability to knock down more USOs as game progresses and their appearance frequency increases, etc.

Here is the copy of the README.txt from inside of the archive. There are just few changes mostly related to Gauss weapon (both hand and craft) balance.


TFTD Rework: Evolution by Alpha Centauri Bear
=====================================================

Based on TFTD Rework by R Kallisti (aka Orz, Illamasqua)
https://openxcom.org/forum/index.php/topic,4265.0.html


Changes
=====================================================


Fixes
-----------------------------------------------------

Recent OpenXcom engine changes rendered TFTD Rework mod unworkable. I have fixed all negative indexes references to make it work.

I have also removed add-on folders out of the mod directory. The sub mod directories are not supported by OpenXcom.
The "TFTD Rework: AlienSubs" add-on is converted to separate mod that can be applied independently.
Other add-ons were just removed. They are not that big and can be taken and used by themselves.

Completely rewrote research tree to make it work for OpenXcom Extended as well as well as few other files. Now it can be launched in OXCE. Still need testing, though.


General mod ideas
-----------------------------------------------------

Make *all* weapons (both hand and craft) usable at least in their respective time. Gauss weapons should not be skipped. They are valuable assets. Partially this is already implemented in TFTD Rework mod by making Sonic weapon research dependent on many preliminary steps thus effectivelly delaying their appearance. This mod continues balancing them so that each one has its merits.


Hand weapons (Gauss and Sonic series)
-----------------------------------------------------

Gauss and Sonic weapon series power ranges are overlapping so that Heavy Gauss is stronger than Sonic Pistol and about same as Sonic Rifle. This lets player fighting Lobstermen and Tashots with Heavy Gauss should they popup before Sonic Cannon get discovered.

Gauss hand weapons have auto shot due previous experience in automatic weapon design. That makes them more appealing to research and use especially in early game to fight weaker armored races. Also gives a good combat verstility in early game terror mission when time is of the essence.

Gauss hand weapons are slightly faster on auto/snap shots. Conventional technology specially adapted them to human anatomy versus weird not-intuitive alien devices.

Sonic weapons are lighter. This is how it was in vanilla. I guess resonance chamber versus conventional weaponry metal work.

Sonic weapons are more accurate. This is how it was in vanilla. Probably to give aliens accuracy advantage.

Gauss weapons by level (pistol->rifle->heavy) get progressively slower and progressively more accurate making Heavy Gauss the most accurate weapon in the series. I felt sorry for it in vanilla. Why it is the one and only gun unfairly deprived in accuracy while UFOpaedia describes it as an ultimate devastating weapon with the scope attached to it?! It is supposed to be more powerful and more accurate as more advanced technological step. Being heavy and slow is enough penalty for it.

Due to Gauss weapons being faster in general Gauss Pistol is the fastest one among all hand weapons allowing 5 snap shots or 3 auto shots. The only other equally fast weapon is Dart Gun but, obviously, Gauss Pistol is twice as more powerful and more accurate.

Gauss hand weapon series have specializations in accuracy/range. Unlike Sonic hand weapon series, different shot type accuracies progress at different speed in Gauss family. Auto accuracy does not grow at all. Whereas, aimed grows very fast. That makes Gauss Pistol the most effective close range automatic weapon in the game. While Heavy Gauss truly shines as an ultimate long ranged sniper weapon. Gauss Rifle, as usual, stays as a versatile balanced weapon averagely good at all shot types.

Gauss hand weapon series powers are spreaded a little to differentiate them more: 40-70-100. Gauss Pistol is slightly less powerful than in vanilla and Heavy Gauss is seriosly more powerful. That is much better progression than in vanilla where Heavy Gauss is not even twice more powerful than Gauss Pistol.

Sonic hand weapon series powers are spreaded more evenly: 70-100-130 to level out this super high jump in Sonic Cannon power.

Sonic hand weapon series accuracies are slightly reduced to cap at 100%. As Orz already pointed out there should be some randomization in combat. It is too boring when every shot hits. They are still more accurate than corresponding Gauss ones except Sonic Cannon and Heavy Gauss both having 100% accuracy.


SWSs
-----------------------------------------------------

Coelacanth/Gauss ammo power is reduced to 90. It shouldn't be as powerful as Displacer/Sonic ammo.

Displacer/Sonic precision is reduced slightly. Same consideration for more combat randomization.


USOs
-----------------------------------------------------

All USOs attack range is 60. Now interceptors receive some damage from each attack. Could be pretty small from tiny USOs but still something to take into account when planning an intercept. Vanilla DUP shooting most USOs with impunity is boring. Now interceptor damage depends on target USO size as well as craft armament range and firepower! All these parameters become quite important and every single improvement matters. What is more interesting is that now it is better to attack *any* USO in group to minimize interceptors damage! Much more challenging and tactical this way.

Survey Ship gets minimal weapon power.

USOs damage capacity are about doubled and their weapon power is about halved with some adjustments here and there. That doesn't change their overall threatening but prolonged combat and made initial approaching less devastating to interceptors. Crafts with projectile armaments now able to close up and unleash their power. Number of misslie loads were increased proportionally to compensate for higher enemy damage capacity.

X-Com craft armament
-----------------------------------------------------

There are two armament classes: projectiles and missiles. The important idea implemented in this mod is that missiles have higher range but slightly lower firepower and limited payload. Whereas, projectiles have lower range but slightly higher firepower and unlimited payload. Even single Gas Cannon equipped craft is capable to down a Dreadnought provided it survives long enough.

At the same time, more advanced weaponry generally has higher firepower and payload within its class. That stays unchanged from vanilla. I just adjusted them to highlight their benefits and made each technology advancement useful. Gauss Cannon is now much better than DUP in some cases.

Longer ranged armaments are safer for interceptors as they have shorter closing time, obviously.

Limited missiles payload also requires more missile armed interceptor attacks to sink larged USOs *on average* just because their damage capacity. Actual results may vary due to random fluctuation in impact damage.

Limited missile payload is compensated in higher relative interceptor safety due to shorter attack duration. That allows missile carrying interceptors to attack USO in waves by smaller groups (or even one by one). Whereas close range projectile armed interceptors need to attack in as large group as possible to split exposure damage between them while approaching USO. However, they may require lower number of total interceptors engaged in single USO attack as their payload is enormous and then won't run out of ammo.

Sonic Oscillator range is reduced to 30. This puts it in range with other projectile armaments. It is already insanely powerful so doesn't need to exceed missile range.

Fire rates were adjusted to progressively increase relative armament firepower within classes.
Craft Gas Cannon -> Gauss Cannon -> Sonic Oscillator
AJAX -> D.U.P. Head -> P.W.T. Cannon


Facilities
-----------------------------------------------------

General Stores capacity is increased to 100. It is seriously annoying me every game to not being able to buy a little bit more of equipment in first base right away.

Base defenses strength and cost are proportionally increased to let them occupy less base space but keep about the same cost per defense value. Buidling 20 Torpedo Defenses to destroy Dreadnought is laghable. Now they have more concentrated firepower resulting in less total number of facilities.
Here are probabilities for each defenses to stop a Dreadnought with given number of facilities. One needs just a half of given numbers with Bombardment shield, obviously.
Torpedo Defenses:   2=25%, 3=50%, 4=70%, 5=80%, 6=90%, 7=94%, 8=96%
Gauss Defenses:      2=35%, 3=65%, 4=80%, 5=90%, 6=96%
Sonic Defenses:      2=50%, 3=80%, 4=90%, 5=97%
PWT   Defenses:      2=65%, 3=90%, 4=97%

Base defenses relative strength and cost/maintenance are adjusted to make smoother progression. More advanced defenses cost more but are more compact. Total cost/maintenance grows about 25% per each defense level. That is a trade-off for more compact defense.


Unit stats and armours
-----------------------------------------------------

TFTD Rework set Tashoth health to 90. I think it is a mistake. Reset it to about vanilla values.

Reduced Deep One armor and health slightly. I understand Orz wanted some more challenge with them. However, they appear at first terror mission at the end of January and players absolutely rookie weaklings should fight them with conventional weapons or gauss pistols at best. I'd say it is too much of a challenge.

Lobsterman and Tasoth armors are now equal on all sides. Player tends to face opponents to use stronger frontal armor. Whereas AI units just wander around aimlessly turning all their sides to the player to shoot at. No much use in armor variety for them. I should do the same for all other creatures but I am lazy to go through whole list. Maybe I will later.

Reduced Coelacanth/Harpoon and Coelacanth/Gauss armor a little. Otherwise, it is impenetrable for Sonic Pistols. It's not that they should be invulnerable, only tough.

Reduced Ion and Mag-Ion armour values a little. It is overprotective in vanilla.
Swapped Ion and Mag-Ion armour side and rear values. I never could understand this "brilliant" innovation in TFTD. Correcting it now, when I can.

Evened out the difference between front-side-rear protection values on all armours. It is quite often random choice between hitting front and side armor plates (same for side and rear ones). The protection value should be distributed as evenly as possible to avoid sudden random variation in combat outcome.

Increased soldiers' initial health to 30-50 and health cap to 80. This is in conjunction with their armor value decrease to make them wounded instead of instantly dying more often.


Research
-----------------------------------------------------

Gauss Technology research cost is reduced to 10. So 10 initial scientists can research it in a day. I don't really understand the idea of having this preliminary tech that gives nothing but just leads to Gauss Pistol research. Should probably remove it altogether but was lazy.

Gauss Pistol research cost is reduced to 50. This is the first and weakest manufactured weapon. Need to shorten the research to load technicians with something right away.

Gauss Rifle and Heavy Gauss research costs are reverted to their vanilla values. TFTD Rework added some extra cost on top. I don't think this is really needed. Their costs are adequate to very beginning of the game when player don't have too many scientists.

Sonic hand weapon research costs are progressively increased. Vanilla Sonic Cannon research cost was about the same as Sonic Pistol. Now it it is twice bigger.


Strategy tips
=====================================================


Hand weapons
-----------------------------------------------------

Gauss pistols can be researched and manufactured right away. Player can equip team with them in a middle of January in preparation for first terror attack. A definite close combat replacement for Jet Harpoon as it surpasses it in both power and speed. Its single shot is still nominaly weaker than Gas Cannon AP one but it 2.5 times surpasses it in close range combat with its auto shots. Besides, some weaklings cannot even carry heavy Gas Cannons. So I usually immediately reequip team with Gauss Pistols complementing them with larger arsenal of explosives. The shooting speed and ability to carry primed explosive in off hand during teror missions are invaluable.

Gauss rifle is as good and versatile weapon as it was in vanilla. No changes there. It usually makes sense to switch all soldiers to it except absolute weaklings.

Heavy gauss is an ultimate precise weapon. It should shine at a single turn aimed shot. Pretty slow and heavy, though. Only very strong soldier are capable to carry and shoot it.

It makes sense to keep supply of all three Gauss hand weapon levels with the team to adapt for soldier strength and accuracy.

All gauss weapons also have auto shot capability with the same exactly accuracy for all weapon levels in the series. Yet it largely irrelevant as auto shot is used at close range anyway. Heavy gauss has the most automatic shot firepower despite appalling precision and potentially can kill Lobsterman and Tasoth in two bursts provided all shots connect. Heavy gauss auto shot is time consuming, though. So melee weapon can be better option for approach and hit tactics.

Sonic hand weapons are generally better and more convenient (one can just pick up more weapons and clips from killed aliens). They could replace Gauss weapons gradually - level by level: pistols then rifles then heavies. It is still may be useful to carry Heavy Gauss unit Sonic Cannon is discovered. Later on their auto shot loses the value with stronger armor and melee weapon development.


Craft armaments and interceptor combat
-----------------------------------------------------

USOs are progressively tougher but their firepower is reduced a little so no single shot destroys Barracuda outright.

All projectile armament has much higher firepower than missiles. When they get in range they start destroying enemy submarine pretty quickly provided they survive the approach.
Missile long ranged armament are relatively safer for interceptors themselves but may require more attack waves due to limited payload.

All USOs get progressively more dangerous except Large ones. Battleship has lower damage capacity but higher firepower. Fleet Supply Cruiser is the exact opposite. Therefore, missiles are safer against Battleship but projectiles are much cheaper and effective against Fleet Supply Cruiser.

New TFTD Rework Predator USO is formally a "large" size but takes place in between medium and large USOs being a weakest large alien sub.

Gas Cannon is the cheapest solution out there allowing to save money in exchange for longer interceptor repair intervals. Best in very early game.
AJAX is slightly better in effectiveness but pricier too. A good transition in early game when USO start appearing more often.
DUP is the safest conventional armament but quite expensive. Affordable only when player economically established themselves.
Gauss Cannon is somewhat better than any conventional weaponry and first advanced armament allowing to sink Battleship and Dreadnought with four interceptors attack.
Sonic Oscillator is further advancement in effectiveness. Its full load costs three times more than Gauss Cannon one. So may be interchanged with Gauss Cannon depending on economy state.
P.W.T. Cannon is the safest of them all as usual. Allows to take down strongest USOs with relative impunity. It does require Zrbite to produce, though. So may be used sparringly even in later game.


« Last Edit: December 04, 2022, 05:32:44 am by Alpha Centauri Bear »

Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #1 on: October 17, 2020, 02:12:23 am »
I admit that not everything interests me!
But the "Aliens Sub" part interests me a lot!
Thank you and bravo for your work!  :)

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #2 on: October 18, 2020, 04:50:04 am »
Some play testing of intercept combat revealed the following.

I have measured how fast interceptor approaches UFO/USO and get 0.25 km per game second. That is exactly twice slower that in this article. I have also cross checked my interceptor damage calculation with experimental results and found them close matching my number. So, I conclude the speed in wiki article is incorrect.
https://www.ufopaedia.org/index.php/Craft_Combat_Mechanics#Closing_Range

With the above in mind it seems that weapon range is very important parameter for projectile armaments as it defines how long interceptor need to survive before it can start shooting. The combat takes much less time than closing due to quite high projectile armament firepower's. That makes firepower less important then range even when all enemy USOs now shoot from 60 km. So I decided to beef up enemy damage capacity even more and proportionally decrease their power. That would keep them equally dangerous and difficult to shoot but it would tilt air combat resolution toward actual mutual shooting rather than sacrificing interceptors one by one on a way to the enemy.

Sonic hand weapons appear quite late in TFTD Rework mod due to multiple intermediary research dependencies. Therefore, it is an imperative to use Gauss weapons against Lobstermen and Tashots. It is already effective enough against them. Not that much as Sonic weapons but pretty acceptable. Nevertheless, I was thinking to beef it up a little bit more since pre-Sonic period will last quite long. It would be a drag to waste all ammunitions on a simple USO recovery missions over and over again. From the other hand, melee weapons are readily available from the start and are quite effective against Lobstermen. Armor development is progressing quite well too. So further Gauss weapon strengthening may be not necessary. Any community suggestion on that?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8088
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #3 on: October 18, 2020, 10:32:12 am »
Some play testing of intercept combat revealed the following.

I have measured how fast interceptor approaches UFO/USO and get 0.25 km per game second. That is exactly twice slower that in this article. I have also cross checked my interceptor damage calculation with experimental results and found them close matching my number. So, I conclude the speed in wiki article is incorrect.
https://www.ufopaedia.org/index.php/Craft_Combat_Mechanics#Closing_Range

You are both correct.

He calculated with 2gs cannon reload time, you have (probably) calculated with 4gs cannon reload time.

You are also both wrong.

Geoscape time doesn't pass during interceptions and the animation speed is configurable in options, so the concept of dogfight game seconds is completely arbitrary. I could say the cannon reload time is 100gs and would be equally wrong as everyone else :)

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #4 on: October 18, 2020, 04:43:57 pm »
You are right that the Geoscape second is not applicable to dogfight when Geoscape time stops. We are using different second - the ones in weapon fire rate descriptions. That is a different second but it is tied to frame rate and absolutely exactly determines dogfight behavior. Increasing and decreasing configured weapon fire rate correspondingly increases and decreases it's fire rate in dogfight relatively to other events. If you read the article you'll see that author measured everything in some craft weapon fire intervals and then just converted everything to gs using this defined weapon fire rate. And that is completely scientific approach which will produce same exactly results regardless of configured weapon fire rate used in observations and computations!

So it does not matter which weapon to use and what its configured fire rate is as long as experimenter can count number of shots and then multiply them on defined fire rate. One can use 2s cannon rate or 4s or even slower missiles - the result will be the same and correct!
What I am stating is that our results are twice as different. Which is strange as otherwise my calculations are consistent within multiple different measurement methods and interceptor damage calculation model.

What I can think of is that author maybe observed UFO game while I tested it on TFTD and they may indeed be different. So I am going to check UFO too to make sure no one of us is insane.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #5 on: October 18, 2020, 04:57:14 pm »
I confirm that I have got the same exactly approaching speed in UFO. So I am going to amend this article.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8088
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #6 on: October 18, 2020, 05:27:31 pm »
You are right that the Geoscape second is not applicable to dogfight when Geoscape time stops. We are using different second - the ones in weapon fire rate descriptions. That is a different second but it is tied to frame rate and absolutely exactly determines dogfight behavior. Increasing and decreasing configured weapon fire rate correspondingly increases and decreases it's fire rate in dogfight relatively to other events. If you read the article you'll see that author measured everything in some craft weapon fire intervals and then just converted everything to gs using this defined weapon fire rate. And that is completely scientific approach which will produce same exactly results regardless of configured weapon fire rate used in observations and computations!

So it does not matter which weapon to use and what its configured fire rate is as long as experimenter can count number of shots and then multiply them on defined fire rate. One can use 2s cannon rate or 4s or even slower missiles - the result will be the same and correct!
What I am stating is that our results are twice as different. Which is strange as otherwise my calculations are consistent within multiple different measurement methods and interceptor damage calculation model.

What I can think of is that author maybe observed UFO game while I tested it on TFTD and they may indeed be different. So I am going to check UFO too to make sure no one of us is insane.

a/ it is NOT tied to the frame rate... everything in interception GUI is independent of the frame rate

b/ I know exactly how it works to the last detail (I have read the entire source code for that many times) and I understand your arguments as well, I even started my post with "You are both correct"... really no need to explain this to me

c/ The definition of a unit matters. If your unit of measurement (for the SAME weapon) is 2gs, you will get 0.5 km/s; if your unit of measurement is 4gs, you will get 0.25 km/s.

I confirm that I have got the same exactly approaching speed in UFO. So I am going to amend this article.

Before you update it, maybe post your calculations here, so that we can show you your "mistake".
« Last Edit: October 18, 2020, 05:32:15 pm by Meridian »

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #7 on: October 18, 2020, 08:59:26 pm »
Thank you for response. I appreciate you sharing the knowledge and I didn't mean to lecture anybody. Just talk it over to myself to make sure I understand what I am doing.

a/ it is NOT tied to the frame rate... everything in interception GUI is independent of the frame rate

b/ I know exactly how it works to the last detail (I have read the entire source code for that many times) and I understand your arguments as well, I even started my post with "You are both correct"... really no need to explain this to me

c/ The definition of a unit matters. If your unit of measurement (for the SAME weapon) is 2gs, you will get 0.5 km/s; if your unit of measurement is 4gs, you will get 0.25 km/s.

Before you update it, maybe post your calculations here, so that we can show you your "mistake".

[/quote]

I bet you are right. However, all events should be computed somehow in respect to their defined values. What I meant is that if we set one weapon to fire every 5s and another one every 10s than first one will fire exactly twice as fast regardless of video configuration, computer it is running on, etc. Somehow game counts these seconds. I don't know how but this count is supposed to be the same for all objects and events during interception fight. Of course, this is an assumption as I didn't see the code to vouch for it but it is pretty solid game design assumption. It would be exceptionally weird otherwise.

If you know it to the last detail, would you mind sharing how fast interceptor approaches to enemy so we don't need to run these visual tests anymore? 😀


I am sorry, I've already posted it here.
https://www.ufopaedia.org/index.php?title=Craft_Combat_Mechanics#Alternative_closing_speed_observations
However, feel free to criticize it. I always can correct or even delete it based on feedback.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8088
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #8 on: October 18, 2020, 10:32:12 pm »
If you know it to the last detail, would you mind sharing how fast interceptor approaches to enemy so we don't need to run these visual tests anymore? 😀

In OpenXcom (OXC), the approach speed is 2, a constant.
https://github.com/OpenXcom/OpenXcom/blob/master/src/Geoscape/DogfightState.cpp#L798

In OpenXcom Extended (OXCE), the approach speed can be 1, 2, 3 or 4, depending on pilot skills. If there are no pilots, it's just 2.
https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Geoscape/DogfightState.cpp#L1018

You have probably noticed that I didn't mention kilometers or seconds.
That's because (Open)Xcom doesn't use either of those, it's using arbitrary "xcom distance units per xcom time units".

Xcom distance units can be with a little bit of imagination (based on ingame Ufopedia) converted into kilometers.
The conversion rate to 1:8, e.g. 640 xcom distance units = 80 km.
I have even implemented an option to show distance in the Interception window in kilometers: https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Geoscape/DogfightState.cpp#L1039

Xcom time units cannot be converted into anything "meaningful":
a/ game/geocape time would be zero
b/ real world time depends on user options (not on frame rate)

But again with a little bit of imagination, we can call one "game tick" as one "game second".
OpenXcom made that assumption and that's why you see cannon reload time in OpenXcom as 4 game seconds.
Original Xcom1994 did not make that assumption and that's why you see cannon reload time in the original as 2 game seconds (even though both reload times are the same (4 ticks), they just define a game second differently... as 2 "game ticks").

So for OpenXcom:
- approach speed is 2 xcom distance units per 1 game tick = 2/8 kilometers per 1 openxcom game second (ogs) = 0.25 km/ogs

For original Xcom1994:
- approach speed is 2 xcom distance units per 1 game tick = 2/8 kilometers per 0.5 xcom1994 game seconds (xgs) = 0.5 km/xgs (= 0.25 km/ogs)

Please note that these two results are the same, there is no paradox or contradiction anywhere.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #9 on: October 19, 2020, 12:19:40 am »
First of all, thank you for sharing all of this including code. Very explanatory and informative. I agree about your 0.25 km/ogs interpretation. I meant exactly that. Probably using confusing terms.
I should mention that I use OpenXcom but I thought this was assumed.

Obviously, I didn't mean to calculate how fast this is happening according to real world clocks. Nor that I needed to. The only thing I have started this is to match (proporionally) three parameters: UFO average firing intervals, X-Com craft armament firing intervals, and for how long craft is get clobbered by UFO until it starts shooting back (or other way around). Now they are all tied together and I can use my formulas, thanks to your confirmation.

The value 0.25 km/ogs seems to be right which means that UFO with 60 km range and 10 s firing interval will be able to fire 20 times on average until interceptor approaches at its Cannon range (10 km). That's all I needed to know.

In OpenXcom Extended (OXCE), the approach speed can be 1, 2, 3 or 4, depending on pilot skills. If there are no pilots, it's just 2.
https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Geoscape/DogfightState.cpp#L1018

I just recently switched to extended version. It seems to have pile of new features but I failed to know them all. Will try to find a manual or description on how to use them.

For the above one specifically, how do I enable it? Is this an option to turn on or mod? How do I hire pilots?

So for OpenXcom:
- approach speed is 2 xcom distance units per 1 game tick = 2/8 kilometers per 1 openxcom game second (ogs) = 0.25 km/ogs

For original Xcom1994:
- approach speed is 2 xcom distance units per 1 game tick = 2/8 kilometers per 0.5 xcom1994 game seconds (xgs) = 0.5 km/xgs (= 0.25 km/ogs)

Please note that these two results are the same, there is no paradox or contradiction anywhere.

Yea. Now I understand that this article was for original XCom and not for OpenXcom. That what threw me off.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8088
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #10 on: October 19, 2020, 01:24:24 am »
I just recently switched to extended version. It seems to have pile of new features but I failed to know them all. Will try to find a manual or description on how to use them.
For the above one specifically, how do I enable it? Is this an option to turn on or mod? How do I hire pilots?

Changes in game mechanics are almost always enabled by a mod and turned off by default.
You can enable pilots per craft by changing craft ruleset, attribute 'pilots': https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Crafts
Pilots are just designated soldiers, they will also fight in the battlescape.

OXCE changelog is here, but early features such as pilots have evolved a lot, so there is no single documentation place: https://openxcom.org/forum/index.php/topic,4187.0.html

Yea. Now I understand that this article was for original XCom and not for OpenXcom. That what threw me off.

99% of articles on ufopaedia.org are about the original Xcom.
OpenXcom articles are specifically marked as such, and there are only very few: https://www.ufopaedia.org/index.php/OpenXcom

98% of Xcom articles of course apply to OpenXcom too... but they may be written in a slightly different language or using different numbers, etc. because of reasons... but they should be generally equivalent.

And yes, there are errors on ufopaedia.org, quite a few actually... but it's been written by volunteers, we should be grateful for what we have :)
Btw. Xcom is much more complicated inside than what it seems from the outside... most people find errors which are no errors, and don't recognize real errors when they see them.
Including myself.

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #11 on: October 19, 2020, 01:29:44 am »
1.7
-----------------------------------------------------

Carrying item weight modified. I don't like how heaviest weapon weights same as 4-6 hand grenades. That allows soldiers to carry such supposedly immensely heavy stuff by just not carrying some extra trinkets. Soldiers should become really strong to be able to even lift such stuff. Weapon weight should be an important factor of usability. The primary weapon(s) should mostly define the soldier load and carrying multiple weapons should be costly as opposed to carrying multiple different tools/trinkets.

* All hand weapons (ranged and melee) are heavier proportionally to their power/size/series/level. Pistols are about the same weight. Heavy versions are much heavier, expecially Gauss and Sonic series.
* All clips are are lighter but proportional to their respective weapon weight.
* All explosives keep their weight more or less to keep their thrown distance intact.
* All non weapon tools are significantly lighter.
* Disruptor pulse launcher ammo weight is increased since it is an actual torpedo.


Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #12 on: October 19, 2020, 02:21:34 am »
I have even implemented an option to show distance in the Interception window in kilometers: https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Geoscape/DogfightState.cpp#L1039

How to turn it on? Could not find it in options or standard mods.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8088
    • View Profile
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #13 on: October 19, 2020, 10:02:46 am »

Offline Alpha Centauri Bear

  • Colonel
  • ****
  • Posts: 138
    • View Profile
    • Email
Re: [TFTD][BETA] TFTD Rework: Evolution
« Reply #14 on: October 19, 2020, 04:35:11 pm »
Found it. Thanks.