Property Replacement
Feature
Allows you to globally modify any property with a new value.
Usage
All property replacement data is defined inside the prop_overrides folder, so you must first create that folder in your mod.
Create a .prop file with a unique name in the prop_overrides folder.
In that .prop file, add a string8s array, with each entry creating a new global property override.
To replace a property, add an entry to that list, each entry has the following format:
data_type
should be the value type of the target property you are replacing, for example, float
or int32
.
target_property_hash
should be the numeric value of the property you are replacing, for example, to replace the property modelMinScale
you would use the number 0xF023ED73
. You can convert from a property name to the hash in the tab of SMFX.
Define a property with the data_type
you put, and the name should match source_property_name
. This controls the value of the replaced property.
As an example, your file might look something like this: