User Tools

Site Tools


crpl:docs:setterrainoverride

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:setterrainoverride [2013/10/26 02:01] – created Grayzzurcrpl:docs:setterrainoverride [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#terrain_and_wall_commands|Terrain and Wall Commands]]
 =====  SetTerrainOverride  ===== =====  SetTerrainOverride  =====
Line 10: Line 9:
 Sets the override height of the terrain cell at X,Y. Unlike [[crpl:docs:SetTerrain]], the override height of the terrain can be set above 10. This can be used to contain large amounts of creeper and prevent it from overflowing. This is how the creeper is contained in the Credits mission. Sets the override height of the terrain cell at X,Y. Unlike [[crpl:docs:SetTerrain]], the override height of the terrain can be set above 10. This can be used to contain large amounts of creeper and prevent it from overflowing. This is how the creeper is contained in the Credits mission.
  
-<color red>Terraforming with Terps will not change the override value of the cell.</color> Recommend not allowing Terps on maps when using this feature.+Setting the override value to -1 returns the cell to normal behavior with the actual terrain height.
  
-FIXME Virgil also mentioned not using mass driversNot sure what that is or how it affects terrain.+Terrain levels start at one, but terrain override levels start at zero. Zero is the same as the lowest terrain level. 
 + 
 +<color red>Terraforming with Terps and Mass Drivers will not change the override value of the cell.</color> Recommend not allowing Terps (player unit) or using Mass Drivers (Artifact of Odin) on maps when using this feature. 
 + 
 +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 ===
crpl/docs/setterrainoverride.1382752917.txt.gz · Last modified: 2025/02/14 14:56 (external edit)