This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:setterrainoverride [2013/12/09 20:34] – add note about -1 for default behavior Grayzzur | crpl:docs:setterrainoverride [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | ||
<- [[crpl: | <- [[crpl: | ||
===== SetTerrainOverride | ===== SetTerrainOverride | ||
Line 11: | Line 10: | ||
Setting the override value to -1 returns the cell to normal behavior with the actual terrain height. | Setting the override value to -1 returns the cell to normal behavior with the actual terrain height. | ||
+ | |||
+ | Terrain levels start at one, but terrain override levels start at zero. Zero is the same as the lowest terrain level. | ||
<color red> | <color red> | ||
+ | |||
+ | WARNING: Do not resize a map after applying terrain overrides. If you resize a map that contains terrain overrides it will cause a game breaking bug where you cannot save, load, or bring up the main menu. Since maps automatically save upon resizing, this glitch will permanently break your map if you did not back it up. | ||
=== Examples === | === Examples === |