Creating a dynamic map with c++ from existing data
Hello everyone. I am targeting to make a map which is generated by existing data. Therefore I need to know how do I place static meshes into my level and transform them by using c++ or the blueprint system (preferable c++); creating own mashes by given variables, such as vectors and size; and creating a dynamic terrain. I want to read the data from a database / xml file.
Since all tutorials I have found explain how you place objects by drag and drop within the editor and editing them within the editor, I do not know where I can get information regarding my question. Even the c++ programming tutorials end up with drag and drop the new created actors into the level.
I tried to load a sample project (e.g. first person) and analyse the created .cpp and .h files in order to understand how UE4 works, but it looks like there is no implementation for the static mashes and everything else.
The map should be loaded before the player get into it. It is going to be a "open world". One level.
I will be very thankful, if you have any links to tutorials explaining how UE4 editor works together with c++ and how you can change code or implement own things into your game project by using c++ or the blueprint system! It might be the case that I do not search for the correct terms.
asked Apr 29 '18 at 11:44 AM in C++ Programming
I think you are searching for this:
To spawn "MyActor" directly from c++ use:
answered May 01 '18 at 02:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here