Page 1 of 1

DLC tutorial

PostPosted: Fri Jan 31, 2014 5:21 pm
by knucklecrunchgames
Hello everyone. So you want to make DLC in your game but have no idea how?

well now you do.

First
-----

Open you game menu

Add a button called Downloaded Content (note you can call it anything else)

now go into Actor control ---> add event ---> mouse button down ---> script editor

now add this event

Code: Select all
LoadGame("dlc.dat"); //This will load the dlc


click ok and save game and export it to a folder

now click new game and this time were not making the actual dlc yet but a fake one.

so add an actor and call him NoDlcText (or whatever you want)

Now add text and write: There is no DLC here, please download DLC from http://www.yoursite.com (or you guessed it, say what ever you want.)

save that, and export it. Rember, call it dlc and export it as a dat file.

Now were going to start the real DLC

Now start a new game and add whatever you want in your real DLC.

Save when your finished and export it in a different folder from your other and call it dlc, if you don't the files will replace each other.

Launch your main menu and press the downloaded content button. It should load the dlc saying: There is no DLC here, please download DLC from http://www.yoursite.com or whatever you put.

Exit and replace the fake dlc with the real dlc, and launch the main menu again, press the downloaded content button and you should see the real dlc whatever you put in it.

I guess thats all. If you didn't understand a word there, then download the example below

DLC Example.zip
(842.34 KiB) Downloaded 287 times
(Note you need 1.4.1 to open the geds viewtopic.php?f=28&t=13001)

If you still don't understand for some reason, then please pm me

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:30 pm
by MrJolteon
What about more than one DLC?

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:41 pm
by knucklecrunchgames
MrJolteon wrote:What about more than one DLC?


You would

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:46 pm
by knucklecrunchgames
MrJolteon wrote:What about more than one DLC?


well when you press on the downloaded content button, it would open a menu containing buttons like dlc 1 and dlc 2 dlc 3 ect...

and the buttons would open dlc1 dlc2 and all that.

mdlcexample.png

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:52 pm
by MrJolteon
I mean multiple separate DLC.
Like, downloaded individually.
Like most games do, instead of packing all the DLC into one file.

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:52 pm
by MrJolteon
Also what if more DLC is made after a game's release?

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:56 pm
by knucklecrunchgames
MrJolteon wrote:I mean multiple separate DLC.
Like, downloaded individually.
Like most games do, instead of packing all the DLC into one file.


well like I said, the dlc files, named dlc1 dlc2 etc... are different files, it just uses the same loader to load them

Re: DLC tutorial

PostPosted: Fri Jan 31, 2014 5:56 pm
by knucklecrunchgames
MrJolteon wrote:Also what if more DLC is made after a game's release?


you would send an update saying there is more dlc to get and add more dlc buttons to load and make more dlc