Announcement

Collapse
No announcement yet.

Thanks for the BP->C++ Converter, it's awesome!

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

    #61
    I think this tool is a great idea, I could write CPP but there are cases when I need the rapid iteration of BP to refine expressions and this could make converting those into CPP faster than me doing it by hand. Obviously the code has said not to be too readable but I would probably only ever use it for smaller chunks to build up function libraries, new nodes for me to use that bypass BPs weaknesses.

    One of the biggest thing BP has going for it is it isnt human readable it has a layer there for display so you could output it in any other visual way (including text), Im surprised someone hasnt made a node->text graph tab yet but this is certainly a step in that direction. Im really hopeful about the future of BP because of the support it gets with projects like this, I cant wait to see as it evolves and gets faster with larger libraries of nodes to use and less barriers between the sub-editors

    Comment


      #62
      The custom events don't work for me in the last preview (not tried before)

      The Trigger events don't work in the packaged version.

      https://answers.unrealengine.com/que...-problems.html

      And I got problems too with the plugins.
      Last edited by Hevedy; 03-24-2016, 07:13 AM.
      Hevedy - Instance Tools: https://hevedy.itch.io/hevedyinstances
      Hevedy - Image Tools: https://hevedy.itch.io/imagetools

      Comment


        #63
        Originally posted by kaziu View Post
        Thank you!

        The converted code is saved in:
        <Project Path>\Intermediate\WindowsNoEditor\NativizedAssets\Source\
        Could it be that this info is not up to date?

        For me it was in: <Project Path>\Intermediate\Plugins\NativizedScript\Source\NativizedScript\[Public|Private]

        Edit:

        THANK GOD FOR THIS PLUGIN, by prototyping in BP and converting to C++ it is now MUCH MUCH easier to learn the ins and outs of UnrealC++

        Edit2:

        Im crying now that I found out that probably most functions called are meant for Blueprints only D:
        Last edited by rYuxq; 04-26-2016, 03:24 PM.

        Comment


          #64
          so, how does this work? Do you run plugin to generate C++ code and then integrate it into UE4's C++ code and then recompile?

          Comment


            #65
            Originally posted by motorsep View Post
            so, how does this work? Do you run plugin to generate C++ code and then integrate it into UE4's C++ code and then recompile?
            You only turn on option in Project Settings and forget about this It converts BP to C++ during packaging project That's all!
            Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

            Comment


              #66
              That is indeed very impressive, but seeing as how this could potentially either work great or not at all - wouldn't the ability to specify which blueprints to "nativize" be a better option...? Like Hevedy mentioned he's apparently got some issues with plugins and some events not working; so instead of it all breaking - you could prevent those BPs that do not properly convert from being converted.

              I have no idea how this stuff works, to me it's magic - basically skynet stuff going on. Just a thought.

              Edit:

              I just read the preview summary for 4.12 and saw this;

              Code:
              Can exclude certain Blueprints from the process in your game’s DefaultEditor.ini file (under [BlueprintNativizationSettings]). General “types” of Blueprints can be excluded: +ExcludedBlueprintTypes=/Script/UMGEditor.WidgetBlueprint. Specific assets can also be excluded: +ExcludedAssets=/Game/Blueprints/MyBlueprint
              As always, Epic Games is already lightyears ahead
              Last edited by Dealman; 04-27-2016, 12:17 PM.

              Comment


                #67
                In Blueprint Nativization post I wrote a note about the feature. I (tried to) answer some common questions.

                Comment


                  #68
                  Originally posted by teak421 View Post
                  Think there will still be a place for native C++ code for readability. Blueprints can get messy...

                  teak
                  Blueprint still don't have 100% access to APIs, you still need C++ to fully use OnlineSubsystems, don't (and never will) have direct access to Slate and 100% of it's widgets. Also there is stuff that easier to be done in C++ then Blueprint, like more advance loops.
                  =========
                  My Tutorials:
                  Basic knowledge about Classes and UObject environment and stuff like that

                  Comment


                    #69
                    Not sure if anyone has asked this yet, but does the converter work with umg widgets?

                    Comment


                      #70
                      Totally agree. I don't like the idea of Blueprints. I suppose they are good for prototyping and for very small things, but I have to code. C++ is awesome and very powerful.

                      Comment


                        #71
                        Just trying this out for the first time, in 4.11, I notice that if there is a line break in a blueprint comment, it will translate to a line break in the C++ source, which won't work with C++ "//-style" comments. It should strip the line breaks and/or wrap the comment in a "/* */" pair.

                        Comment

                        Working...
                        X