migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
migration [2020/05/22 12:14] – maxime | migration [2021/06/08 14:51] – maxime | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== BUILDING and MONUMENT asset types ==== | ==== BUILDING and MONUMENT asset types ==== | ||
- | Monuments have been reworked, and the '' | + | Monuments have been reworked, and the '' |
=== Buildings === | === Buildings === | ||
- | A building' | + | A building' |
<file lua> | <file lua> | ||
Line 34: | Line 34: | ||
=== Monuments === | === Monuments === | ||
- | Monuments are now created around a single building part, placed before all the others. This part is the one selected just after selecting the monument in the building selection menu. This part has to be specified in the property '' | + | Monuments are now created around a single building part, placed before all the others. This part is the one selected just after selecting the monument in the building selection menu. This part has to be specified in the property '' |
- | The core building part, if removed, will remove the whole monument. Like for the market, the core building part can be used for preview only, and be invisible once built by setting '' | + | The core building part, if removed, will remove the whole monument. Like for the market, the core building part can be used for preview only, and be invisible once built by setting '' |
<file lua> | <file lua> | ||
Line 44: | Line 44: | ||
if (foundation.getGameVersion == nil or version.cmp(foundation.getGameVersion(), | if (foundation.getGameVersion == nil or version.cmp(foundation.getGameVersion(), | ||
- | myMonument.DataType = " | + | myMonument.DataType = " |
myMonument.BuildingPartSetList = { | myMonument.BuildingPartSetList = { | ||
{ | { | ||
Line 51: | Line 51: | ||
} | } | ||
else | else | ||
- | myMonument.DataType = " | + | myMonument.DataType = " |
- | myMonument.AssetCoreBuildingPart = " | + | myMonument.AssetCoreBuildingPart = " |
myMonument.BuildingPartSetList = { | myMonument.BuildingPartSetList = { | ||
{ | { | ||
Line 70: | Line 70: | ||
Before: | Before: | ||
- | * CorePart - '' | + | * CorePart - '' |
- | * StartPart - '' | + | * StartPart - '' |
- | * EndPart - '' | + | * EndPart - '' |
Now: | Now: | ||
- | * CorePart - '' | + | * CorePart - '' |
- | * StartPart - '' | + | * StartPart - '' |
- | * EndPart - '' | + | * EndPart - '' |
==== Slope constructor ==== | ==== Slope constructor ==== | ||
- | Improvements have been made to the bridge, and you now have to setup bridge end parts ('' | + | Improvements have been made to the bridge, and you now have to setup bridge end parts ('' |
==== Building zone and basement ==== | ==== Building zone and basement ==== | ||
- | To improve the number of basement spawned, scalable building parts (with constructor '' | + | To improve the number of basement spawned, scalable building parts (with constructor '' |
+ | |||
+ | The [[api: | ||
===== Foundation 1.4.5.1009 ===== | ===== Foundation 1.4.5.1009 ===== |
migration.txt · Last modified: 2023/09/05 11:21 by mathieu