PDA

View Full Version : Custom Content and My Documents?



Sir_Brizz
11-06-2009, 11:09 AM
Is it possible to make your game moddable?

I've got a simple game setup.

Is it possible to create a My Documents location for the game and store and retrieve custom content from there outside of the UDK install path?

Xero
11-09-2009, 01:24 AM
I don't know for sure but It should be.
I created a MYGame folder under My Document and copied a test package there.

Then I added the path to the UTEngine.ini under ..\UTGame\Config

sample:

Paths=..\..\UTGame\Content\
Paths=C:\Documents and Settings\name\My Documents\MYGame
Paths=..\..\UTGame\__Trashcan

I'm not sure if this will work for scripts as I've noticed there is also a "ScriptPaths=" function.

Makaze
11-09-2009, 01:30 AM
Haven't confirmed that it works but you'd likely be better off with "%HOMEPATH%\MYGame" or "%HOMEPATH%\My Games\MYGame" as that should map to the current users My Documents rather than a hardcoded one.

Though typically you should only be putting save data in those locations. Mods traditionally go in a subfolder of the game itself.

Sir_Brizz
11-09-2009, 02:24 AM
I'm thinking more custom maps, but that may not be possible anyway...