WIKI

模组

用你自己的文件修改 Torreta 的模型、规则、场景、天气、野生动物、声音和光标,无需编程。

查看模组能做的一切 →

入门

本文以英文撰写。

What a mod can change

  • 3D models (glTF .glb): towers at every level and fusion, insects and flyers, buildings, the factory room, ground markers, rubble and the arena itself. See Modding Torreta and tower models.
  • Balance and rules: patches over the game's numbers in balance.json and map_data.json (prices, damage, waves, cards, starting money and lives).
  • Scenery and board: arena stages by difficulty and wave, which cells insects walk and towers stand on, and even a fixed route, in scenarios.json. See scenarios.
  • Weather, wildlife, sounds and cursor: rain and sandstorms, birds, snakes and microfauna, the game's sounds and music, and the mouse cursor.
  • Another tower defense: hand-written waves, enemies that burst into others, upgrade paths, soldiers, a hero and powers, a route that grows, energy cores, towers that fire only on factory ammunition.

A mod is data and art: it cannot run scripts. Everything a mod can do lists every possibility with its file, guide and example.

Installing a mod

  1. In the game, open Options → Mods → Open Mods Folder.
  2. Put each mod in a folder of its own there, with its mod.json at the top of the folder.
  3. Back in Options → Mods, tick it (A on a controller, or a click on its row) and press Restart now, which closes the game and opens it again with the mod.

The Mods folder is %APPDATA%\Godot\app_userdata\Torreta\mods on Windows, ~/Library/Application Support/Godot/app_userdata/Torreta/mods on macOS and ~/.local/share/godot/app_userdata/Torreta/mods on Linux and Steam Deck. The Steam Workshop button on the same screen opens the Workshop; subscribed mods join the same list. Ticked mods are numbered, and when two change the same thing, the higher number wins.

Gameplay and cosmetic mods

A mod that changes the rules, the scenery, or a model the game measures against (towers, insects, the arena) is a gameplay mod. It plays on a profile of its own: its progress, Continue and seeds never touch your normal game, and achievements, experience, tutorials, crystals and leaderboard scores are switched off while it is on. Skill points still count, on its profile. Cosmetic mods (cursor, sounds, birds, snakes, buildings, the factory room, markers) play exactly like the normal game. A gameplay mod that makes Torreta another game is a total conversion: only one plays at a time, so ticking one switches the other off, and cosmetic and gameplay mods still combine with it. The Mods screen filters all three kinds.

Multiplayer

Only gameplay mods have to match. With cosmetic mods alone you play with anyone, with or without mods, and each player sees their own art. Every player needs the same gameplay mods, with the same files, in the same order: matchmaking only pairs identical lists, and a lobby with other gameplay mods is refused, even when you join through an invite. PvP bots fill empty seats under a gameplay mod only when it ships a bots.json.

Making your own

  1. Start from one of the examples below. Those marked In Options → Mods are already in your Mods folder, switched off. Those marked Steam Workshop install when you subscribe to them. The others ship in the game's mods_example folder beside the executable, and are copied into your Mods folder with a leading underscore, which keeps them off.
  2. Copy the folder, drop any leading underscore, and give it a new id and name in mod.json.
  3. Edit it, restart, and look for [ModLoader] lines in the game's log if something is ignored.
  4. To share it, press Publish on its row in Options → Mods, with Steam running: it goes up to the Steam Workshop, and later publishes update the same item.

The guides below hold the full contract of each kind of file. The vanilla_reference folder documents every model key and the game's own values: it is documentation, never a mod to tick.

示例模组

Sample mod - Final encounters

玩法模组

Editable final boss, late camouflaged waves and detector thresholds.

_example_final_encounters · 平衡与规则

阅读指南 →

Sample mod - All resources

玩法模组在 选项 → 模组 中

Sandbox runs: 10,000 gold, 99 lives, 999 of every material, troop and chip, every tower and feature unlocked from the first wave, the Mech Hangar's batteries, beacons and pods included, and level 99 with every skill point the tree can spend. Plays on its own mod profile, so nothing it gives reaches your vanilla save.

example_all_resources · 平衡与规则

阅读指南 →

Sample mod - Factory ammunition

玩法模组在 选项 → 模组 中

Only the level 1 Gun fires for free. Every other tower, and the Gun from level 2, fires on ammunition the factory makes from debris: without it, it holds fire. The Collector and the factory are open from the first wave, and the factory makes only hardware, metal, copper and six kinds of ammunition. Plays on its own mod profile.

example_ammo_factory · 平衡与规则

阅读指南 →

Hard Mode Rebalance

玩法模组

Example balance mod: leaner economy, tougher enemies, weaker skill tree. Shows how balance.json overrides only the keys it declares.

example_balance_hard_mode · 平衡与规则

Example Tower Tweaks

玩法模组

Profile-aware Gun/Cannon stat overrides. GLB art examples are separate.

example_balance_towers · 平衡与规则

Banana Brigade - Primate Patrol

全面转换Steam 创意工坊

Primate defenders throw at upright floating bananas through Banana Grove: grassy building areas, a dirt trail and a surrounding forest. Fifty rounds of layered bananas, three upgrade paths per primate, no cards. The Colobus (Laser) reveals camouflaged bananas for all towers. Compatible with All resources. Restart after enabling.

