Jump to content
Mar_Veloz

Making soldiers gain Reflexes from taking reaction fire

Recommended Posts

Hey y'all, I just started getting into Xenonauts mods after playing the base game once or twice (I'm late to the party, I know)

The thing is, I'm not a huge fan of how soldiers only gain reflexes from making reaction shots. I find that it tends to push me to use purposefully weird/unnatural strategies to level up my troop's reflexes, which I find kind of immersion-breaking. So seeing as reflexes also determines when troops take reaction fire from enemies, I thought it might make sense for them to also gain reflexes when they take reaction fire too. (Especially since, as someone with a more aggressive play style, I tend to take reaction fire much more often than I dish it out lol).

The question is, is that something that can even be changed with a mod? Because I can imagine that the situations in which troops gain stats is something that could quite easily be hard-coded. If it is moddable though, would anyone be able to point me towards which files I would need to modify?

Share this post


Link to post
Share on other sites

Sorry to disappoint, the reaction fire mechanic isn't something you can tweak.

Share this post


Link to post
Share on other sites
2 hours ago, Solver said:

Sorry to disappoint, the reaction fire mechanic isn't something you can tweak.

Unless you switch to the community version ? As far as i know in XCE you gain reflexes if you take a reaction shoot, or trigger one. I just dont know if that is not the case in the vanilla version.

<reflexesProgress pointsToProgress="1"   maxPointsInSingleBattle="1"    globalMaxProgress="98" comment="A progress point is gained when a soldier performs a Reaction Fire test (it doesn't matter whether he passes or fails it)" />

 

Edited by Charon

Share this post


Link to post
Share on other sites

But that's just how quickly they gain their reflexes stats, you cannot change the circumstances under which you gain reflexes.

Then again, it's already as the OP wanted - troops do indeed improve their reactions also from taking reaction fire.

Share this post


Link to post
Share on other sites
1 hour ago, Solver said:

Then again, it's already as the OP wanted - troops do indeed improve their reactions also from taking reaction fire.

Thats what i am saying, the only question is whether or not you will find the same behaviour in vanilla.

Share this post


Link to post
Share on other sites
1 hour ago, Charon said:

Thats what i am saying, the only question is whether or not you will find the same behaviour in vanilla.

AFAIK gaining reflexes when you take reaction fire isn't in vanilla, only when you make a check to see if you'll reaction fire on an enemy.

Also, could you tell me which file it is you quoted that line from?

2 hours ago, Solver said:

Then again, it's already as the OP wanted - troops do indeed improve their reactions also from taking reaction fire. 

Oh okay, I didn't know that! I just started running CE, so I'll have to pay attention the next mission I play to see if my soldiers who took reaction fire gained reflexes. I only skimmed the changelogs, so I probably missed that change. Thanks!

Edited by Mar_Veloz

Share this post


Link to post
Share on other sites
Just now, Mar_Veloz said:

Also, could you tell me which file it is you quoted that line from?

gameconfig.xml

Share this post


Link to post
Share on other sites
Just now, Mar_Veloz said:

Thanks!

Use the reaction button on posts. This way less posts get produced, and positive feedback accumulates.

  • Like 1

Share this post


Link to post
Share on other sites

I'm happy to report that the source code lines for reflexes progress have never been touched in X:CE, therefore it's the same behavior as vanilla.

Share this post


Link to post
Share on other sites

I just tested it, and my soldiers who got reaction fired at by aliens did not gain any reflexes, so I guess that's not how the game works after all.

Oh well, since the situations where soldiers gain reflexes are confirmed not to be modable, I guess I'll just mod it so reaction firing on an enemy increases soldier's reflexes faster.

Share this post


Link to post
Share on other sites

They gain a certain amount of points per event though, taking/giving reaction fire once may be insufficient.

Share this post


Link to post
Share on other sites

I guess I'll have to do further testing, though the inherently chaotic nature of battles makes controlled testing somewhat difficult.

However, I'm not sure how likely I find that explanation, since as far as I can tell my soldiers regularly gain reflexes even if they gave reaction fire only once. Plus, as the line that Sergeant quoted earlier indicates, the pointsToProgress for Reflexes is 1, which means that even one event should be sufficient to trigger an increase in soldier stats.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×