I don't need to test my programs. I have an error-correcting modem.

Legacy:Native Coding

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

In the Unreal Engine, Native Coding is anything related to using the Unreal Engine headers and libraries to create (in C++) DLL files. This includes native UnrealScript classes, as well as purely native classes (commandlets, drivers, etc.)

UT[edit]

Unreal Tournament 2003[edit]

Native coding for UT2K3 isn't currently possible unless you're a licensee of the engine. Epic has not released nor have they mentioned any plans of releasing the headers for builds 2107+ of the engine.

(Note: If you wish to create native code, you may wish to email epic and request the headers, even if you are not a licensee. You will need to sign a few forms, but not necessarily pay anything).

Documentation on how the native code in the engine initiates UnrealScript events and function calls can be found in Game Event Flow

Unreal Tournament 2004[edit]

Native headers are not available for this game either. However, there are some native code snippets, including most of the native Onslaught vehicle code in the downloadable UnrealScript Source files.

Deus Ex[edit]

TheSheep: In fact, the Deus Ex headers and libraries can be found in the SDK. They are not automatically extracted but if you unzip the SDK package they are in DxHeaders.zip and DxLibs.zip

Comments[edit]

Tarquin: are any of the authors of the above still around? Anyone feel like contacting them to ask permision to import into the Wiki?

Lalo: is it at all possible to compile native stuff on Linux? I'm having a lot of headache with this, and with the ucc bug it seems not to be possible at all (see Native Coding On Linux)

TheRenegadeMaster: The headers for DeusEx can be found over at http://www.edgefiles.com/index.php/file?id=2907. The libraries have not been publicly released by Ion Storm though...

Çðrrð§ïðñ: This is sweet... I always wanted to make my own native code since I have a great deal of experience in C++.

Trystan: I didn't create a new page because the amount of information regarding native coding for both UT and UT2K3 is fairly sparse here.

Crawl: TheRenegadeMaster's link is dead.

TheSheep: In fact, the Deus Ex headers and libraries can be found in the SDK. They are not automatically extracted but if you unzip the SDK package they are in DxHeaders.zip and DxLibs.zip

TheSmarch: i followed the tutorial at http://www.esconline.org/Resources/nativetut.html exactly but i get a load of errors when compiling like "'AhzTest' : is not a class or namespace name" and "'StaticClass' : undeclared identifier" this is my first time trying native code and i dont know any other tutorials apart from that one :P anyone have any ideas why these errors are appearing?

Nemesisd: got headers of Unreal Tournament 2003?

Shambler: UT2k3 has no public headers

Raven: Changed to Revision 62, since someone deleted all content and paste spam here.

Wormbo: I've locked this page now. If you want to add anything, create Legacy:Native Coding/Discussion or a similar subpage.