example_banana_brigade · 平衡与规则, 3D 模型, 场景与棋盘

阅读指南 →

Sample mod - Tidal Coast

玩法模组Steam 创意工坊

A coastal arena with rolling surf, shallow-water insect landings, sea-worn rocks and a tropical forest edge. Restart after enabling.

example_beach · 场景与棋盘, 3D 模型

阅读指南 →

Sample mod - Flamingos at dusk

Adds a Greater Flamingo that crosses the arena in V skeins at dusk and night, with its own editable GLB and Blender source, and retunes two vanilla species. Birds are scenery only: this mod keeps the vanilla profile.

example_birds · 鸟类, 3D 模型

阅读指南 →

Sample mod - Cores

全面转换Steam 创意工坊

Your lives are twenty energy cores kept in the cave. An insect that reaches it steals one and walks back through your maze to the nest; kill it on the way and the core drops and drifts home. Restart after enabling.

example_cores · 平衡与规则, 3D 模型

阅读指南 →

Example - Custom insect-leg cursor

外观

Editable PNG cursor using Torreta's current insect leg, with the normal color and size options. Replace the image and restart.

example_cursor · 光标

阅读指南 →

Sample mod - Cobalt factory room

A cobalt production deck with inset runway lights. Replaces only the zoomable 3D factory room. Restart after enabling.

example_factory_room · 3D 模型

阅读指南 →

Sample mod - Flame as A dragon

玩法模组Steam 创意工坊

A sculpted dragon replaces every Flame level and fusion. Animated wings, jaw and mouth fire; original combat rules.

example_flame_dragon · 3D 模型

阅读指南 →

Glb • Industry

外观

Real GLB example: embedded PBR, original rigid pivots. Restart to apply.

example_glb_industry · 3D 模型

Glb • Insects

玩法模组

Real GLB example: embedded PBR, original rigid pivots. Restart to apply.

example_glb_insects · 3D 模型

GLB • Cobalt markers

外观

Textured cobalt cursors, range ring and radar route. Preserves gameplay signals. Restart to apply.

example_glb_markers · 3D 模型

阅读指南 →

Glb • Towers

玩法模组

Real GLB example: embedded PBR, original rigid pivots. Restart to apply.

example_glb_towers · 3D 模型

Sample mod - Iron Kingdom

全面转换Steam 创意工坊

A futuristic tactical defense on the traditional path: ballistic and ion towers, artillery, and industrial mechs wielding energy sabres. Click ALDRA and walk it with WASD or the left stick; call orbital strikes and ranger reinforcements (F1, F2). Thirty waves. Restart after enabling.

example_iron_kingdom · 平衡与规则, 3D 模型, 场景与棋盘

阅读指南 →

Sample mod - Living Trail

全面转换Steam 创意工坊

A board built with its trail: the trail starts at the cave and grows from its far end after every wave, where the insects come out. The ground opens with it: the rest of the pit lies under rock that sinks as the trail arrives, and towers stand only on open ground. Restart after enabling.

example_living_trail · 平衡与规则

阅读指南 →

Sample mod - Bounty script (Lua)

玩法模组

The bounty script in Lua: a bounty every tenth kill, veteran towers that hit harder, and a static spark in the rain.

example_lua_bounty · 脚本 (Lua)

阅读指南 →

Sample mod - Desert scorpions

Adds a desert scorpion that wanders out from under its stone in the pit and on the plain, alone or in pairs and now and then in the ants' mixed nest, with its own editable GLB and Blender source, and keeps butterflies closer to their stone. The microfauna is scenery only: this mod keeps the vanilla profile.

example_microfauna · 小型动物, 3D 模型

阅读指南 →

Sample mod - Ptero flyers

玩法模组Steam 创意工坊

Alien pterosaur flyers: leathery wings, a crested beak, talons and luminous eyes. All three difficulties; original combat rules.

example_ptero_flyer · 3D 模型

阅读指南 →

Desert Sandstorm

玩法模组

Guaranteed sandstorms with three random intensities, blowing dust and warm haze.

example_sandstorm · 平衡与规则

Sample mod - Bounty script

玩法模组

A script mod: a bounty every tenth kill, veteran towers that hit harder, and a static spark in the rain.

example_script_bounty · 脚本 (GDScript)

阅读指南 →

Sample mod - Traditional path

全面转换在 选项 → 模组 中

A classic tower defense board: the insects follow one fixed path through the pit, and the towers stand on raised mesas beside it. Uses the game's own arena. Restart after enabling.

example_traditional · 平衡与规则, 场景与棋盘

阅读指南 →

Sample mod - Veteran Commander

玩法模组Steam 创意工坊

The Mech Hangar's Commander walks out at level 5: jetpack ready, with the 8 points those levels bring to put into damage, health or defense. A fall brings it back at level 5. Pair it with Sample mod - All resources to try everything the hangar does from the first wave.

example_veteran_commander

阅读指南 →

Rainy Desert

玩法模组

Guaranteed rain with random wind gusts, reflective puddles and nighttime lightning.

example_weather · 平衡与规则

指南

模组指南为英文,与游戏附带的版本一致。