I have a few questions on the specifics for a game with grid based movement:
How would I set up an inventory that would encompass all characters
What would be the general way of going about tile limits per character i.e character 1 can move 7 tiles and character 2 can move 5, and how should I set it up?
Thanks for all the help in advance, currently kinda at a loss on how to implement this so any and all input would be appreciated
1: same way as you build a inventory for 1 character,
for example you can make a big widget , divided in 4 parts,
one for every player, in every slot you load the specific inventory of every player.
2: as you store “items” you can store also your custom values,
lets say your characters have some values like speed.
If you want to move the char, you first read the value of Tile-for-turn ,
and so you can : enlight only 4 tiles around the player… or show an arrow 4 tiles long
So, all you need to know is how store variables inside the game,
inside actors/ characters / gameinstance/ widgets and how to reach them.
How would I go about saving each characters equipment and would there be any downsides for including a large amount of characters, since it’ll be board game esque I figured it shouldn’t be since I wouldn’t have to worry about animations much
Since inventory would be persistent through the levels, i would use the gameinstance for storing them.
Then if you want to use these information through different games , you need to save them on file
here is the stuff about saving savegames Saving and Loading Your Game | Unreal Engine Documentation
There are always downsides bigger or smaller,
but i hope you dont want put 10 inventory on the screen XD ( because really there is no space ! )
if you will use images for items there should be no problem.
if you plan to make all 3D visualization , the problem could be , yes.
1 inventory is more than enough lol, I only have 1 more right now and that would be regarding a simple dialog system would that be as simple as creating and hiding different widgets or would a better way to go about it also thanks for all the help
I am not sure,
i think depend on what your needs are,
I would say that should be only 1 widget, and inside it …
-you can show and hide the baloon or bar on left side or right side
-for example create a vertical box and add text inside so it scroll up ,
-define an image for the char involved in the talk, with widget switcher
Take a look at complex variables like Structures and Datatables too !