Unreal Engine 3: Code
#1 Members - Reputation: 112
Posted 25 June 2012 - 06:37 PM
Thanks,
-Noob
#2 Moderators - Reputation: 14296
Posted 25 June 2012 - 07:47 PM
Only the professional version of Unreal Engine (not the free UDK) allows you to use C++, AFAIK.
If you're new, then you shouldn't use C++ anyway -- it's an advanced, low-level, systems programmer's language, not a beginners game programming language.
Edited by Hodgman, 25 June 2012 - 07:48 PM.
#3 Members - Reputation: 112
Posted 25 June 2012 - 07:51 PM
Then in your opinion are there any limitations in unrealscript versus cpp?The UDK uses Kismet and UnrealScript.
Only the professional version of Unreal Engine (not the free UDK) allows you to use C++, AFAIK.
If you're new, then you shouldn't use C++ anyway -- it's an advanced, low-level, systems programmer's language, not a beginners game programming language.
#4 Members - Reputation: 3823
Posted 26 June 2012 - 12:16 AM
Unrealscript can only be used with Unreal Engine / UDK and "only" lets you control the unreal engine.Then in your opinion are there any limitations in unrealscript versus cpp?
C++ can be used for anything(almost) but supports almost nothing. it is great for building new systems but not really a nice language to use for controlling existing systems. (Which is why so many games these days use higher level scripting languages(unrealscript, lua, python, etc) for the game logic)
The voices in my head may not be real, but they have some good ideas!
#5 Members - Reputation: 316
Posted 26 June 2012 - 12:29 AM
Hope this helps.
#6 Members - Reputation: 690
Posted 26 June 2012 - 07:39 PM
Only the professional version of Unreal Engine (not the free UDK) allows you to use C++, AFAIK.
Most people don't know this but you can use C++ libraries with UDK by using the "DLLBind" feature:
http://udn.epicgames...ee/DLLBind.html
In fact one clever guy figured out how to trick DLLBind into calling into C# libraries yet this is not officially supported.
UnrealScript is meant for use with unreal engine only and is a highly abstracted scripting language that allows you to focus on writing gameplay without dealing with advanced programming concepts. Performance wise, its much slower than C++, as it uses a middle-ware interpreter to execute. However, for "almost" all gameplay programming needs in UDK, it should suffice. Infact, even Epic suggests to code gameplay with UnrealScript and not C++, unless you are working on really performance driven engine code.
Hope this helps.
Partially true, yes UnrealScript runs 20X slower than C++[1] and it is highly abstracted. But you can do a lot more than basic gameplay scripting with it. The networking component of the engine is very complex and you can even use it to implement web servers. Also a lot of the classes you deal with in UnrealScript are extended directly from C++ classes so most of the "performance critical" code that you would use (vector ops, math functions) have UnrealScript functions , so you wont be needing to really go into C++ at all.
[1] Yes that figure is quoted from Unreal Developer's Network : http://udn.epicgames...amming Strategy
EDIT sorry for my poor grammar, I was drunk.
Edited by M6dEEp, 28 June 2012 - 04:57 PM.
#8 Members - Reputation: 690
Posted 27 June 2012 - 12:48 AM
UDK is free and if you want to go commercial it is ~15 times cheaper than unity (99 USD for license with UDK opposed to 1500 for Unity Pro). UDK is VERY free and everything shipped with it is 100% AAA and tested time and time again to be the best out there. You don't win best engine of the year several times in a row for no reason.UDK is not free? Hence why not use OGRE etc.? Maybe have a look at gamekit?
I know c++ and Blender, so I'll go with Ogre unless someone has good arguments against.
Also it is very interesting to see so little knowledge of UDK on this site.. maybe I should do some posts about it (or maybe I'm just in the wrong forum)?
#9 Crossbones+ - Reputation: 1242
Posted 27 June 2012 - 01:52 AM
Only the professional version of Unreal Engine (not the free UDK) allows you to use C++, AFAIK.
Most people don't know this but you can use C++ libraries with UDK by using the "DLLBind" feature:
http://udn.epicgames...ee/DLLBind.html
In fact one clever guy figured out how to trick DLLBind into calling into C# libraries yet this is not officially supported.
Wait for UDK 4 for and we will only have kismet and C++ code they have gotten rid of UnrealScript
http://www.youtube.com/watch?v=MOvfn1p92_8&feature=plcp
Edited by NightCreature83, 27 June 2012 - 01:53 AM.
#11 Members - Reputation: 690
Posted 27 June 2012 - 03:06 AM
Wait for UDK 4 for and we will only have kismet and C++ code they have gotten rid of UnrealScript
, also dynamic C++ compiling on the fly. See last 2 minutes of video.
http://www.youtube.com/watch?v=MOvfn1p92_8&feature=plcp
http://forums.epicgames.com/threads/915696-UDK-In-Unreal-Engine-4/page2
That is so weird...
Edited by M6dEEp, 27 June 2012 - 03:10 AM.






