EXTENDED FILENAMES V1.0

EXTENDED FILENAMES V1.0

This is just a little mod I wrote to allow the use of $mapdir$, $moddir$, and $FS22_SomeModName$ inside of more configuration xml files than the vanilla game allows.
Once again, this was written based on a request. The idea was to allow mods to dynamically load files from other mods via xml configuration (like vehicle and placeable xml files).

The format goes as follows:
$mapdir$path/to/filename.xml uses the current map mod folder
$moddir$path/to/filename.xml uses the current mods folder
$FS22_SomeModName$path/to/filename.xml uses a specific mod folder

Credits:

ThundR

4.7/5 - (3 votes)

Download mod

File File size
zip FS22_TH_ExtendedFilenames 85 KB

You may also like...

Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
TIGGNTAZ
TIGGNTAZ
26 days ago

Sorry still very new to Modding. If I was using this to build mad and wanted to add a wagon to a horse husbandry do I need anything other than the file path?

TIGGNTAZ
TIGGNTAZ
Reply to  TIGGNTAZ
25 days ago

I mean is this correct because it isn’t working.

      
“manureHeap
      manureHeap node=”manureHeap” filename=”$data/placeables/lizard/manureHeap/manureHeapExtension.xml”
manureHeap      

Last edited 25 days ago by TIGGNTAZ
2
0
Would love your thoughts, please comment.x
()
x