Worldshaper Framework

If you liked this item, please rate it up on Steam Workshop page.

Author: Zorange

Last revision: 25 Mar at 17:33 UTC

File size: 1.4 MB

On Steam Workshop

Description:
If you are not a Modder

Simply download the mod and have it activated if it is required by another mod such as Change Vegetation, you dont need to worry about anything else.

Overview

This mod is a framework to allow mods to change Vegetation, Topography and Climate. It includes relevant modifiers to go from any basegame Vegetation to any other, same for Topography and Climate. Also allows you to check for veg/topo/climate like normally with scripted triggers, and change them via scripted effects. Also includes the 3 mapmodes needed to see the changes. Lots of comments have also been made in the files to make working with the framework easier, and the Change Vegetation Mod can serve as one example on how to implement it.

Detailed Features

1. Simple scripted triggers like wsf_is_woods = yes/no to allow you to easily check if a location either is unchanged basegame woods vegetation, or has been turned into woods by another modifier. Also returns no if the location is basegame woods but has been turned into something else by a modifier.

2. Simple scripted effects like wsf_set_veg_to_woods, which gives the location the appropriate veg1 to veg2 modifier based on what basegame vegetation it is. Does nothing if the location is already basegame woods.

3. Modifiers for all possible vanilla differences of Vegetation 1 to Vegetation 2, meaning that if this modifier is applied to a location with basegame Vegetation 1, the sum of its modifiers will behave like Vegetation 2, and also show up as Vegetation 2 on the mapmode. Same for Topography and Climate.

4. A simple wsf_clear_veg_effect to clear all Vegetation change modifiers, which should be applied before changing the vegetation via something like wsf_set_veg_to_woods. Same for Topography and Climate.

Compatibility

● Should be savegame compatible
● Should work with any mod
● Intention of the Framework is that 2 mods can check for the same vegetation changes with the same triggers and such, to allow cross mod compatibility.

Issues and bug reports

Please report any issues, bugs, complaints and suggestions on Modern Day Mod Discord[discord.gg]. This especially extends to the comments in the files, which i would like to continuously improve to make the Framework as easy to use as possible.

General Notice for Modders

The intention of this Framework is to allow multiple mods to change Vegetation, Topography and Climate easily, and to also check for these changes in a unified Framework. Feel free to make submods or expanded versions of the Framework for mods that add new veg/topo/climate, or to include the Framework outright in your mod if it is big or transformative enough, so for example total conversions can completely include it, however there should always be a link to the Framework somewhere in the description of your mod in these cases, and i would also appreciate to be contacted beforehand, altough it is not strictly necessary. If you are having trouble making submods or expanded versions or including it in your bigger mod, please contact me on Modern Day Mod Discord[discord.gg], i am happy to help.

Mods by me:
Change Vegetation
Worldshaper Framework
Pannonian Sea
Alphabetically Sorted Goods
Reversed Rivers