웨이브와 적
게임은 모든 웨이브를 공식으로 만듭니다. mod.json 옆에 waves.json을 두면, 그 파일에 나열한 웨이브가 직접 쓴 웨이브로 대체되고, 그 웨이브가 보내는 적 유형이 정의됩니다. 이 파일이 있으면 모드는 게임플레이 모드가 됩니다.
{
"after_last": "victory",
"health_by_difficulty": {"1": 1.0, "2": 1.5, "3": 2.0},
"types": {
"red": {"health": 8, "speed": 30, "reward": 1, "species": "fire"},
"blue": {"health": 8, "speed": 40, "reward": 1, "species": "harvester",
"children": [{"type": "red", "count": 1}]},
"lead": {"health": 45, "speed": 30, "kind": "armored", "immune": ["projectile"],
"resist": {"frost": 0.5}, "children": [{"type": "blue", "count": 2}]}
},
"list": [
{"groups": [{"type": "red", "count": 12, "spacing": 0.9}]},
{"groups": [{"type": "red", "count": 10, "spacing": 0.6},
{"type": "blue", "count": 6, "spacing": 0.9, "delay": 1.0}], "reward": 3}
]
}
적 유형
health,speed(게임의 곤충은 약 25에서 95 사이로 걷습니다),reward(처치 시 골드),shield.species: 겉모습으로 쓸 곤충:garden,fire,carpenter,harvester,trapjaw,leafcutter,weaver,army,acrobat,turtle,bullet,honeypot,razor_reaver,bastion_shell,rift_strider,siege_horn,pale_brood,antler_tyrant,needlewing,stingwing,shardwing,veilwing. 두 번째나 세 번째 난이도의 색을 쓰려면 이름 앞에dusk_나night_를 붙이세요.kind:worker,fast,armored,swarm,shield,flyer,boss,flyer_boss중 하나.scale은 보스의 크기를 정합니다.cloaked: 위장(아래 참고).life_damage: 통과했을 때 잃는 목숨. 기본값은 1이며, 안에 남은 겹마다 1씩 더해집니다.children: 그 적이 죽은 자리에서 태어나 거기서부터 걸어가는 적이며, 웨이브는 이들을 기다립니다. 수를 적게 유지하세요. 모든 겹이 실제 곤충입니다.immune과resist는 피해 그룹 기준입니다:projectile(총, 대포, 기관총),explosive(미사일),flame,frost,bolt,laser,poison,wall(벽),bleed(칼날의 출혈).immune은 그 그룹의 피해와 상태 효과를 받지 않고,resist는 그 그룹의 공격에 배율을 곱합니다({"frost": 0.5}).melee: 병사에게, 그리고 레인에서는 타워에게 주는 초당 피해.
웨이브 목록
- 각 웨이브는
groups의 목록입니다:type,count, 초 단위spacing, 그리고 그룹이 시작하기 전의 선택 사항delay. - 웨이브에는
reward(자체 보상이 없는 유형의 처치당 골드),boss,weakness,coins, 그리고 보내는 모든 적의 체력과 실드에 배율을 주는health_mult도 둘 수 있습니다. after_last:"procedural"(기본값)은 목록 뒤에 게임 자체의 웨이브로 이어 가고,"victory"는 판을 승리로 끝냅니다.health_by_difficulty는 난이도별로 모든 유형의 체력과 실드에 배율을 줍니다.
Banana Brigade는 겹으로 된 적의 라운드 50개를, Iron Kingdom은 웨이브 30개를 씁니다.
위장
위장한 곤충은 지어진 3레벨 타워만, 그것도 그 타워의 사거리 안에서만 보고, 조준하고, 맞힐 수 있습니다. 어떤 웨이브가 위장해서 올지는 balance.json에서 정합니다.
{"cloaked_waves": {
"waves_by_difficulty": {"1": [42, 47], "2": [41, 46, 49], "3": [41, 43, 47, 49]},
"random_by_difficulty": {"3": {"from_wave": 20, "chance": 0.2}},
"health_multiplier": 0.48,
"detection_level": 3,
"detection_towers": {"Laser": 1},
"shared_detection": true
}}
waves_by_difficulty는 웨이브를 나열하고,random_by_difficulty는from_wave부터 다른 모든 웨이브에chance확률로 위장해서 올 기회를 줍니다.health_multiplier와quantity_multiplier는 이 웨이브들을 약하게 합니다.detection_level은 타워가 위장한 곤충을 보기 시작하는 레벨입니다.detection_towers는 이를 타워 목록과 각 타워가 보기 시작하는 레벨로 대체합니다."shared_detection": true: 탐지 타워의 사거리 안에 들어온 곤충은 모든 타워가 공격할 수 있습니다."enabled": false는 위장을 끕니다.
최종 보스
{"bosses": {"final_boss": {"wave": 50, "health_multiplier": 3.6, "speed_multiplier": 0.48,
"visual_scale": 1.8, "shield_ratio": 0.0}}}
브루드 마인드가 나오는 웨이브와, 일반 보스 대비 수치입니다. 모델은 Enemies/Castes/brain입니다. Final encounters에 보스와 위장의 모든 키가 게임의 값과 함께 들어 있습니다.
