[CODE] Save your game to My Documents using DLLBind
Hello everyone 😀
In this tutorial i will tell you how to save your game to end-users My Documents folder with any file extension you want. This tutorial will make use of UDK’s DLLBind feature and to create this DLL i used C# language.
NOTE: Download includes C# source code including the DLL file + UnrealScript Files. In case you want to change anything you will need Microsoft Visual Studio Express (FREE) or above.
1: Download the above file and extract the DLL file to your UDK Installation Directory\Binaries\Win32\UserCode folder.
2: Extract SaveGameBase.uc and CustomPlayerController.uc and CustomGameInfo.uc to your UDK Installation Directory\Development\Src\MyMod\Classes folder.
3: Do a full recompile and Start UDK Game using CustomGameInfo and use the functions SaveGame and LoadGame functions.
I have commented everything in UnrealScript files. If you have any doubt feel free to ask me in the comments section. 🙂