aliens

Author Topic: Speedislife's XCF-run with Brutal-AI  (Read 4831 times)

Offline Xilmi

  • Commander
  • *****
  • Posts: 642
    • View Profile
Speedislife's XCF-run with Brutal-AI
« on: May 15, 2023, 12:44:59 pm »
Over the past week a Twitch-streamer called "Speedislife" was streaming X-Com Files with Brutal-AI on Superhuman Ironman.

It was a really fun journey to watch until he decided to restart in August 1998. After that first restart he did it over and over whenever something remotely bad happened and almost every time I tuned in it was a new run. I think he now stopped doing it at all.

His reasoning for the first restart was that he was too far behind in progress of what he thought he was supposed to have by that point. As someone with extremely limited experiece with XCF I cannot really judge it.

I personally wish he had played it out until the bad things he expected to happen actually would happen.

The last two things that happened in the run was that he did a Manor, which he won with 4 out of 16 people still alive at the end, 3 of which badly wounded. Really close and thus exciting to watch.

After that a UFO was shot down in the military and he already anounced that he would be too weak to even attempt it and did so anyways. He played uncharacteristically sloppy and got wiped. Almost looked like he wanted to provoke this to happen to make a point.

One thing I noticed being quite different to vanilla-X-Com is the huge discrepancy between Rookies and people that have been in service for a while. It seems like the stats go up way more quickly and also reach significantly higher values. So having to replace 20 veterans with rookies is a massive reduction in overall combat-strength. Another big difference was that the ratio of health to damage was so that most hits resulted in injuries rather than death, meaning that agents often could be saved. And of course that a lot of missions were quantity over quality. Basically tons of weak enemy units, sometimes a few decent ones sprinkled in.

During the time he streamed it, I also made 2 AI-modifications to things I noticed. I think the prior absence of these made the first attempt quite a bit easier compared to the later ones. It was about the behavior of enemies with short-range-weapons, of which there are plenty. They used to use the same peaking-logic as those with long-range-weapons often resulting in dying to reaction-fire with no way to fight back. After the modifications they'd only peak towards locations where they wouldn't expect the enemy yet. This means you'd have to come closer to them and get into their effective range.

I'm not sure whether the mission against the aliens was representative of what to expect a few more months down the line. If so, I can understand it. It looked similar to how my TFTD-attempts against Brutal-AI go. What I also wonder is how much more powerful he could theoretically have gotten before 1999.

I learned a lot about how to approach this mod and should probably give it a serious try too. You need to obtain a lot of knowledge of when and with what kind of gear/stats what kinds of missions are doable. The toughest part I imagine is investing a lot of time into the run before noticing it's actually not salvageable. But that also probably makes it more emotionally engaging.

Offline OwenQ

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #1 on: May 15, 2023, 05:02:40 pm »
I'm curious if other folks have any insight into using Brutal AI with X-Com Files; I've heard the siren-song of restarting my own run using it a few times. I opted not to on my last restart because I was still pretty rusty at classic X-COM and because XCF in particular seems like a drastic enough overhaul I'd be concerned about how missions set up for regular AI would run with BAI. It is cool that Xilmi got a chance to tweak it from watching someone play though. (I'm not surprised you had to tweak the guys using peashooters and golf clubs).

As to the mod in general, a few of my own thoughts:

I actually managed to lose my first run thanks to low score, on whatever the second difficulty was called. I'm not sure exactly why; I was very trigger-happy with the Abort Mission button to preserve my agents. I assume I had enough Strange Life Forms missions and maybe a couple of the early harder types where enough civvies died, plus maybe despawn penalties from missions I couldn't reach to tip me over.

There's also the fact that the game can get pretty darn monotonous on the tactical level - if for whatever reason you decide to fall into a holding pattern (research, agent training, waiting for funding), you'll find yourself doing a zillion Cultist Apprehension or Cult Safehouse or whatever missions. This can make seeing the bad end in sight more emotionally draining than engaging.

The absolute bonkers gun porn also doesn't help me with my analysis paralysis; a lot of guns are very samey or clearly outclassed and you have to really dig into the Stats for Nerds screen to see that some can be pretty bonkers or have crippling weaknesses (particularly with regards to armor efficacy). On the other hand I do like that this means there's some randomness to what you outfit yourself with if you luck into one of the good ones. Either my second or third game I got the Winchester 1901 shotgun in a very early mission so I basically didn't have to worry about non-standard weapons while I built out my research and Logistics.

