Jump to content

StageXX X.csv

From Battle Cats Game Modding Wiki
Revision as of 10:59, 16 November 2025 by Fieryhenry (talk | contribs) (Created page with "{{Game file | File name = stageTM_S.csv, where T is a Map type, M is the map index and S is the stage index. | Pack name = DataLocal | Short description = contains in-battle information about a particular stage. | Structure = The file is a CSV file with the following structure: The first line specifies meta information about the stage. It has 6 columns as so: # Castle type # No continues flag # Continuation stage - chance # Continuation stage - map id # Cont...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

stageTM_S.csv, where T is a Map type, M is the map index and S is the stage index. is a file inside of DataLocal which contains in-battle information about a particular stage.

Structure

The file is a CSV file with the following structure:

The first line specifies meta information about the stage. It has 6 columns as so:

  1. Castle type
  2. No continues flag
  3. Continuation stage - chance
  4. Continuation stage - map id
  5. Continuation stage - stage index
  6. Unknown

The next line contains other stage related data:

  1. Stage width
  2. Enemy base health
  3. Minimum frames between spawning enemies
  4. Maximum frames between spawning enemies
  5. Background ID
  6. Maximum enemy count
  7. Castle enemy ID
  8. Trial mode duration in minutes
  9. Unknown
  10. Unknown

The next lines specify the enemies to spawn:

  1. Enemy ID
  2. Max enemy count
  3. Start spawn frame
  4. Minimum spawn interval in frames
  5. Maximum spawn interval in frames
  6. Base percent to spawn at
  7. Minimum Z layer
  8. Maximum Z layer
  9. Boss flag
  10. Enemy magnification
  11. Trial score reward
  12. Unknown
  13. Unknown
  14. Unknown

Examples

Notes

Just like how you can't have more than 10 different cats in your loadout, you cannot have more than 10 different enemy IDs defined for the stage. (The game re-uses the same code for cats as it does for enemies)