Tooth and Tail

Tooth and Tail

Not enough ratings
Example Mod
   
Award
Favorite
Favorited
Unfavorite
Tags: mod
File Size
Posted
Updated
3.499 MB
14 Nov, 2019 @ 5:08am
29 Nov, 2019 @ 1:27pm
3 Change Notes ( view )

Subscribe to download
Example Mod

Description
Just some stupid changes to demonstrate how modding works:
- replaces Pigeons with Babychams (anti-unit assassins)
- cross-shaped spawn farm layout
- t3 warrens cost 240 Food, t3 units cost 120 Food, both are finished in 40s each
- 90s starvation time instead of 60s

=== Changes & how they are done ===

Pigeons: removed!
<-- set <CanBeInDeck>false</CanBeInDeck> in data\multiplayer\structures\t1\warren_pigeon.xml

Babychams: added! (t1, cloaked unit-stabber)
<-- multiple new files required:
1. data\multiplayer\structures\t1\warren_babycham.xml (important: each DeckIndex must be unique!)
2. data\multiplayer\actors\t1\babycham.xml
3. data\multiplayer\traits\stab.xml (uses the same cloak trait as Chameleons, so no new trait file is needed for cloaking)
4. data\multiplayer\weapons\melee\weapon_stab.xml
5. textures\actors\babycham.png & textures\actors\babycham_tint.png
6. in textures\ui\portraits: cropped, large & small: babycham.png & babycham_tint.png (6 files total)
+ new icon & tint in both textures\atlas\ui.png & textures\atlas\ui.txt

StarvationTime: 90s (from 60s)
SpawnFarmLayout: Plus-shaped
<-- changed the respective element's value in data\multiplayer\balance.xml

Warrens & production:
t3 Warrens cost 240 Food (from 180), and get built in 40s (from 50s);
t3 Units cost 120 Food (from 180), and get built in 40s (from 50s);
<-- changed the 3rd int value of BuildCost and BuildTime (Warren) + ProductionCost and ProductionTime (Unit) in data\multiplayer\balance.xml