Sort-of back to what the OP was talking about: I think simultaneous the most unintuitive and interesting/fun things about XCF are the absolutely sprawling research tree and its affect on game progression. As I kind of alluded to up top, I restarted a couple of times either because I thought I had dead-ended my research or because I researched too much too fast and was getting harder missions without the firepower (or manpower) to deal with them. Once you start to get a grasp of it you can find that it's actually fairly lenient, I think, as long as you pay close attention to what 'Affects game progression'. I do feel like figuring out where your labs, armor, and transports are on the research tree is pretty critical though.

Finally, as far as veteran agents go - it's absolutely the case. Actual rookies are kind of a joke, which is why you kinda want to spend some time rotating folks out in the very early game (and grinding Reactions on those ubiquitous melee missions), and always have people warming the bench (press) getting ready to replace losses. That and having enhancements online early (like the Red Dawn one). Heavy use of dogs and AI Units (once you find them on the tech tree) also helps preserve those vets.

Offline Dreams_Of_Cheese

  • Sergeant
  • **
  • Posts: 20
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #2 on: May 15, 2023, 08:28:53 pm »
XCF on Brutal AI works in like, 95% of cases. Certain mission types, particularly cult HQ missions that cap off those storylines, have over 100 enemies. When the AI is smart enough to remember where the player is and actually push into them, it's basically impossible to get out of the spawn rooms.

Playing Superhuman on XCF is pure ego, IMO. Adding extra enemies to the missions does very little to fill them out since they're already pretty populated already. And XCF is very forgiving of failure, since past a point you stop having to worry about money, and you can definitely play money-efficient if you know what you're doing before that point. You can 100% play it out in almost every circumstance; the penalties for not completing cults "on time" are minimal, and even with really good RNG and strategic-layer play, you weren't going to be prepared for the impending alien invasion.

Offline Juku121

  • Commander
  • *****
  • Posts: 1799
  • We're all mad here.
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #3 on: May 15, 2023, 11:11:09 pm »
Is there a record of these streams somewhere?

Offline Stone Lake

  • Colonel
  • ****
  • Posts: 185
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #4 on: May 16, 2023, 06:15:48 am »
Quote
The last two things that happened in the run was that he did a Manor, which he won with 4 out of 16 people still alive at the end, 3 of which badly wounded. Really close and thus exciting to watch.
Most of the fight looks like what you would usually expect, except that at the end he loses troops left and right. Looks either under-prepared or B-AI is much better at endspiel.
Quote
His reasoning for the first restart was that he was too far behind in progress of what he thought he was supposed to have by that point.
Usually you'll have promotion 3 (defeating one of the cults), and weaponry outlined below. In normal game it's not required for battling aliens per se, but I guess you'll need more options against B-AI.
Quote
I'm not sure whether the mission against the aliens was representative of what to expect a few more months down the line.
I'm assuming you're talking about that Downed UFO after manor?
Even with Normal-AI, you can expect to be shredded by aliens if you just try to outshoot them early. With right gear\tactics however, you can complete Downed UFO semi-flawlessly as early as 1997.
That being said, getting inside that UFO with 5 B-AI sectoids seemed really tough, period. Have to either sacrifice a few assaults, or fill the inside of UFO with incendiaries - they go through the shield.
Quote
What I also wonder is how much more powerful he could theoretically have gotten before 1999.
Normally, by 1999 you'd get craft for 12-16 troops, increasing amount of possible sacrifices (:.

Weaponry wise - something like a basic vanilla gear - e.g. rockets, cannons. PROXIMITY GRENADES. Better grenade launcher. Maybe lasers, with good RNG. Against sectoids, melee and grenades will remain one of best options.

