Announcement

Collapse
No announcement yet.

Place content in scene Editor Mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Place content in scene Editor Mode

    Hi! I have content (static meshes, skeletal meshes and other) and list of position (*.txt file).
    I need to place these meshes in my scene. But I want to place objects with the help of a script in Editor Mode and save on my level, because there are a lot of objects.

    The list looks like this:
    Code:
    Name="woodland_distance_formation_b9"
    Pos="861.18402,135.27014,215.02234"
    Rotate="-0.12186913,0,0,0.9925462"
    Scale="0.81000006,0.81000006,0.81"
    Prefab="Objects/Natural/Rocks/left/woodland_distance_formation_a.fbx"
    
    ... and so on
    Please, tell me how to make scripts for Editor Mode?

    #2
    One way you could do this is convert that data to an .csv file then import it, build a structure and data table using the data. Then create an empty blueprint and in the construction script build a function to place the objects in the scene from the Data Table
    My Game Frontier Devblog HERE

    Comment

    Working...
    X