4.0 KiB
LlamaMod documentation
Documentation for modding The Emperor's New Groove (PC, 2000; German: Ein Königreich für ein Lama) with LlamaMod: building levels, the game's file formats, and how the game's object scripts ("strats") work.
Start here
| If you want to … | read |
|---|---|
| build your own level | Guide: Build your own level |
| look something up in the editor | Level editor manual (also in the editor: F1) |
| know the numbers and rules of the engine | Design rules |
| build levels from code | Levels from scripts |
| understand the game's data | Reference |
| change or write object behaviour | Strats |
| find a tool | Tools |
| work on LlamaMod itself | For developers |
Contents
Guide – for level builders
- Build your own level: setup, editor basics, ground, start and exit, objects, look and feel, play-test, sharing
- Design rules: sizes, jump distances, the rules that keep a level working
- Levels from scripts: Python and Java level builders, the editor's command line
Level editor manual – every tool, panel and dialog of the editor, with tutorials (first level, parkour, editing an original level, Blender import)
Reference – the game's data
- Game files: folders, naming scheme, worlds, COR pictures, movies, save games
- WAD container: the chunks of a level file
- Geometry and collision: tiles, grid, coordinate spaces, collision materials, visibility regions
- Objects, waypoints, zones: strat records, parameters, the exit, environment zones, lights
- Textures: pages, pixels, texture rectangles, animations
- Music and sound: ASF music, sound banks, speech – known and unknown
- TestLevel (world 9): where custom levels live, safe chapters
- Engine facts and limits: scale, draw distance, memory, crashes
Strats – object behaviour
- How the strat VM works: units, frames, variables, events, spawning, collision
- Reading scripts: the Script view and the assembly
- The script language: writing new behaviour
- Customising strats: constants, imports, clones, custom types, mods
- Example: the Alligator Arena: a complete minigame explained step by step
- Example: the roller coaster: a new ride for the game's own coaster cart – track data and waypoints, no new strat code
Tools – LlamaMod's launcher, editor and command line, the Python kit, the in-game test harnesses
For developers – build, code map, writing a mod, maintaining the manual
Lab notes – the detailed engineering notebook behind all of this
Pictures
![]() |
![]() |
| The launcher: mods with options, save games, settings | The level editor with Village 1 |
![]() |
![]() |
| The Alligator Arena minigame | Debug view: collision and invisible objects in the game |
Status and honesty
Everything here was found by reverse engineering and tested against the game; where something is a guess, the page says so (likely, unknown). Development used the German CD; other language versions are expected to work but were not tested. The project is not affiliated with Disney or Argonaut and contains no game data.