Armor - there's better ballistic armor. Also you'll get personal armor or slightly better. It gives OK chance to survive plasma blasts, while being knocked down and on fire. Thus requiring squaddie with extinguisher to spend his turn rescuing the victim, possibly just standing there like a dolt.
Early 99, with a bit of luck, you can loot a couple of power suits from specific tough enemies, which give pretty good protection, but will go away if you're not careful. To manufacture good armor you'll need quite a few alien engineers = surviving quite a few UFOs.
Quote
It seems like the stats go up way more quickly and also reach significantly higher values.
Stats increase in same way they do in vanilla, but there are many easy missions to boost them. This is the main difference, as you have good chance to bounce back if you lost your A-team. Regarding how caps are different I dunno. There's also many researchable one-time trainings that increase stats down the line.
Quote
Another big difference was that the ratio of health to damage was so that most hits resulted in injuries rather than death, meaning that agents often could be saved.
Yes, common firearms rarely one-shot agents, especially those in armored vests. There's still grenades, rockets, melee critters and gimmicky units though.
Quote
So having to replace 20 veterans with rookies is a massive reduction in overall combat-strength.
It depends on equipment. E.g., most players prefer to play around snipers. Sniper rifles have long range and cannon-level damage but very quickly dwindle in accuracy bellow 100 firing, thus require veterans to use. But there are ways to make most of the rookies.
Quote
Playing Superhuman on XCF is pure ego, IMO. Adding extra enemies to the missions does very little to fill them out since they're already pretty populated already.
It increases enemy stats, too. Not that much compared to veteran, but still.
Quote
And XCF is very forgiving of failure, since past a point you stop having to worry about money, and you can definitely play money-efficient if you know what you're doing before that point. You can 100% play it out in almost every circumstance; the penalties for not completing cults "on time" are minimal, and even with really good RNG and strategic-layer play, you weren't going to be prepared for the impending alien invasion.
Yep, fully agree. That wasn't always the case, though...
« Last Edit: May 16, 2023, 11:36:24 am by Stone Lake »

Offline OwenQ

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #5 on: May 16, 2023, 07:41:59 pm »
I wound up deciding to do a little test-run with Brutal AI and the short-range peeking behavior seems very tedious and sometimes.. well, beyond brutal. Melee units and your average pea-shooter cultist will hunker down in one tile, necessitating a full sweep with two agents (and often going to the 'bug hunt' mode phase of the fight). I've considered flipping on Aggressive mode, at least for the early game, though I can definitely see this behavior being interesting when both sides have more than two under-geared units.

