I am currently working on my very first FPS. I made a lot of progress and created a lot of stuff. Now I am confronted with a problem:
I dont know how to make my BP save information in the gamefiles and then read that info in a multiplayergame multiple times while playing…
Background information what I need this for:
I already created BP widgets, weapons and characters so everything works somehow…
It would start like this:
A player selects his setup in the lobby wich includes: primary wapon+secondary wapon+pistol+knive+nade+gadet1+gadet2+healing1+healing2
The primary wapon and also the secondary contains: mainbody + scope + barrel + stock + mag (+texture optional)
all of the options above have several things to choose from.
The player would spawn equipped with his inventory. As soon as the player dies and he desides to respawn he has the exact same inventory OR (alternative already working BP,wiget) can create a completly new inventory.
It does consume a lot of time to click and select the exact same lodout after respawning, wich is not what I want and if I use the other solution I have, players wont be able to change their inventory at all during the session. Wich could make it boring, because you cant respond to the playstyle of other players during the game…
My Solution (I have no clue how to do this):
So what I thought I might include was a gameinfo.file that is created when the player chooses his inventory. So the idea is to let the player choose 1-3 loadouts (from the gameinfo.file) and after death he can switch within the 3 during the session. How do I create such files that are saved/replaced and compatible with multiplayer? Are there BP that create/replace informations and store it in folders? Is there a limit of information or files created and how do I make a BP read those files?
Thank you verymuch in advance, if you have questions or want some screenshots etc. feel free to ask