EXTENDED FILENAMES V1.0.0.1

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

Changelog:

ChangeLog v1.0.0.1:
Added $pdlcdir$ tag
Added “!” tag suffix

Credits:

ThundR

4.7/5 - (3 votes)

Download mod

File File size
zip FS22_TH_ExtendedFilenames 86 KB

You may also like...

Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
TIGGNTAZ
TIGGNTAZ
6 months 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
6 months 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 6 months ago by TIGGNTAZ
2
0
Would love your thoughts, please comment.x
()
x