Skip to content

Translating Blueprints to C++ in Unreal Engine?

Hello,

After learning to code with C++ through a UE4 course on Udemy, I'm taking this new found knowledge and creating a Third Person Zombie Shooter inspired by COD Zombies for my final collaborative project on my course.

Even though I've only spent a few months learning this language, I still don't have the knowledge to program without going back onto Blueprints or producing something without help.

I saw a video that discussed about techniques that could be used to take mechanics created in Blueprints & translate them into code for C++ & considering some of the ideas that I wish to implement don't have tutorials with C++ but sometimes rather in Blueprints, it led me to my questions that could help me complete my project & achieve my final grades.

What is a good technique to help someone like myself who wants to implement the same mechanics from Blueprints but make them within C++ classes?

Any responses will be appreciated and valued (I already managed to implement movement & changing character movement through Trigger Volumes so I liked to think I've learnt something😄)

1 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 67% up
Kind
Text
ID
sjtwvs

Author

7
posts
0
comments
0
media
View profile

2 comments

Learn about the basics of c++ outside of the unreal realm. The basics should be enough. And try to understand the concepts of object oriented. I d suggest this first.

But for your specific question. I myself don’t use blueprints. But blueprints are coding logic just through a visual interface. So you ll find if‘s and loops and what else there. And when you are more comfortable with the basics of programming and oop. You at some point just click. Now c++ is one of the harder languages out there so don’t feel discouraged if it takes you some time to be self sufficient. You can of course still watch all the YouTube videos you want but I d also suggest doing some self studies in the fields of the language itself, stuff like reading the documentation. Or look into unreal documentation of all the namespaces and everything they additionally provide you with. Also if you understand blueprints well and can implement stuff in them you then aren’t that far off from the actual code. As the thought process already worked now it is more about the syntax and well in c++ some additional work.

Hope this helped a little bit

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.