Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've never used the UDK before and I am wondering: is it possible to use the UDK through C++ instead of UnrealScript?

I saw it's possible to bind external C++ DLL's to UnrealScript, but I don't know if it's possible to call engine functions from inside C++ code.

share|improve this question
    
Maybe it's not possible, because of .dll's raison d'etre. –  EmAdpres Nov 12 '12 at 7:20
    
Also in case you didn't know, you can use C++ with Unreal but not UDK easily –  CobaltHex Nov 13 '12 at 1:07
    
@CobaltHex: from epic site it seems only to allow me to download UDK. Where can I find UnrealEngine3? What's the license cost? –  Heisenbug Nov 13 '12 at 9:36
1  
unreal engine 3 is only (afaik) licensed to AAA companies. It probably costs at least $10k –  CobaltHex Nov 14 '12 at 2:47
add comment

2 Answers

up vote 5 down vote accepted

As you've spotted yourself, it's possible to use C++ within the UDK thanks to DLLBind. But there's no way you will be able to call engine functions from C++, you'll have to glue everything together using UnrealScript.

share|improve this answer
    
thanks for clarify. Is there any good reason in order not allow C++ bindings to engine function in UDK? –  Heisenbug Nov 12 '12 at 13:14
    
I suppose that would render licensing UE3 less interesting for developers, and Epic doesn't want to cut that revenue stream. So not a technical reason, bur rather a business decision. –  Laurent Couvidou Nov 12 '12 at 13:34
add comment

With UDK 4.0 and higher, definitely, since UnrealScript is being replaced with direct C++ APIs. UDK 3.0 and lower, unlikely.

share|improve this answer
2  
Woah, really? Would you be kind enough to provide any other information you have regarding this, links even? I've searched around but can't find much. Would appreciate it. EDIT: I've found mention of this with regards to UE 4. Do you mean this would be the case with the hypothetical UDK based on UE 4? –  Jorge Israel Peña Nov 12 '12 at 6:22
    
thank your for the answer. Could you provide some reference on direct C++ for UDK 4.0? –  Heisenbug Nov 12 '12 at 10:38
    
@JorgeIsraelPeña: Yes, this is the case with the hypothetical UDK shipped with UE 4. –  Casey Nov 12 '12 at 12:18
    
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.