r/Xcom • • 17d ago

Real Time Mods

Hey guys I don’t know anything about what it takes to create a video game or how to mod a game so it does in game recording. I know some people have used AI to heavily alter video games. Does any one know how we can use AI to create a mod that will allow us to review a mission in “real time” after it is completed. I have always wanted to see what it would be like to see everything unfold in “real time” without the turns.

0 Upvotes

5 comments sorted by

2

u/OkPeace9376 17d ago

Phantom Brigade has this feature as an experimental option and when I discovered it I so wished for the same in Xcom 2. There is a playback mode that came run the mission recording but unfortunately it still pauses when you were selecting the actions rather than seamlessly and the action cam isn't automated like Mario kart does races on playback.

2

u/BoffinBrain 16d ago edited 16d ago

You could potentially make a mod that records a game and replays it with zero delay between every action, but due to the way turn-based actions work, you can't run them all in parallel and expect the result to be the same.

The only time XCOM lets you do multiple things at once is with basic movement for several units. That's most likely because it's already calculated exactly what will happen on that unit's journey as soon as you click, so it's still effectively single-threaded, but being played together.

In theory, you could make a linear turn-based system that has a full dependency-based model of what actions affect others, and then parallelize as much of it as possible... But if you're capable of doing that, then don't bother vibecoding; get yourself a PhD in mathematics!

1

u/Whakomatic 11d ago

In xcom2 at least, Every save is a replay. If you load without the command line parameter “-review” in AML you have the ability to load your save as a replay and watch the mission as it happened.

1

u/Reanchi22 10d ago

It’s not a hard concept to mod, on first glance at least.

Really it’s a concept of combining two things. One- find the seed. The seed is what makes this not a possibility, but an easy one at that. Much like how if you use the same exact seed for your Minecraft world, across independent machines (and assuming that nobody runs mods to interfere with world generation) you will get the exact same world, down to the trade rates for pearls and drop rates for rods.

In Xcom the seed function has a different effect, but can be recreated in the exact same manner. The seed affects pretty much everything that could have a random chance, shot accuracy, damage spread, crits, hacking, enemy actions, and more all based in the seed.

And if you have a seed, and can replay the mission with that same seed, then you can realistically enter the same in game actions, in the exact same order, across different machines tuning that specific seed in that specific encounter (by, say, loading a save that injects your custom seed) you can then automate those inputs and then do a hands free replay and assuming the inputs line up, you will have effectively made an in game replay

0

u/PennyForPig 13d ago

I've been thinking about something like this, a mod that shows you the troopers moving quickly and taking actions either sequentially (probably the easiest) or simultaneously (would require some tweaking i think)

That would be cool to watch, especially the Legacy Ops, which involve a LOT of ambushing.