Karasu_Tomoe
Member
I'm working on sort of a 1st-person 1-on-1 fighting game, involving attacking different parts of the body to deal different types of injuries and such. There would be a lot of different enemies with many different body types and sprites, and by extension, different "hardpoints" to attack. So, there would need to be a lot of information about how many hardpoints there are, their positions, hitpoint values, as well as what effects they have. Rather than try to hardcode this information (which would be an absolute nightmare), I setup a room that acts as a building environment, where I can add/remove/modify these hardpoints. But obviously, doing things this way, the information would have to end up as external files.
My question is, how best can/should this information be saved, stored, and loaded in the actual game? I'm not too experienced external file handling, but my main concern is with user tampering, so what would like is somehow having these files included in the .exe and extracted or loaded in at runtime, so even if someone were to obtain and edit the file, it would just be erased and reloaded. I know this was actually fully and easily doable back in GM8 (having files included in the .exe and extracted to the temp folder), but obviously things have changed massively afterward, so I don't know what's actually possible anymore. Since these files would (or at least should) always remain the same, I'm hoping that would help simplify things.
My question is, how best can/should this information be saved, stored, and loaded in the actual game? I'm not too experienced external file handling, but my main concern is with user tampering, so what would like is somehow having these files included in the .exe and extracted or loaded in at runtime, so even if someone were to obtain and edit the file, it would just be erased and reloaded. I know this was actually fully and easily doable back in GM8 (having files included in the .exe and extracted to the temp folder), but obviously things have changed massively afterward, so I don't know what's actually possible anymore. Since these files would (or at least should) always remain the same, I'm hoping that would help simplify things.