Hi,
little noob needs a lot of “hints”
I have some programming experience but only some with the UE4 - so please, don’t assume i don’t know/remember every term (i know whats an actor etc. but i could have some problems with getting it right from the beginning if you say “convert it to x then to y then to z” … the part that English isn’t my native language, and that i haven’t used it for some time doesn’t help at all (Reading etc is fine but the “active” part… hell… i need practice :D)) so i may ask what you mean if i don’t know the meaning of some terms or miss the point Sorry for that!
But now - my project i want to create to learn the basics with the Unreal Engine and my trouble to solve several issues
First, i like to explain some parts for the project - so its easier to understand why i need which option
The Game should be an Online Game for a Number of X People (right now x means 10-100 and well… if i don’t get any troubles with those numbers ill try to push it until i get some :D)
Should have a dedicated Server for Fight script, Resource handling, Pathfinding and some other things.
The Player has only a GUI to interact - send his army on a hex map, build new Cities (same map) and new buildings within those Cities, trigger different researches for eco/war and a few other things.
For the map, i made a Mapgenerator. There a 5 different Resources + Random “neutral” Cities (can be captured) and a “Portal” at the center of each “block”. The map should be constructed with several of those “blocks” (22, 33 etc).
Right now http://i.imgur.com/0Tif9pE.jpg ← thats a random generated map for example. (Generates in 3-4 Seconds… i am fine with that so far)
To generate this map, i made a Actor blueprint. http://i.imgur.com/UajscM0.png ← First the Midline is build to make sure the “portal” (the Hex texture Hexagon in the mid) is right there in the mid After that, first all “even” lanes are build and then all odds. Random seed at the end right before the Hexagon is placed. (Don’t care about those “broken” links - i moved all parts of the “rebuild a sector right next to the last sector” Script - not needed so far).
Now to the parts where i have no idea how to solve them / where to find some tutorials/documentation that would give me a hint what i have to do
(Not looking for “do this then that and it will work” … i would prefer the “here some infos - like those awesome wonderful perfect videos @ unreal engines YouTube account about the blueprints! - now try to find the solution by yourself” method ^^)
So now my first two Problems i have so far:
How could i save a generated map? If i want to use it as a multiplayer map for longer games or to have the same Map for several Rounds for example, i would need the map as level for example wouldn’t i?
How can i add a Axial coordinates system? I found several threads where ppl were talking about that, but i haven’t found any Documentation how it would work… i have some ideas - to write the hexagon fields into an array etc. but nothing that worked so far so i would say “wrong” solution? (could be a noob mistake too! )
If somebody could give me some hints to find a solution for those Problems i would be grateful