Announcement

Collapse
No announcement yet.

Saving material

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

    #16
    ClockworkOcean ok then I know! I’ll do that! No it’s not massive at all. At the moment it’s just a basic cube. Once I’m able to save it it’s time to try it out on several cubes. As soon as I’m able to save/load a lot of cubes with chosen material I will start importing from 3ds max.

    Comment


      #17
      Originally posted by Fiorentin1 View Post
      ClockworkOcean ok then I know! I’ll do that! No it’s not massive at all. At the moment it’s just a basic cube. Once I’m able to save it it’s time to try it out on several cubes. As soon as I’m able to save/load a lot of cubes with chosen material I will start importing from 3ds max.
      I will make a proj with a few cubes then... Gimme a little while...

      Here:

      https://drive.google.com/file/d/156C...ew?usp=sharing

      When you fire at them, they change color. Exit the game and restart, they know thier color.

      They have already been numbered. The BP in the foreground is an example of how to number a large amount of cubes. When you click on it, in the details, there's a button.

      Delete the save game if and set the cube numbers to zero if you want to try from scratch.
      Last edited by ClockworkOcean; 08-24-2020, 07:52 AM.
      Check out Zof ( puzzle game ) on Steam:

      https://store.steampowered.com/app/1414480/Zof/

      Comment


        #18
        If you use parameters on Dynamic Material Instances instead of using "Set Material" nodes to change colors, then I have two plugins that can do what you need;



        With PDM you just have to setup your material instances, change public material params at runtime then use "Capture Material Snapshots" and "Restore Material Snapshots" nodes.
        This system has been used on several archviz projects:
        https://www.unrealengine.com/marketp...amic-materials


        "Savior" plugin can also do the same, but it's a way more complex/complete save system for complex games:
        https://forums.unrealengine.com/unre...59#post1799059
        | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

        Comment


          #19
          ClockworkOcean wow thaks alot, so very kind of you! If i would like to apply this to my imported meshes from 3ds max, i guess the easiest way would be to just select all of them and right click ->Replace selected actors with "ColorCube". Of course with a new "ColorCube" mesh - the very same as the one i will replace. Or is there another way that is way smarter?

          Can I replace the random integer so that it goes from material 1 til 3 and then back to 1?

          Again, super kind of you!

          BrUnO XaVIeR thanks, i will check it out, several really neat plugins!

          Comment


            #20
            Originally posted by Fiorentin1 View Post
            ClockworkOcean wow thaks alot, so very kind of you! If i would like to apply this to my imported meshes from 3ds max, i guess the easiest way would be to just select all of them and right click ->Replace selected actors with "ColorCube". Of course with a new "ColorCube" mesh - the very same as the one i will replace. Or is there another way that is way smarter?

            Can I replace the random integer so that it goes from material 1 til 3 and then back to 1?

            Again, super kind of you!

            BrUnO XaVIeR thanks, i will check it out, several really neat plugins!
            No problem

            The trouble is, they need to be blueprints, that's how they respond.

            You could replace all your meshes with color cubes, but maybe you have spent a long time getting them to look a certain way etc.

            If that's the case, you could just take the color cube BP and replace the cube with your mesh.

            I don't really know what your situation is...

            PS: If all your imported meshes are different, you need to put a mesh array in the color cube BP and populate it with your imported meshes. Best of both worlds.
            Last edited by ClockworkOcean; 08-24-2020, 04:39 PM.
            Check out Zof ( puzzle game ) on Steam:

            https://store.steampowered.com/app/1414480/Zof/

            Comment

            Working...
            X