PDA

View Full Version : Making my own .ini files?



musilowski
11-09-2009, 01:52 PM
I'd rather not edit the UDK supplied "default" .ini files. Is it possible to create my own .ini files which are based on the default or UT .ini files?

G0rdon
11-09-2009, 02:33 PM
yes you can

give them the name of the package for example and
add your custom gamemodes or weapons in it like me:

[CUSTOMWeap_NAMEHERE UTUIDataProvider_Weapon]
ClassName=PACKAGENAME.NAMEWeap_NAMEHERE
AmmoClassPath=PACKAGENAME.NAMEAmmo_NAMEHERE
MeshReference=UI_Weapons.Mesh.SK_UI_Weapons_LinkGu n_3P
FriendlyName=NAMEHERE
Description= empty

NAMEHERE stands for your weapon name
PACKAGENAME for the package file name
and NAME for UT or your mod name

joeGraf
11-09-2009, 07:51 PM
If you make a new script package, you can just mark a class as config with your custom INI files. For instance,

class YourCoolMod extends GameInfo
config(YourCoolMod);

That class will then load/save settings to YourCoolMod.ini

yty
11-10-2009, 01:53 AM
udk..
I ask how to make a new script package?

musilowski
11-10-2009, 03:27 AM
If you make a new script package, you can just mark a class as config with your custom INI files. For instance,

class YourCoolMod extends GameInfo
config(YourCoolMod);

That class will then load/save settings to YourCoolMod.ini

Thanks for replying! So this new .ini can then pull settings from the default .ini files? :)