It's nice that melee units don't just kind of wander back and forth waiting to die, but unless it's an open desert it just turns into a jump-scare slaughterhouse as you crawl up two steps to maintain overwatch like you're playing XCOM2012. (It'd be nice if units had greater than 90 degree FOV, too, though that might benefit the enemies more)

edit:

And apparently stunned enemies immediately get their TUs back if they recover??? Was shocked to have an agent die right after tasing a dude and ducking back to cover, whirled around with the other guy and saw the guy with the axe back on his feet.
« Last Edit: May 16, 2023, 08:50:25 pm by OwenQ »

Offline Juku121

  • Commander
  • *****
  • Posts: 1799
  • We're all mad here.
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #6 on: May 17, 2023, 02:52:00 am »
And apparently stunned enemies immediately get their TUs back if they recover???
Yeah, the default value of 'tuRecoveryWakeUpNewTurn' is 100. I use 50 myself.

Offline Xilmi

  • Commander
  • *****
  • Posts: 642
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #7 on: May 17, 2023, 03:25:24 am »
Is there a record of these streams somewhere?
Twitch normally stores all the streams as VODs for a couple of weeks at least.

So you can find them here: https://www.twitch.tv/speedislife/videos

And apparently stunned enemies immediately get their TUs back if they recover??? Was shocked to have an agent die right after tasing a dude and ducking back to cover, whirled around with the other guy and saw the guy with the axe back on his feet.
It's not about the TUs. The mechanics are the same as when your own troops wake up. They also wake up with full TUs. The issue was that the base-AI deliberately skips their first turn after waking up. Of course the brutal-AI sees no reason to limit itself in such arbitrary way.

X-Com-Files actually has a really useful counter to that: Handcuffs! Normally they are kinda unnecessary. But now they actually are a really helpful tool in your agent's arsenal to prevent the exact scenario you described.

Offline Stone Lake

  • Colonel
  • ****
  • Posts: 185
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #8 on: May 17, 2023, 08:19:33 am »
Quote
X-Com-Files actually has a really useful counter to that: Handcuffs! Normally they are kinda unnecessary. But now they actually are a really helpful tool in your agent's arsenal to prevent the exact scenario you described.
Cuffs cost 40 TUs to apply, so you'll need a teammate to do it. So you won't prevent this exact scenario - tase somebody, get into cover with 0 TUs, and get fried by stunned hostile the next turn.
You'll prevent other scenario where some guy pretends KOd and takes a jump at you. Wow, it's actually lore-friendly (:.
But yeah, cuffs kinda seem more useful now.
« Last Edit: May 17, 2023, 08:21:41 am by Stone Lake »

Offline Vakrug

  • Colonel
  • ****
  • Posts: 320
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #9 on: May 17, 2023, 10:15:45 am »
My experience with recovery from stun is that there is 50% chance that just recovered from stun enemy unit has their TU (and can react) and 50% chance that he has no TU (and cannot react). Approximately the same is with my own units: sometimes they have TU, sometimes not. The difference is that just recovered enemy unit NEVER walk, but my units can do that if they happen to recover with TUs. Initially I thought that it depends on when exactly a unit recovered from stum: on your turn or on enemy turn. But that does not explain why enemy units never walk after recovering.

Offline Xilmi

  • Commander
  • *****
  • Posts: 642
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #10 on: May 18, 2023, 03:57:56 pm »
My experience with recovery from stun is that there is 50% chance that just recovered from stun enemy unit has their TU (and can react) and 50% chance that he has no TU (and cannot react). Approximately the same is with my own units: sometimes they have TU, sometimes not. The difference is that just recovered enemy unit NEVER walk, but my units can do that if they happen to recover with TUs. Initially I thought that it depends on when exactly a unit recovered from stum: on your turn or on enemy turn. But that does not explain why enemy units never walk after recovering.
The explanation is in the code:

Code: [Select]
if (_AIActionCounter >= 2 || !unit->reselectAllowed() || (unit->getTurnsSinceStunned() == 0 && !unit->isBrutal())) //stun check for restoring OXC behavior that AI does not attack after waking up even having full TU

Offline OwenQ

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #11 on: May 19, 2023, 02:53:50 am »
Interesting to see that's how stun recovery works - I've so seldom had my own units stunned I didn't realize it was different between AI and player.

That said, my experience after having played some more is that handcuffs are just way too TU intensive - holster (or if you're still using Kevlar and shotguns, drop) your weapon, pull out handcuffs, spend 40 TU to apply handcuffs. If the agent has very high TUs you might be able to do that all in one turn. Also for the privilege of being able to do all that, you lose out on a whole grenade's worth of inventory capacity.

That said, a much better solution... Just tase (or beanbag or whatever) the guy again. There's no hit indicator, but it absolutely will apply more stun damage (same trick with lethal ammo is also good for dealing with zombies that got stunned instead of killed). Unfortunately it doesn't work with melee weapons.

Also it's neither here nor there, but I find it amusing that handcuffs can put a unit into overstun and start killing them.

---

As for Brutal AI in general, I've noticed that there's a lot of slowdown on the player turn on more populated maps (I'm early enough this pretty much means certain Strange Life Forms missions and a Citizens vs. Monsters map). In particular, the CvM map was buttery-smooth while the megascorpions rushed the desert fighters, but when it came to my turn I had hefty framedrops whenever my units would move. Most of what I've seen mentioned about slowdown was on the AI turn so I figured I'd mention it.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11728
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Speedislife's XCF-run with Brutal-AI
« Reply #12 on: May 19, 2023, 03:20:10 am »
...I guess making the cuffs faster is an acceptable option.

Offline Vakrug

  • Colonel
  • ****
  • Posts: 320
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #13 on: May 19, 2023, 09:48:57 am »
...I guess making the cuffs faster is an acceptable option.
Not enough! Because...
handcuffs can put a unit into overstun and start killing them.
And that is why right now handcuffs do more harm then good. Not only handcuffs not doing it's primary job (you still have to babysit downed enemies), but they also kill! And since you probably use them on important prisoners, it is even more frustrating.
Also, if you insist on enemies can free themselves, then at least provide a notification about that if happened.

Offline Stone Lake

  • Colonel
  • ****
  • Posts: 185
    • View Profile
Re: Speedislife's XCF-run with Brutal-AI
« Reply #14 on: May 19, 2023, 10:02:53 am »
No, handcuffs don't kill with overstun, unless target dies from existing overstun on first turn after KO. Rather, it seems that overstun is cleared by handcuffs.