2

Can I use C++ with UDK? I know they mention unrealscript on their page but I've also heard that C++ can be used instead, is that so?

smallB
  • 16,662
  • 33
  • 107
  • 151
  • possible duplicate of: http://stackoverflow.com/questions/15206681/what-language-is-used-when-programming-in-unreal-development-kit – Mysticial Mar 04 '13 at 17:29
  • 1
    As soon as one question gets closed, you open essentially the same one again. This is so unreal! – Jerry Coffin Mar 04 '13 at 17:30
  • 2
    @JerryCoffin I asked once this question, and people closed it as "Not real question". So I re-worded it to show, that indeed, that is real question and the answer to it isn't obvious at all. – smallB Mar 04 '13 at 17:31
  • Have you tried asking the folks at Unreal? – Thomas Matthews Mar 04 '13 at 21:57
  • 1
    @JerryCoffin and what's really unreal is the arrogance and ignorance of some people here. How this question could be closed as Not a real question? How? – smallB Mar 06 '13 at 07:32

3 Answers3

1

It depends. If you use the free version of UDK you can't code the game in C++, but you can include self written DLLs which can be written in C++.

If you become a licensee you get the C++ source code of the unreal engine 3 and then are able to program in C++.

But getting the source code is very expensive, several grand if I recall correctly, so you are probably stuck with UnrealScript for the majority of your time.

red_rain
  • 398
  • 4
  • 15
  • thanks for answering to "Not a real question" ;). In that case (being stuck with UnityScript) I better forget about it and move to OGRE. I simply cannot sacrifize performance, that's why I also didn't consider Unity. Thanks anyway. – smallB Mar 06 '13 at 07:30
  • @SmallB I'm sad to see that during the last *two years* you are as closeminded as you were, and haven't learned anything. Considering the fact that Unity 5 will have, among other really impressive features, a GI module, for example, your pet hate is obviously inappropriate here. – Bartek Banachewicz Apr 01 '14 at 10:02
0

More information about how use DLL: Calling DLLs from UnrealScript (DLLBind)

0

Unreal Engine 4 was released recently for 20$/month + 5% of profits, and you get access to its source code which you can compile with your code together.

However, you won't find the UnrealScript component, the only scripting solution available is the GUI-based Kismet-like thingy.

Bartek Banachewicz
  • 38,596
  • 7
  • 91
  • 135