x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Is there any way to compile blue prints into C++?

I would like to know if there is anyway to compile blueprint graphs into C++ files? Or any other text based language?

Product Version: UE 4.10
Tags:
more ▼

asked Jan 01 '16 at 05:27 PM in C++ Programming

avatar image

maskedmonkyman
6 1 3 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Yes there is, it's still experimental and the code is all but not really for humans (by 4.10 it's still experimental). The tool we will use is called Generate Native Code to activate it just follow these steps:

  • Open a Blueprint

  • Set a keyboard shortcut to a command called Generate Native Code as shown next

command

  • Now a lil UI should popup that let's you compile your BP into native code.

tool

And voilà you got your code!

If you want to add the command as a tool and not just on a shortcut just add the following to your DefaultEngine.ini file.

 [Kismet]
 bNativeCodeGenerationTool=true

menu

Note: that it's experimental and it might break, all your code will translated in a series of states and loops with switches implementing the whole BP as a state machine.

more ▼

answered Jan 02 '16 at 08:41 PM

avatar image

Moss
6.4k 127 98 606

avatar image Ch3shireCat Feb 05 '17 at 09:52 AM

Wow, it's awesome! Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Yup! It's called "Blueprint Nativization", which you can find in your project settings.

More information: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/TechnicalGuide/NativizingBlueprints/index.html

more ▼

answered Feb 05 '17 at 05:59 AM

avatar image

MattWoelk
32 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question