- All your Source Code Should Be Stored in the Src folder which located in your installation Directory and inside the Development Folder
- It should proper package. create a folder and name what ever you like but folder name not contain spaces or any special characters. Inside that create folder called "Classes" and put all your source code in that folder
Setting up the Compiler Configuration:
- Navigate to the UDK installation Folder, and go to Engine\Config (which locate all your Configurations)
- And Finds "BaseEngine.ini" and Open it up in any Text Editor (so notepad should work)
- Search "EditPackages" and you will find Bunch of configurations. like below
EditPackagesInPath=..\..\Development\Src
EditPackages=Core
EditPackages=Engine
EditPackages=IpDrv
EditPackages=GFxUI
EditPackages=GameFramework
EditPackages=UnrealEd
EditPackages=GFxUIEditor
EditPackages=WinDrv
EditPackages=OnlineSubsystemPC
EditPackages=OnlineSubsystemGameSpy
EditPackages=OnlineSubsystemLive
EditPackages=OnlineSubsystemSteamworks
EditPackages=OnlineSubsystemGameCenter
EditPackages=SubstanceAir
EditPackages=SubstanceAirEd
- After the Last "EditPackage" one Type: EditPackage = {Your package name}
- Remember we create folder inside the Development\src folder and store all the source code. replace {Your Package name} with that name.
- For example if you named that package as MyTestCode the final Configurations should be
EditPackages=Core
EditPackages=Engine
EditPackages=IpDrv
EditPackages=GFxUI
EditPackages=GameFramework
EditPackages=UnrealEd
EditPackages=GFxUIEditor
EditPackages=WinDrv
EditPackages=OnlineSubsystemPC
EditPackages=OnlineSubsystemGameSpy
EditPackages=OnlineSubsystemLive
EditPackages=OnlineSubsystemSteamworks
EditPackages=OnlineSubsystemGameCenter
EditPackages=SubstanceAir
EditPackages=SubstanceAirEd
EditPackages=MyTestCode
And Save BaseEngine.ini file and close it.
And Save BaseEngine.ini file and close it.
- Create a Shortcut of the Command Prompt and Right Click the shortcut> go to the properties and change "start in" location to your UDK installation directory Binaries\Win32 and press OK and close the property window
- Open that shortcut we created and type the command "udk make" and it Should Compile Your Code
That's It. Thank You!
No comments:
Post a Comment