Page 19 of 19

Re: XCom 2

Posted: Mon Oct 02, 2017 2:07 pm
by Silverware
1-2 KB might represent a single soldier.
Actually, not it wont. There are too many variables.

Even soldiers have a huge number of individual statistics.
Each battle is also stored in the save as historic data.

Re: XCom 2

Posted: Thu Oct 05, 2017 1:19 pm
by Damocles
I have created a few of those 4 Kilobyte Games. (after it was crunshed using fancy compression though)
(3D rendering, terrain generation, simple flight mechanics in one,
voxel terrain in another, an Isometric RTS, a platform shooter with dynamic AI enemies etc..)
Its quite interesting what can be crunshed into the 4KB limit.

Anyhow. Its certainly possible to make gamesaves much smaller (If they wanted to)

For example:

a generated map could be represented by just 1 to 2 bytes for the seed.
One byte for the mision type / objective, and maybe one byte for the seed that places the object.
-> that can represent the map to generate. (the actual templates for the structure are in the client-data)

A soldier can be represented from between 32 bytes up to 288 bytes (when customizing)

-skin/headprop/patterns/colors/etc, each not requiering more than a byte (256 variations)
-4 bytes for the weapon type, 4 bytes for the upgrades etc.
-1 byte for the whole skill tree choice (bitwise: 0 = left, 1=right)
-1 byte for the unlocked rank
-maybe a few for bytes for the personal stats (aim, health, will etc..)

when naming the character it goes up,
-a humongous 10 to 255 bytes, +1 lenght bytes for the name string(s)
-OR, just a single byte or two for the library name / template

ok, not naming all variations, it can be compressed very small,

But I dont see any complex event data to save that is "nessecary" to represent the game state.

What I have read, is that XCOM actually saves ALL previous events in and outside combat.
And thats probably the reason why the gamesaves bloat up so much.
But there is (outside of testing) no real requirement to do so.
At least no for battles that where already won.

Re: XCom 2

Posted: Thu Oct 05, 2017 1:40 pm
by Talvieno
I think you may have missed the part where the game needs to be moddable, and therefore saving everything (and in strings where possible) is preferable. :ghost: Regardless, it's not really that much. Skyrim saves are around 5 MB. Fallout 3 saves are around 6 MB. Witcher 3 saves manage to keep it down to less than 2 MB, but still over 1. Witcher 2 had > 2 MB save files. Factorio saves can be over 8 MB in a "normal" game. KSP has saves over 5 MB even a short ways through the game.

Modding makes things balloon somewhat. The games that are more moddable tend to have a lot more data in their files, but really, 2 MB is on the low side. While you can feasibly compress it more, what's the point? You lose a lot of moddability, and more importantly, 2 MB of data takes almost no time to load on a standard machine today. I'd say they did just fine.

To give you an idea of a mod that might make use of that data, consider a simple "statistics" mod. Now you suddenly have a use for all the trivial things that have occurred in your game. There's no harm in including that. :) Another example is that an event is triggered after exactly three missions occur where two soldiers panic from seeing a high-HP enemy. Where do you decide that such information is "no longer useful" and draw the line? Better to just include everything you can, just in case modders can find a use for it. Which brings me back to my original point... 2 MB is no big deal, as far as I see it.

Re: XCom 2

Posted: Sun Oct 14, 2018 5:18 pm
by IronDuke

Re: XCom 2

Posted: Mon Nov 05, 2018 5:56 am
by IronDuke
Image

This game is so, so, so freaking awesome. :mrgreen: :squirrel: This was my best mission to date. Squad of five with their newly equipped magnetic weaponry and relatively new Predator armor - although they didn't even need it. I took no damage whatsoever. I killed 8 Mutons, 4 Berserkers, and saved 12/19 civilians, plus I got to promote Mr-I-Can-One-Hand-A-Minigun in the back there.

I think maybe now I can take on that (first?) Blacksite without getting squadwiped at the start of the action. :D These are only half of the highly-ranked, highly-skilled soldiers I have, with another 20 or so rapidly moving up.

Also, in case anyone's wondering, the difficulty is on normal. The only setting I tweaked was I turned on damage-falloff for explosives; I always felt like a nade doing max damage at max range is really silly.

For fun, my single favorite picture from the game (taken automatically, not by me):
Spoiler:      SHOW
Image

Re: XCom 2

Posted: Mon Nov 05, 2018 3:00 pm
by Talvieno
That's awesome, Duke :D I miss playing that game. I'll have to pick it back up soon.

Re: XCom 2

Posted: Mon Nov 05, 2018 6:50 pm
by IronDuke
XCOM feels like what ReKT would be like, if it were a video game and you're a commander, not an individual soldier. Also it doesn't have SCAMPS. XD

Re: XCom 2

Posted: Tue Nov 06, 2018 8:43 am
by Cha0zz
IronDuke wrote:
Mon Nov 05, 2018 6:50 pm
Also it doesn't have SCAMPS. XD
And this alone makes REKT infinitely better.

Re: XCom 2

Posted: Tue Nov 06, 2018 10:52 am
by Mistycica
The Legacy Pack is also absolutely great. Got me right back into the game with that rapid fire action. The new cosmetics are very well done, and the return of EU maps is wonderful (except Trainyard, screw that one) :D

Re: XCom 2

Posted: Tue Nov 06, 2018 1:29 pm
by Silverware
Cha0zz wrote:
Tue Nov 06, 2018 8:43 am
IronDuke wrote:
Mon Nov 05, 2018 6:50 pm
Also it doesn't have SCAMPS. XD
And this alone makes REKT infinitely better.
Shit ... No ! You are not allowed to make me want to mod XCom2 into REKT

Re: XCom 2

Posted: Tue Nov 06, 2018 1:36 pm
by Detritus
You know what would be cool? If someone modded XCom2 into REKT. That'd be sweet, I must say.

Re: XCom 2

Posted: Tue Nov 06, 2018 1:42 pm
by Talvieno
Wait, REKT is moddable? :o When did that happen?

Re: XCom 2

Posted: Tue Nov 06, 2018 1:47 pm
by Detritus
Talvieno wrote:
Tue Nov 06, 2018 1:42 pm
REKT is moddable

Code: Select all

if(inmate.Caleb.loves('Cho') = true) {
    ship.Nemesis.candles = burning;
    inmate.Saoirse.eyes = rolled;
    gm.tal.evil = true;
}
if(gm.tal.evil === true) {
    process.exit();
}