Skip to content

Landscapetypes

← EXE Functions · code catalog

Friendly names for EXE category 11. Each maps to a top-level EXE code.


ReplaceLandscapeSprite

ReplaceLandscapeSprite(landscapeNr: int, text: string)  ·  exe 50

Actually loads a new PreHex graphic from the graphics directory.

Parameters

  • landscapeNr (int) — Landscape nr
  • text (string) — Text / DataString payload

The trailing text argument is sent as the SET-logic DataString (the final inline slot).

Example: exe(50,1,'Example Text')


ChangeLandscapeMoveCost

ChangeLandscapeMoveCost(landscape: int, movementtype: int, apCost: int)  ·  exe 134

No in-game description provided; behaviour inferred from the function name.

Parameters

  • landscape (int) — Landscape #
  • movementtype (int) — MovementType #
  • apCost (int) — AP Cost

Example: exe(134,1,1,1)


ReduceLandInitialEntrench

ReduceLandInitialEntrench(landscapetype: int, percentage: int)  ·  exe 156

No in-game description provided; behaviour inferred from the function name.

Parameters

  • landscapetype (int) — LandscapeType (-1=all)
  • percentage (int) — Percentage (100=same. 50=less >100=more)

Example: exe(156,1,50)


ChangeRoadTypeMoveCost

ChangeRoadTypeMoveCost(roadtype: int, movementtype: int, apCost: int)  ·  exe 259

No in-game description provided; behaviour inferred from the function name.

Parameters

  • roadtype (int) — RoadType #
  • movementtype (int) — MovementType #
  • apCost (int) — AP Cost

Example: exe(259,1,1,1)


This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.