DLC tutorial

Learn how to make certain types of games and use gameEditor.

DLC tutorial

Postby knucklecrunchgames » Fri Jan 31, 2014 5:21 pm

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 288 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
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: DLC tutorial

Postby MrJolteon » Fri Jan 31, 2014 5:30 pm

What about more than one DLC?
Join us on Discord!

Your local Community Janitor
User avatar
MrJolteon
 
Posts: 2277
Joined: Sat Aug 09, 2008 3:25 pm
Location: Page 400 of the interblag
Score: 100 Give a positive score

Re: DLC tutorial

Postby knucklecrunchgames » Fri Jan 31, 2014 5:41 pm

MrJolteon wrote:What about more than one DLC?


You would
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: DLC tutorial

Postby knucklecrunchgames » Fri Jan 31, 2014 5:46 pm

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
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: DLC tutorial

Postby MrJolteon » Fri Jan 31, 2014 5:52 pm

I mean multiple separate DLC.
Like, downloaded individually.
Like most games do, instead of packing all the DLC into one file.
Join us on Discord!

Your local Community Janitor
User avatar
MrJolteon
 
Posts: 2277
Joined: Sat Aug 09, 2008 3:25 pm
Location: Page 400 of the interblag
Score: 100 Give a positive score

Re: DLC tutorial

Postby MrJolteon » Fri Jan 31, 2014 5:52 pm

Also what if more DLC is made after a game's release?
Join us on Discord!

Your local Community Janitor
User avatar
MrJolteon
 
Posts: 2277
Joined: Sat Aug 09, 2008 3:25 pm
Location: Page 400 of the interblag
Score: 100 Give a positive score

Re: DLC tutorial

Postby knucklecrunchgames » Fri Jan 31, 2014 5:56 pm

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
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score

Re: DLC tutorial

Postby knucklecrunchgames » Fri Jan 31, 2014 5:56 pm

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
User avatar
knucklecrunchgames
 
Posts: 1124
Joined: Wed Nov 21, 2012 8:01 pm
Location: In gameEditor.exe
Score: 17 Give a positive score


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron