Iris2.de
http://iris2.de/forum/

Custom maps, statics, anims etc.
http://iris2.de/forum/viewtopic.php?f=15&t=1372
Page 1 of 1

Author:  Joran [ Mon Apr 06, 2009 2:08 pm ]
Post subject:  Custom maps, statics, anims etc.

Okay, I'm not wanting to be pulled back into UO fulltime (ex-admin of a shard) but I would like to occasionally pop in and play.

The shard I admin'd and played is FULL of customs though, and it is pretty difficult to play if things like the maps aren't synced (for instance my character's house is in haven, but the fel map of haven in the tram facet, and there's a map-frozen building half-occupying my house! I think that's why I can't log in with certain chars too.

So, is it possible to add a directory of overrides, much as UOG did in the good old days, so when iris looks for file x, it checks the patch dir first, then the ML dir? I don't particularly want to manually patch the ml dir. At worst I guess I can script symlinks to an aggregated dir but I'd rather not have to.

Well, any help appreciated.

Author:  SiENcE [ Mon Apr 06, 2009 4:25 pm ]
Post subject: 

Hey,

great you find the way to Iris2.

Yes "you" can ;).

If i remember correct, you can specify every file Iris2 needs in your Iris2/config/config.lua file.

So you can distribute your config to every player.

All you need todo is, take a look into config_declarations file: http://zwischenwelt.org/trac/iris/brows ... ations.lua

Don't change this file. Just take a look at Part "------------------------------ UO Files --------------------------".

Code:
gHuesFile       = "hues.mul"
gArtidxFile     = "artidx.mul"
gArtFile        = "art.mul"
gGumpidxFile    = "gumpidx.mul"
gGumpFile       = "gumpart.mul"
gStitchinFile   = "stitchin.def"
gSpeechFile     = "speech.mul"
gTiledataFile   = "tiledata.mul"
gTexidxFile     = "texidx.mul"
gTexmapsFile    = "texmaps.mul"
gMultiidxFile   = "multi.idx"
gMultiFile      = "multi.mul"
gSoundidxFile   = "soundidx.mul"
gSoundFile      = "sound.mul"
gAnimidxFile    = "anim.idx"
gAnimFile       = "anim.mul"
gAnimdataFile   = "animdata.mul"
gEquipconvFile  = "Equipconv.def"
gRadarcolFile   = "radarcol.mul"

gProftxtFile    = "Prof.txt"

gUnifontFile    = "unifont.mul"
gUnifonts       = "unifont"      -- abstract filename
gClilocbaseFile = "Cliloc.enu"   -- standard clilocfile
gCliloc         = "Cliloc."      -- without extension, name depends on gLanguage setting
gIntlocFiles    = "intloc%02d."  -- abstract filename (intloc names are generated)

gGrannyConfigFile= "Models.txt"
gGrannyPath     = "Models/"
gMusicConfigFile= "Config.txt"
gMusicPath      = "Music/Digital/"


Just put a line in your config and directly specify the path where Iris2 should search this file. If Iris2 don't find this file there, it falls back to normal UO directory.

config/config.lua
Code:
gHuesFile               = "c:/custom/hues.mul"


i have to check this but i think i'm right. just try :-).

regards.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/