Default Types V1.0.0.3

Default Types v1.0

This is a little addon that changes the way fill types and fruit types are loaded. Normally, xml files from the game install folders load first, then the map information is loaded and added to those existing entries.

This allows map makers to make their map configurations the base configuration, bypassing the game install files altogether. This allows for more flexibility and control when setting up map types, and also resolves some issues that can come from appending to existing entries.

Activating is as simple as copying the xml file(s) you want to use as the new base into your map, and use the thDefaultTypes key in your map.xml file. Examples are included in the sdk folder of this mod.

Examples:
<fruitTypes filename=”path/to/maps_fruitTypes.xml” thDefaultTypes=”true”/>
<fillTypes filename=”path/to/maps_fillTypes.xml” thDefaultTypes=”true”/>

When overriding the base game xml file(s) inside of a map, make sure you copy and edit the full xml(s) file in question. The reason is, those files will no longer load from the game install folder, so you need the base entries in your map. From there, you can edit or remove anything you like.

Note: This also addresses the fruit type double registration issue when trying to change vanilla fruit/fill type values. Double registrations will show a warning and try to self correct if this mod is enabled.

That is all, have fun!

Changelog:

V1.0.0.3

– Uploaded older version that still had a code type. This should now be fixed.

Credits:

ThundRFS

5/5 - (1 vote)

Download mod

File File size
zip FS25_TH_DefaultTypes_V1_0_0_3 97 KB

You may also like...

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x