PDA

View Full Version : "Improved Mod Support" -mod commandline switch problems



legacy-ghickey
01-30-2006, 04:44 PM
Just finished implementing the new "Improved Mod Support" as described in http://udn.epicgames.com/Two/ImprovedModSupport.

Everything works -- compiliation and running the game. However when I run the game through UnrealEd...it barfs, stating that it can't find my texture packages. What is baffling is that I am able to run the same map using ut2004.exe -mod=?????? (where ????? = name of my mod).

The following have been tripple-checked:
1) Have the newest patch

2) I run the editor using 'unrealed.exe -mod=?????' (where ?????=name of my mod).

3) A textures directory under C:\UT2004\?????\Textures exists

4) The default.ini file in C:\UT2004\??????\System has the line '+Paths=../??????/Textures/*.utx'

Perhaps there is some property I have to set in UnrealEd itself so that it knows which mod to play? This wouldn't make sense, as I am running UnrealEd with the '-mod' commandline switch.

Please advise

Wormbo
01-31-2006, 05:00 AM
Make sure there's an [UnrealEd.UnrealEdEngine] section in the main INI file in your mod's System directory and add the -mod=... switch to the "GameCommandLine=..." line.

legacy-ghickey
01-31-2006, 09:58 AM
Thanks ! It worked!