guides:2-scales-in-a-building
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
guides:2-scales-in-a-building [2020/04/22 18:06] – created vjraymon | guides:2-scales-in-a-building [2021/02/23 11:55] (current) – title fix minotorious | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
The following code is an example of 2 scales for the same building | The following code is an example of 2 scales for the same building | ||
Line 6: | Line 6: | ||
-- Register the primary root part | -- Register the primary root part | ||
myMod: | myMod: | ||
- | DataType = " | + | |
- | Id = " | + | Id = " |
- | Mover = { DataType = " | + | Mover = { DataType = " |
- | ConstructorData = { | + | ConstructorData = { |
- | | + | DataType = " |
- | | + | CoreObjectPrefab = " |
- | | + | EndPart = " |
- | | + | FillerList = { |
- | " | + | " |
- | " | + | " |
- | }, | + | }, |
- | BasementFillerList = { | + | BasementFillerList = { |
- | " | + | " |
- | }, | + | }, |
- | MinimumScale = 1, | + | MinimumScale = 1, |
- | BasementScale = 1 | + | BasementScale = 1 |
- | } | + | } |
}) | }) | ||
-- Register the secondary root part | -- Register the secondary root part | ||
- | StoneGateV6: | + | myMod: |
- | DataType = " | + | DataType = " |
- | Id = " | + | Id = " |
- | Mover = { DataType = " | + | Mover = { DataType = " |
- | ConstructorData = { | + | ConstructorData = { |
- | DataType = " | + | DataType = " |
- | CoreObjectPrefab = " | + | CoreObjectPrefab = " |
- | EndPart = " | + | EndPart = " |
- | FillerList = { | + | FillerList = { |
- | " | + | " |
- | " | + | " |
- | }, | + | }, |
- | MinimumScale = 0, | + | MinimumScale = 0, |
- | BasementScale = 0 | + | BasementScale = 0 |
- | } | + | } |
}) | }) | ||
</ | </ | ||
- | Note: | + | Note: |
- | 1) "MY_PRIMARY" | + | |
+ | 1) '' | ||
2) 2 green arrows appear. There are a little bit tricky to set. | 2) 2 green arrows appear. There are a little bit tricky to set. | ||
+ | <code lua> | ||
+ | Mover = { DataType = " | ||
+ | </ | ||
+ | is the current workaround (version 1.5) I found to make it easier (although this seems weird). | ||
guides/2-scales-in-a-building.1587593208.txt.gz · Last modified: 2020/04/22 18:06 by vjraymon