User:Polavux/Technical:Bloons TD 5 (multiplatform)/Weapons: Difference between revisions
more properties |
Pymonkibot (talk | contribs) m Text replacement - "[[Category:BMC (mobile)" to "[[Category:BMC (multiplatform)" |
||
| (38 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{{horizontal TOC}} | |||
==Base weapon properties== | ==Base weapon properties== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
| Line 7: | Line 8: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>AllowFiringOnlyOnRoundStart</tt> | ||
|If < | |If <tt>true</tt>, then each round, this weapon's <tt>RemainingAmmo</tt> is refilled to its <tt>TotalAmmo</tt> if this weapon is using the ammo system, and its <tt>CooldownTime</tt> is set to the current round's length, in seconds, divided by this weapon's <tt>TotalAmmo</tt>, ignoring the <tt>CooldownTime</tt> value defined within the weapon file. In Sandbox mode, or if this weapon isn't using the ammo system, <tt>CooldownTime</tt> is set to <tt>0</tt>. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>AnimatesTower</tt> | ||
|Exclusive to ''Bloons TD Battles''. | |Exclusive to ''Bloons TD Battles''. | ||
| | | | ||
| Line 19: | Line 20: | ||
| | | | ||
|- | |- | ||
|< | |<tt>CanFireWithNoTargetsAndRoundInProgress</tt> | ||
|If < | |If <tt>true</tt>, during rounds, this weapon will fire without requiring a valid target. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>CanSelfTargetCamo</tt> | ||
|If < | |If <tt>true</tt>, this weapon can target and hit Camo bloons, even if the tower itself lacks Camo detection. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>CanSpotFromOtherTowers</tt> | ||
|If < | |If <tt>true</tt>, this weapon can target and hit bloons within other towers' range circles, including any Camo bloons within the range circles of towers that can detect Camo, but excluding towers who have <tt>CanSpotForTowers</tt> set to <tt>false.</tt> | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>CanTargetUnderground</tt> | ||
|If < | |If <tt>true</tt>, this weapon can target and hit bloons inside of path segments flagged as tunnels, as if they were not in a tunnel. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>CooldownTime</tt> | ||
|An amount of time in seconds. Determines the attack cooldown for attacks, during which the weapon will remain idle even if a target is in range. Determines the ability cooldown for [[Activated Ability|Activated Abilities]]. | |An amount of time in seconds, minimum of 1 frame. Determines the attack cooldown for attacks, during which the weapon will remain idle even if a target is in range. Determines the ability cooldown for [[Activated Ability|Activated Abilities]]. | ||
|Number | |Number | ||
| | |{{y}} | ||
|Weapon functionally stops existing | |Weapon functionally stops existing | ||
|- | |- | ||
|< | |<tt>CooldownTimeMultiplier</tt> | ||
| | |||
| | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |||
|<tt>CostToFire</tt> | |||
|In ''Bloons Monkey City'', determines the cash cost of using an [[Activated Ability]]. The Premium Tower Order and Boss Ability buttons are hardcoded to treat this as a Bloonstone cost rather than a cash cost. | |In ''Bloons Monkey City'', determines the cash cost of using an [[Activated Ability]]. The Premium Tower Order and Boss Ability buttons are hardcoded to treat this as a Bloonstone cost rather than a cash cost. | ||
Also a valid weapon property in ''Bloons TD 5'', but with no apparent functionality. Inherited from ''Bloons Monkey City'' in the Boss Bloon update, seemingly without its functionality to set a cash price to a weapon, and no special buttons were implemented to enable spending Monkey Money or Tokens on select abilities. | Also a valid weapon property in ''Bloons TD 5'', but with no apparent functionality. Inherited from ''Bloons Monkey City'' in the Boss Bloon update, seemingly without its functionality to set a cash price to a weapon, and no special buttons were implemented to enable spending Monkey Money or Tokens on select abilities. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>0</tt> | ||
|- | |- | ||
|< | |<tt>DisabledOnTargetModes</tt> | ||
| | |The weapon disables itself if the tower's targeting mode is set to any of the targeting modes in this array (i.e. Submerge and Support behavior). | ||
|Array of strings | |Array of strings | ||
| | |{{n}} | ||
|Weapon does not disable based on target mode. | |Weapon does not disable based on target mode. | ||
|- | |- | ||
|< | |<tt>DisableSlotWhenOutOfAmmo</tt> | ||
|If < | |If <tt>true</tt>, this weapon disables itself when its <tt>RemainingAmmo</tt> is at 0. It does not re-enable itself. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>DrawWhenOutOfAmmo</tt> | ||
|If < | |If <tt>true</tt>, this weapon will remain visible when its <tt>RemainingAmmo</tt> is at 0, otherwise it will stop being visible when <tt>RemainingAmmo</tt> is 0, becoming visible again when <tt>RemainingAmmo</tt> is not zero. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>true</tt> | ||
|- | |- | ||
|< | |<tt>FireDelayTime</tt> | ||
|An amount of time in seconds. Determines the delay between a weapon firing and its tasks executing, during which the weapon will continually update its target. This plus a weapon's < | |An amount of time in seconds, minimum of 1 frame. Determines the delay between a weapon firing and its tasks executing, during which the weapon will continually update its target. This plus a weapon's <tt>CooldownTime</tt> determines its [[attack speed]], as <tt>CooldownTime</tt> will not count down until the <tt>FireDelayTime</tt> has run out. [[Activated Ability|Activated Abilities]] will resume counting down their <tt>CooldownTime</tt> even if the <tt>FireDelayTime</tt> has not yet expired. | ||
|Number | |Number | ||
| | |{{y}} | ||
|Weapon functionally stops existing | |Weapon functionally stops existing | ||
|- | |- | ||
|< | |<tt>FireDelayTimeMultiplier</tt> | ||
| | | | ||
| | | | ||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>FiresOnRoundEnd</tt> | ||
| | | | ||
|Boolean | |||
|{{n}} | |||
| | | | ||
|- | |- | ||
|< | |<tt>ForceTargetWeaponOrigin</tt> | ||
|If <tt>true</tt>, then it forces the weapon to spawn from the target regardless of if <tt>TargetIsWeaponOrigin</tt> is on for the tower. | |||
|Boolean | |||
|{{n}} | |||
|Defaults to <tt>false</tt> | |||
|- | |||
|<tt>ForwardFiring</tt> | |||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>InterestMultiplier</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>ManuallyFired</tt> | ||
|If < | |If <tt>true</tt>, this weapon is treated as an [[Activated Ability]]. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>MaxMoney</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>MaxShots</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>NumberOfRoundsBetweenShots</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>ReloadOnRoundStart</tt> | ||
|Exclusive to ''Bloons TD Battles''. | |Exclusive to ''Bloons TD Battles''. | ||
| | | | ||
| Line 135: | Line 148: | ||
| | | | ||
|- | |- | ||
|< | |<tt>RemainingAmmo</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>0</tt> | ||
|- | |- | ||
|< | |<tt>RequiresTargetToFire</tt> | ||
|If < | |If <tt>true</tt>, this weapon can only fire if it has a valid target. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>true</tt> | ||
|- | |- | ||
|< | |<tt>SelfTargetMode</tt> | ||
|Locks this weapon to the defined targeting priority, ignoring the targeting priority of its tower. | |Locks this weapon to the defined targeting priority, ignoring the targeting priority of its tower. | ||
|String | |String | ||
| | |{{n}} | ||
|The weapon uses its tower's targeting priority. | |The weapon uses its tower's targeting priority. | ||
|- | |- | ||
|< | |<tt>ShowRange</tt> | ||
|If < | |If <tt>false</tt>, this weapon will not draw a range circle. <tt>CanSpotFromOtherTowers</tt>-enabled weapons possessed by other towers will not be able to target bloons using this weapon's range. Otherwise, this is just visual. | ||
[[Activated Ability|Activated Abilities]] are unaffected by this property. | [[Activated Ability|Activated Abilities]] are unaffected by this property. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>true</tt> | ||
|- | |- | ||
|< | |<tt>SpreadCooldownOverRound</tt> | ||
|Exclusive to ''Bloons TD Battles''. | |Exclusive to ''Bloons TD Battles''. | ||
| | | | ||
| Line 166: | Line 179: | ||
| | | | ||
|- | |- | ||
|< | |<tt>StartsOnCooldown</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetingArc</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetingFilter</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetRange</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetsIndependently</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks the weapon executes each time it fires. | |A list of tasks the weapon executes each time it fires. | ||
|Array of objects | |Array of objects | ||
| | |{{y}} | ||
|Weapon functionally stops existing | |Weapon functionally stops existing | ||
|- | |- | ||
|< | |<tt>TotalAmmo</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>0</tt> | ||
|- | |- | ||
|< | |<tt>Type</tt> | ||
| | | | ||
|String | |String | ||
| | |{{y}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>UseBloonStore</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|} | |} | ||
== Tasks == | == Tasks == | ||
A < | A <tt>Task</tt> is a process that executes when a weapon fires. An array of tasks is executed in its array order, lowest index first. Some tasks, such as <tt>Projectile</tt>, <tt>AreaOfEffect</tt>, and <tt>Effect</tt> tasks, can also have tasks, which are referred to as "sub-tasks" and execute under different conditions. The <tt>Type</tt> of a task determines what the task is and what parameters it allows. | ||
===AddCashMult=== | |||
===AddChildSprite=== | |||
===ApplyBloonSpawnModifier=== | |||
===AreaOfEffect=== | ===AreaOfEffect=== | ||
| Line 232: | Line 251: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>CanHitLead</tt> | ||
| | |Determines if an AoE can hit Lead bloons or not. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | |Defaults to <tt>true</tt> | ||
|- | |- | ||
|< | |<tt>DisabledTasks</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| Line 244: | Line 263: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Duration</tt> | ||
| | | | ||
|Number | |Number | ||
| Line 250: | Line 269: | ||
| | | | ||
|- | |- | ||
|< | |<tt>MaxTargets</tt> | ||
|The pierce of the area of effect. One pierce is consumed per collision. | |The pierce of the area of effect. One pierce is consumed per collision. | ||
|Number | |Number | ||
| | |{{y}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Range</tt> | ||
|The radius of the area of effect. | |The radius of the area of effect. | ||
|Number | |Number | ||
| | |{{y}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Sort</tt> | ||
| | | | ||
| | | | ||
| Line 268: | Line 287: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks the area of effect executes on each Bloon it hits. | |A list of tasks the area of effect executes on each Bloon it hits. | ||
|Array of objects | |Array of objects | ||
| Line 274: | Line 293: | ||
| | | | ||
|- | |- | ||
|< | |<tt>UseRangeModifier</tt> | ||
|If < | |If <tt>true</tt>, the range scales with range modifiers. Exclusive to ''Bloons TD Battles''. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|} | |} | ||
===BloonAdjustment=== | |||
===BloonSpawnedEvent=== | ===BloonSpawnedEvent=== | ||
| Line 290: | Line 311: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Duration</tt> | ||
|How long the event lasts for. | |How long the event lasts for. | ||
|Number | |Number | ||
| Line 296: | Line 317: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
| | | | ||
|Array of objects | |Array of objects | ||
| Line 302: | Line 323: | ||
| | | | ||
|} | |} | ||
===BoostReducer=== | |||
===ChainTasks=== | ===ChainTasks=== | ||
| Line 311: | Line 334: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>CutOffDistance</tt> | ||
| | | | ||
| | | | ||
| Line 317: | Line 340: | ||
| | | | ||
|- | |- | ||
|< | |<tt>NumJumps</tt> | ||
| | |How times a branch of lightning will bounce. | ||
| | |Number | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>NumPersists</tt> | ||
| | | | ||
|Number | |||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
| | | | ||
| | | | ||
| Line 344: | Line 367: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>ToDisable</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| Line 350: | Line 373: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ToEnable</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| | |||
| | |||
|} | |||
===ChangeTerrain=== | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>Area</tt> | |||
|Defines the area as a rectangle. The first number determines the width, the second number determines the height. | |||
|Array of numbers | |||
| | |||
| | |||
|- | |||
|<tt>Mask</tt> | |||
|Determines the kind(s) of terrain this area is treated as. If empty, this is treated as land (i.e. Pontoon behavior). | |||
*<tt>"Water"</tt> | |||
*<tt>"BlockTower"</tt> (unused) | |||
*<tt>"PathTower"</tt> (unused) | |||
|Array of strings | |||
| | |||
| | |||
|- | |||
|<tt>Radius</tt> | |||
|Defines the area as a circle. The value determines the radius. | |||
|Number | |||
| | | | ||
| | | | ||
| Line 365: | Line 418: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>AutoCollect</tt> | ||
| | | | ||
| | | | ||
| Line 371: | Line 424: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Bank</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 377: | Line 430: | ||
| | | | ||
|- | |- | ||
|< | |<tt>BonusMultiplierForManualCollection</tt> | ||
| | | | ||
| | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>ClickOnly</tt> | ||
| | | | ||
| | | | ||
| Line 389: | Line 442: | ||
| | | | ||
|- | |- | ||
|< | |<tt>CollectionRadius</tt> | ||
|The radius in which the collectable can be collected from. | |The radius in which the collectable can be collected from. | ||
|Number | |Number | ||
| Line 395: | Line 448: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Duration</tt> | ||
|How long the collectable lasts for. | |How long the collectable lasts for. | ||
|Number | |Number | ||
| Line 401: | Line 454: | ||
| | | | ||
|- | |- | ||
|< | |<tt>GivesCashWhenExpired</tt> | ||
| | | | ||
| | | | ||
| Line 407: | Line 460: | ||
| | | | ||
|- | |- | ||
|< | |<tt>GraphicName</tt> | ||
| | | | ||
| | | | ||
| Line 413: | Line 466: | ||
| | | | ||
|- | |- | ||
|< | |<tt>LimitHealth</tt> | ||
| | | | ||
| | | | ||
| Line 419: | Line 472: | ||
| | | | ||
|- | |- | ||
|< | |<tt>LivesMultiplier</tt> | ||
|The multiplier for how many lives are given, the total lives given is <math>\text{Lives Range} \times \text{LivesMultiplier}</math>. | |The multiplier for how many lives are given, the total lives given is <math>\text{Lives Range} \times \text{LivesMultiplier}</math>. | ||
|Number | |Number | ||
| Line 425: | Line 478: | ||
| | | | ||
|- | |- | ||
|< | |<tt>LivesRange</tt> | ||
|The minimum and maximum number of lives the collectable at base gives. | |The minimum and maximum number of lives the collectable at base gives. | ||
|Array of numbers | |Array of numbers | ||
| Line 431: | Line 484: | ||
| | | | ||
|- | |- | ||
|< | |<tt>LoopAnimation</tt> | ||
| | | | ||
| | | | ||
| Line 437: | Line 490: | ||
| | | | ||
|- | |- | ||
|< | |<tt>MoneyMultiplier</tt> | ||
|The multiplier for how much cash is given, the total cash given is <math>\text{Money Range} \times \text{MoneyMultiplier}</math>. | |The multiplier for how much cash is given, the total cash given is <math>\text{Money Range} \times \text{MoneyMultiplier}</math>. | ||
|Number | |Number | ||
| Line 443: | Line 496: | ||
| | | | ||
|- | |- | ||
|< | |<tt>MoneyRange</tt> | ||
|The minimum and maximum number of cash the collectable at base gives. | |The minimum and maximum number of cash the collectable at base gives. | ||
|Array of numbers | |Array of numbers | ||
| Line 449: | Line 502: | ||
| | | | ||
|- | |- | ||
|< | |<tt>MoneyRangeIncreasePerRound</tt> | ||
| | | | ||
| | | | ||
| Line 455: | Line 508: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Movement</tt> | ||
|The [[#Movement|movement]] of the collectable. | |The [[#Movement|movement]] of the collectable. | ||
|Object | |Object | ||
| Line 461: | Line 514: | ||
| | | | ||
|- | |- | ||
|< | |<tt>SpriteFile</tt> | ||
| | | | ||
| | | | ||
| Line 467: | Line 520: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
| | | | ||
| | | | ||
| Line 483: | Line 536: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>AnimateOnCollection</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 489: | Line 542: | ||
| | | | ||
|- | |- | ||
|< | |<tt>CollectionDelay</tt> | ||
| | | | ||
|Number | |Number | ||
| Line 495: | Line 548: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Range</tt> | ||
| | | | ||
|Number | |Number | ||
| Line 501: | Line 554: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
| | | | ||
|Number | |Number | ||
| | | | ||
| | | | ||
|} | |||
===CreateAtPathPoint=== | |||
===CreateTower=== | |||
Creates a tower. | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>TowerType</tt> | |||
|The type of tower that is being created. | |||
|String | |||
|{{y}} | |||
|Creates an invalid tower | |||
|- | |||
|<tt>TowerLifetime</tt> | |||
|How long the created tower lasts. | |||
|Number | |||
|{{n}} | |||
|The created tower lasts infinitely | |||
|- | |||
|<tt>TowerColour</tt> | |||
|Applies a RGBA multiply colour on top of the created tower. First number controls the red channel, second controls the green channel, third controls the blue channel, the fourth is suppose to control the alpha channel but it doesn't work. | |||
|Array of Numbers | |||
|{{n}} | |||
|Defaults to <tt>[ 255, 255, 255, 255 ]</tt> | |||
|- | |||
|<tt>HasParentTower</tt> | |||
|Determines if the created tower also gets destroyed if its "parent" tower get sold. | |||
|Boolean | |||
|{{n}} | |||
|Defaults to <tt>false</tt> | |||
|- | |||
|<tt>UseParentTowerUpgradeLevel</tt> | |||
|Determines whether the created tower should copy the upgrade layout from the 'parent' tower that created it. | |||
|Boolean | |||
|{{n}} | |||
|Defaults to <tt>false</tt> | |||
|} | |} | ||
| Line 517: | Line 612: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Amount</tt> | ||
|The amount of damage dealt. (If this weapon/projectile's task list does not have a < | |The amount of damage dealt. (If this weapon/projectile's task list does not have a <tt>MultiLayerDamage</tt> status below it, the damage will not pass through layers.) | ||
|Number | |Number | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>BlimpModifier</tt> | ||
|Bloons | |Exclusive to ''Bloons Monkey City''. | ||
{ | |Number | ||
|< | |{{n}} | ||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>BossDamageMod</tt> | ||
| | |Excluded from ''Bloons TD Battles''. | ||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>CeramicModifier</tt> | ||
| | |Exclusive to ''Bloons Monkey City''. | ||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>DamageType</tt> | ||
|The < | |Bloons with a matching string in their <tt>DamageImmunity</tt> property will not take damage. Some damage types have hardcoded properties. | ||
*<tt>"Piercing"</tt>: The projectile that dealt this damage plays a sound and terminates when it hits a Lead or frozen bloon. | |||
*<tt>"Fire"</tt>: The projectile that dealt this damage plays a sound and terminates when it hits a Lead bloon. | |||
*<tt>"Explosive"</tt> | |||
*<tt>"Plasma"</tt> | |||
*<tt>"Ice"</tt> | |||
*<tt>"Juggernaut"</tt> | |||
*<tt>"MOABMauler"</tt> | |||
*<tt>"Foam"</tt> | |||
*<tt>"IceViral"</tt>: Exclusive to ''Bloons TD Battles''. | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>InformDamageFromParentTask</tt> | |||
| | |||
| | |||
|{{n}} | |||
| | |||
|} | |||
===DamageSpread=== | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |- | ||
|< | |<tt>Amount</tt> | ||
| | | | ||
|Number | |||
| | |||
| | |||
|- | |- | ||
|< | |<tt>BlimpModifier</tt> | ||
| | |Exclusive to ''Bloons Monkey City''. | ||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>BossDamageMod</tt> | ||
| | |Excluded from ''Bloons TD Battles''. | ||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>CeramicModifier</tt> | ||
| | |Exclusive to ''Bloons Monkey City''. | ||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |- | ||
|< | |<tt>DamageType</tt> | ||
| | | | ||
|String | |String | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>MaxTargets</tt> | ||
| | |||
|Number | |||
| | |||
| | | | ||
|- | |||
|<tt>Range</tt> | |||
| | | | ||
|Number | |||
| | | | ||
| | | | ||
|} | |} | ||
===DisableUIFeature=== | |||
===Effect=== | ===Effect=== | ||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>AppliedToTower</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>ApplyLinearDodge</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>ApplyToTarget</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Audio</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>DrawLayer</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Duration</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>FlipLeft</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>FlipRight</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>FollowTarget</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>IgnoreAircraft</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>LinkScaleWithAreaOfEffectRange</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>LoopCount</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>LoopForever</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>PlaySpeed</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Position</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>PositionLeft</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>PositionRight</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>RoundDuration</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Scale</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>SpriteFile</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Tasks</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>TerminateWithParent</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>UseDirection</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>UseDuration</tt> | |||
| | |||
| | |||
| | |||
| | |||
|} | |||
===EnableWeaponSlot=== | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>Slot</tt> | |||
| | |||
|Number | |||
| | |||
| | |||
|- | |||
|<tt>Enable</tt> | |||
|Whether to enable/disable slot | |||
|String | |||
|{{n}} | |||
|Defaults to <tt>true</tt> | |||
|} | |||
===FireOverTime=== | |||
===FireTaskAtLocation=== | ===FireTaskAtLocation=== | ||
Unused. Properties are unknown, and the task existing in a weapon file causes the game to crash on the title screen as if an essential task property were missing from it, confirming that the task is valid in some form. | Unused. Properties are unknown, and the task existing in a weapon file causes the game to crash on the title screen as if an essential task property were missing from it, confirming that the task is valid in some form. | ||
===ForceSellTower=== | |||
===GiveCashForLeaks=== | |||
===GrantCashPerPop=== | ===GrantCashPerPop=== | ||
| Line 578: | Line 903: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Amount</tt> | ||
|The amount of cash generated per pop. Has a hardcoded cap of $50,000 per activation. | |The amount of cash generated per pop. Has a hardcoded cap of $50,000 per activation. | ||
|Number | |Number | ||
| Line 584: | Line 909: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Duration</tt> | ||
| | |The duration, in seconds. | ||
|Number | |Number | ||
| | | | ||
| | | | ||
|} | |} | ||
===Harpoon=== | |||
===IncomeChange=== | |||
===IncomeOverTime=== | |||
===IncomeTax=== | |||
===LaunchAircraft=== | ===LaunchAircraft=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
!Key | !Key | ||
| Line 602: | Line 932: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Aircraft</tt> | ||
|The aircraft that will be launched. | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>MaxAircraft</tt> | |||
|How many will be launched. | |||
|Number | |||
|{{n}} | |||
|Defaults to <tt>1</tt> | |||
|- | |||
|<tt>Path</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>Path</tt> | |||
| | | | ||
| | | | ||
| Line 608: | Line 956: | ||
| | | | ||
|- | |- | ||
|< | |<tt>PathIndex</tt> | ||
| | |The Flight Path the aircraft will use. | ||
| | |||
* <tt>0</tt> = Figure 8 | |||
* <tt>1</tt> = Figure ∞ | |||
* <tt>2</tt> = Circle | |||
|Number | |||
| | |||
| | |||
|- | |||
|<tt>PathOrigin</tt> | |||
|Defines the location of the origin of the path the aircraft will fly in. The first number controls the X coordinate, the second number controls the Y coordinate. | |||
|Array of numbers | |||
|{{n}} | |||
| | |||
|- | |||
|<tt>UseTargetPath</tt> | |||
| | |||
| | |||
| | | | ||
| | | | ||
|} | |||
===MoneyChange=== | |||
=== MultiFire === | |||
Used to shoot more than 1 projectile. All angles are in degrees. | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |- | ||
|< | |<tt>AcquireTarget</tt> | ||
| | | | ||
| | | | ||
| Line 620: | Line 998: | ||
| | | | ||
|- | |- | ||
|< | |<tt>AimAtTarget</tt> | ||
|The change in angle for all subsequent projectiles. | |If <tt>true</tt>, then the angles of the projectiles are offset by the angle of the shot. | ||
|Boolean | |||
| | |||
| | |||
|- | |||
|<tt>AimOffsetsAtTarget</tt> | |||
|Unused; only appears in the unused <tt>RoboMonkey.weapon</tt> file (<tt>RoboMonkeyLeft.weapon</tt> and <tt>RoboMonkeyRight.weapon</tt> are used instead). If <tt>true</tt>, the projectiles are angled towards the target. | |||
|Boolean | |||
|{{n}} | |||
|Defaults to <tt>false</tt> | |||
|- | |||
|<tt>AngleIncrement</tt> | |||
|The change in angle from the first projectile for all subsequent projectiles. | |||
|Number | |Number | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>DisabledTasks</tt> | ||
| | | | ||
| | | | ||
| Line 632: | Line 1,022: | ||
| | | | ||
|- | |- | ||
|< | |<tt>FireCount</tt> | ||
|The number of times each subtask executes when this executes. | |The number of times each subtask executes when this executes. If set to <tt>0</tt>, this task does not execute any subtasks. | ||
|Number | |Number | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>InitialOffset</tt> | ||
|The angle of the "first" projectile. | |The angle of the "first" projectile. | ||
|Number | |Number | ||
| Line 644: | Line 1,034: | ||
| | | | ||
|- | |- | ||
|< | |<tt>MarkIDForProjectiles</tt> | ||
| | |If <tt>true</tt>, Bloons hit by the MultiFire's parent task cannot be hit by the MultiFire's subtasks. (This is used by Frag Bombs to make it so Bloons hit by the initial bomb (not the explosion) can't also be hit by the frags.) | ||
| | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Offsets</tt> | ||
|The positional offsets of each projectile. | |The positional offsets of each projectile. | ||
|Array of objects | |Array of objects | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Radius</tt> | ||
| | | | ||
| | | | ||
| Line 662: | Line 1,052: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ShotDelay</tt> | ||
| | | | ||
| | | | ||
| Line 668: | Line 1,058: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks to execute when this task executes. | |A list of tasks to execute when this task executes. | ||
|Array of objects | |Array of objects | ||
| Line 674: | Line 1,064: | ||
| | | | ||
|} | |} | ||
===OverclockTask=== | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>Tasks</tt> | |||
| | |||
|Array of objects | |||
| | |||
| | |||
|} | |||
===ParticleEffect=== | |||
===PlayerDamage=== | |||
=== Projectile === | === Projectile === | ||
| Line 683: | Line 1,092: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>CollidesOnlyWithTarget</tt> | ||
| | |If <tt>true</tt>, this projectile will pass through any Bloons that are not the target. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>CollisionType</tt> | ||
|Determines how the projectile handles collision with Bloons. | |Determines how the projectile handles collision with Bloons. | ||
*< | *<tt>"Once"</tt>: can only collide with the same Bloon or its children once. | ||
*< | *<tt>"Continual"</tt>: can collide with any Bloon once per frame, even ones it has already hit. | ||
*< | *<tt>"None"</tt>: cannot collide with Bloons. | ||
|String | |String | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>DisabledTasks</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>DrawLayer</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>ForcePersists</tt> | ||
|If true, pierce | |If true, the projectile's pierce is unaffected by pierce modifiers. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>GraphicName</tt> | ||
| | | | ||
|String | |String | ||
| Line 722: | Line 1,131: | ||
| | | | ||
|- | |- | ||
|< | |<tt>GraphicsAtPierceLevels</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>HasFixedAngle</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>HasLimitedDuration</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>HasRandomOrientation</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>IgnoreStatusEffect</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>LimitedDuration</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>LoopAnimation</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>LoopForever</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Movement</tt> | ||
|The [[#Movement|movement]] of the projectile. | |The [[#Movement|movement]] of the projectile. | ||
|Object | |Object | ||
| Line 776: | Line 1,185: | ||
| | | | ||
|- | |- | ||
|< | |<tt>NumPersists</tt> | ||
|The pierce of the projectile. One pierce is consumed per collision. | |The pierce of the projectile. One pierce is consumed per collision. | ||
|Number | |Number | ||
| Line 782: | Line 1,191: | ||
| | | | ||
|- | |- | ||
|< | |<tt>OnlyCollidePastCutOff</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Radius</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
|Uses the sprite's bounding box as a collision box | |Uses the sprite's bounding box as a collision box | ||
|- | |- | ||
|< | |<tt>RemoveAfterRoundStart</tt> | ||
| | | | ||
| | | | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>RemoveOnRoundEnd</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>SpinRate</tt> | ||
| | | | ||
| | | | ||
|{{n}} | |||
| | | | ||
|- | |- | ||
|< | |<tt>SpriteFile</tt> | ||
| | | | ||
|String | |||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>StopAtEndOfCurves</tt> | ||
| | | | ||
| | | | ||
|{{n}} | |||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks the projectile | |A list of tasks. <tt>TasksToProcessOnCollision</tt> and <tt>TasksToProcessOnTerminate</tt> determine which tasks execute on collision and which tasks execute when the projectile expires. | ||
|Array of objects | |Array of objects | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>TasksToProcessOnCollision</tt> | ||
| | | | ||
| | | | ||
| Line 842: | Line 1,245: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TasksToProcessOnTerminate</tt> | ||
| | | | ||
| | | | ||
| Line 848: | Line 1,251: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateOnTowerRemoved</tt> | ||
| | |If <tt>true</tt>, the projectile expires when the tower that fired it is destroyed. | ||
|Boolean | |Boolean | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateOnZeroPersists</tt> | ||
|If < | |If <tt>true</tt>, the projectile expires when all pierce is consumed. | ||
|Boolean | |Boolean | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminatePastCutoff</tt> | ||
| | | | ||
| | | | ||
| Line 876: | Line 1,279: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>FireFullRange</tt> | ||
|If < | |If <tt>true</tt>, this can only target points at the full extent of the range. Ignored if <tt>OnlyTargetPathLocations</tt> is set to <tt>true</tt>. | ||
|Boolean | |Boolean | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>FollowTarget</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 888: | Line 1,291: | ||
| | | | ||
|- | |- | ||
|< | |<tt>HasRandomOrientation</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>MinimumRange</tt> | ||
|The minimum targeting radius. | |The minimum targeting radius. | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>OnlyTargetPathLocations</tt> | ||
|If < | |If <tt>true</tt>, this can only target points on a path within range (i.e. Spike Factory behavior). | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>OnlyTargetPlacementLocations</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>PlacementTowerType</tt> | ||
| | | | ||
|String | |String | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Range</tt> | ||
|The maximum targeting radius. | |The maximum targeting radius. | ||
|Number | |Number | ||
| Line 924: | Line 1,327: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetIsWeaponTaskOrigin</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 930: | Line 1,333: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks to execute when this task executes. | |A list of tasks to execute when this task executes. | ||
|Array of objects | |Array of objects | ||
| Line 936: | Line 1,339: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateOnZeroPersists</tt> | ||
| | | | ||
| | | | ||
| Line 942: | Line 1,345: | ||
| | | | ||
|- | |- | ||
|< | |<tt>UseRangeModifier</tt> | ||
|If < | |If <tt>true</tt>, the targeting range scales with range modifiers. Exclusive to ''Bloons TD Battles''. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>WaitTimeRange</tt> | ||
| | | | ||
|Array of numbers | |Array of numbers | ||
| | |{{n}} | ||
| | | | ||
|} | |} | ||
| Line 964: | Line 1,367: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks the ray executes on each Bloon it touches. | |A list of tasks the ray executes on each Bloon it touches. | ||
|Array of objects | |Array of objects | ||
| | |||
| | |||
|} | |||
===RBEProjectile=== | |||
{| class="wikitable sortable" | |||
!Key | |||
!Description | |||
!Type | |||
!Required? | |||
!Behavior when absent | |||
|- | |||
|<tt>CollisionType</tt> | |||
|Determines how the projectile handles collision with Bloons. | |||
*<tt>"Once"</tt>: can only collide with the same Bloon or its children once. | |||
*<tt>"Continual"</tt>: can collide with any Bloon once per frame, even ones it has already hit. | |||
*<tt>"None"</tt>: cannot collide with Bloons. | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>GraphicName</tt> | |||
| | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>MaxRBE</tt> | |||
| | |||
|Number | |||
| | |||
| | |||
|- | |||
|<tt>SpriteFile</tt> | |||
| | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>HasRandomOrientation</tt> | |||
| | |||
|Boolean | |||
|{{n}} | |||
| | |||
|- | |||
|<tt>NumPersists</tt> | |||
| | |||
|Number | |||
| | |||
| | |||
|- | |||
|<tt>RemoveOnRoundEnd</tt> | |||
| | |||
|Boolean | |||
|{{n}} | |||
| | |||
|- | |||
|<tt>Tasks</tt> | |||
|A list of tasks. <tt>TasksToProcessOnCollision</tt> and <tt>TasksToProcessOnTerminate</tt> determine which tasks execute on collision and which tasks execute when the projectile expires. | |||
|Array of objects | |||
| | |||
| | |||
|- | |||
|<tt>TasksToProcessOnCollision</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>TasksToProcessOnTerminate</tt> | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|<tt>TerminateOnZeroPersists</tt> | |||
|If <tt>true</tt>, the projectile expires when all pierce is consumed. | |||
|Boolean | |||
| | | | ||
| | | | ||
| Line 979: | Line 1,460: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Status</tt> | ||
| | | | ||
| | | | ||
| Line 987: | Line 1,468: | ||
=== RestoreAmmo === | === RestoreAmmo === | ||
Adds ammo to the weapon. | |||
{| class="wikitable" | {| class="wikitable" | ||
!Key | !Key | ||
| Line 994: | Line 1,476: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Amount</tt> | ||
|The amount of ammo to restore to the weapon. | |The amount of ammo to restore to the weapon. | ||
|Number | |Number | ||
| Line 1,000: | Line 1,482: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Proxied</tt> | ||
|If < | |If <tt>true</tt>, also restore ammo to the weapon that spawned this aircraft. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>RoundRobin</tt> | ||
|🎠 wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee idfk but it make da glaive lord work | |🎠 wheeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee idfk but it make da glaive lord work | ||
|Number | |Number | ||
| Line 1,012: | Line 1,494: | ||
| | | | ||
|- | |- | ||
|< | |<tt>SlotIndex</tt> | ||
|The slot index of the weapon that ammo is being restored to. | |The slot index of the weapon that ammo is being restored to. | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|} | |} | ||
=== | ===Sacrifice=== | ||
{| class="wikitable sortable" | |||
{| class="wikitable" | |||
!Key | !Key | ||
!Description | !Description | ||
| Line 1,030: | Line 1,509: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>SpriteFile</tt> | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|} | |} | ||
=== | ===ScreenWipe=== | ||
Exclusive to ''Bloons TD Battles''. | |||
{| class="wikitable sortable" | |||
{| class="wikitable" | |||
!Key | !Key | ||
!Description | !Description | ||
| Line 1,094: | Line 1,531: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Count</tt> | ||
| | |||
|Number | |||
| | |||
| | |||
|- | |||
|<tt>Duration</tt> | |||
| | | | ||
|Number | |Number | ||
| | |||
| | |||
|- | |||
|<tt>SpeedMultiplierRange</tt> | |||
| | |||
|Array of numbers | |||
| | |||
| | |||
|- | |||
|<tt>Tasks</tt> | |||
| | |||
|Array of objects | |||
| | | | ||
| | | | ||
|} | |} | ||
=== | ===StatusEffect=== | ||
{{main|Technical:Bloons TD 5 (mobile)/Status effects}} | |||
Applies a modifier to the target Bloon. This task supports a lot of properties, but most are only used by certain types of statuses and are ignored by others. Some statuses cannot be inflicted by tasks, only by hardcoded game mechanics, but they can still be used for filters, and can still be removed with <tt>RemoveStatusEffect</tt>, and Bloons can be made immune to them. | |||
This table lists properties that are common to all statuses. | |||
{| class="wikitable sortable" | |||
{| class="wikitable" | |||
!Key | !Key | ||
!Description | !Description | ||
| Line 1,131: | Line 1,568: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Status</tt> | ||
|The type of status. This can also be set to an empty string, in which case it will do nothing until a <tt>TaskUpgrade</tt> changes it. | |||
|String | |||
| | |||
| | |||
|- | |||
|<tt>TargetingFilter</tt> | |||
| | |||
|Object | |||
| | |||
| | | | ||
| | |- | ||
| | |<tt>FireMode</tt> | ||
|A list of flags specifying something idk | |||
*<tt>"FireNormal"</tt> (unused) | |||
*<tt>"FireOnApply"</tt> | |||
*<tt>"FireOnCommand"</tt> (unused) | |||
*<tt>"FireOnLastPop"</tt> (unused) | |||
*<tt>"FireOnPop"</tt> (unused) | |||
*<tt>"FireOnRemove"</tt> (unused) | |||
*<tt>"RemoveOnLastApply"</tt> | |||
|Array of strings | |||
|{{n}} | |||
| | | | ||
|} | |} | ||
==== | ===TargetAlLBloonsInRange=== | ||
Exclusive to ''Bloons TD Battles''. (No, that is not a typo, it has to be capitalized that way for it to work properly.) | |||
===TextEffect=== | ===TextEffect=== | ||
===TimerFire=== | ===TimerFire=== | ||
Executes | Executes its subtasks after a delay. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Key | !Key | ||
| Line 1,173: | Line 1,608: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>CompoundSprite</tt> | ||
| | | | ||
|String | |String | ||
| Line 1,179: | Line 1,614: | ||
| | | | ||
|- | |- | ||
|< | |<tt>InitialTime</tt> | ||
| | |The initial timer to delay the first execution of a looping TimerFire. | ||
| | |Number | ||
| | |{{n}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>Loops</tt> | ||
| | |Determines if a TimerFire will loop. | ||
| | |Boolean | ||
| | |{{n}} | ||
| | |Defaults to <tt>false</tt> | ||
|- | |- | ||
|< | |<tt>NumLoops</tt> | ||
| | |Used in conjunction with the former, how many times will it loop. If <tt>Loops</tt> is not present or false, it won't loop. | ||
| | |Number | ||
| | |{{n}} | ||
| | |Doesn't loop | ||
|- | |- | ||
|< | |<tt>SpriteList</tt> | ||
| | | | ||
|Array of strings | |Array of strings | ||
| Line 1,203: | Line 1,638: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
|A list of tasks to execute when the time is up. | |A list of tasks to execute when the time is up. | ||
|Array of objects | |Array of objects | ||
| Line 1,209: | Line 1,644: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TimeDelay</tt> | ||
|The delay, in seconds. | |The delay, in seconds. | ||
|Number | |Number | ||
| Line 1,224: | Line 1,659: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>ApplyToUserTower</tt> | ||
| | | | ||
| | | | ||
| Line 1,230: | Line 1,665: | ||
| | | | ||
|- | |- | ||
|< | |<tt>CanApplyToUserTower</tt> | ||
| | | | ||
| | | | ||
| Line 1,236: | Line 1,671: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Duration</tt> | ||
|How long the modifier is active for. | |How long the modifier is active for. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>Modifier</tt> | ||
|The modifier applied. Each modifier can either be additive or multiplicative. | |The modifier applied. Each modifier can either be additive or multiplicative. | ||
{| class="wikitable" | {| class="wikitable" | ||
|< | |<tt>Cost</tt> | ||
|The price of the tower/upgrades. | |The price of the tower/upgrades. | ||
|- | |- | ||
|< | |<tt>TargetRange</tt> | ||
|The range of the tower. | |The range of the tower. | ||
|- | |- | ||
|< | |<tt>Cooldown</tt> | ||
|The cooldown time of the tower, does not affect [[Activated Ability|activated abilities]]. | |The cooldown time of the tower, does not affect [[Activated Ability|activated abilities]]. | ||
|- | |- | ||
|< | |<tt>FireDelay</tt> | ||
|The fire delay time of the tower. | |The fire delay time of the tower. | ||
|- | |- | ||
|< | |<tt>CashPerPop</tt> | ||
|The amount of money given per pop by the tower. | |The amount of money given per pop by the tower. | ||
|- | |- | ||
|< | |<tt>AbilityCooldown</tt> | ||
|The cooldown of the [[Activated Ability|activated ability]]. | |The cooldown of the [[Activated Ability|activated ability]]. | ||
|- | |- | ||
|< | |<tt>PoppingPower</tt> | ||
|The pierce of the tower. Affects both < | |The pierce of the tower. Affects both <tt>Projectile</tt> and <tt>AreaOfEffect</tt> tasks. | ||
|- | |- | ||
|< | |<tt>CanPopCamo</tt> | ||
|The ability of the tower to pop camo bloons. (Boolean) | |The ability of the tower to pop camo bloons. (Boolean) | ||
|- | |- | ||
|< | |<tt>CanPopAllBloons</tt> | ||
|The ability of the tower's damage type to ignore bloon immunities. (Boolean) | |The ability of the tower's damage type to ignore bloon immunities. (Boolean) | ||
|- | |- | ||
|< | |<tt>Damage</tt> | ||
|The amount of damage the tower does. | |The amount of damage the tower does. | ||
|} | |} | ||
| Line 1,279: | Line 1,714: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ModifyMovingTowers</tt> | ||
| | | | ||
| | | | ||
| Line 1,285: | Line 1,720: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ModifyNewlySpawnedTowers</tt> | ||
| | | | ||
| | | | ||
| Line 1,291: | Line 1,726: | ||
| | | | ||
|- | |- | ||
|< | |<tt>NumPersists</tt> | ||
| | |How many towers will be affected. If ApplyToUserTower is on, a "pierce" will be used on itself. | ||
|Number | |Number | ||
| | |{{n}} | ||
| | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>PriorityLevel</tt> | ||
| | | | ||
|Number | |Number | ||
| Line 1,309: | Line 1,738: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Range</tt> | ||
|Range of the modifier. | |Range of the modifier. | ||
|Number | |Number | ||
| Line 1,315: | Line 1,744: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ReplacesPriorityLevel</tt> | ||
| | | | ||
| | | | ||
| Line 1,321: | Line 1,750: | ||
| | | | ||
|- | |- | ||
|< | |<tt>RequiresEmptyPriorityLevel</tt> | ||
|If true, the modifier's priority level must be empty for it to work, else, it can stack with other modifiers of that priority level | |If true, the modifier's priority level must be empty for it to work, else, it can stack with other modifiers of that priority level | ||
|Boolean | |Boolean | ||
| Line 1,327: | Line 1,756: | ||
| | | | ||
|- | |- | ||
|< | |<tt>RoundDuration</tt> | ||
| | | | ||
| | | | ||
| Line 1,333: | Line 1,762: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Stackable</tt> | ||
| | | | ||
| | | | ||
| Line 1,339: | Line 1,768: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetIsWeaponTaskOrigin</tt> | ||
| | | | ||
| | | | ||
| Line 1,345: | Line 1,774: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetingFilter</tt> | ||
|What the modifier targets. | |What the modifier targets. | ||
|Array of objects | |Array of objects | ||
| Line 1,351: | Line 1,780: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TaskPersistsWithDuration</tt> | ||
| | | | ||
| | | | ||
| Line 1,357: | Line 1,786: | ||
| | | | ||
|- | |- | ||
|< | |<tt>Tasks</tt> | ||
| | | | ||
| | | | ||
| Line 1,363: | Line 1,792: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateOnUserTargetChange</tt> | ||
| | | | ||
| | | | ||
| Line 1,369: | Line 1,798: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateOnUserUpgrade</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 1,375: | Line 1,804: | ||
| | | | ||
|- | |- | ||
|< | |<tt>WeaponSlotIndex</tt> | ||
|The slot index of the weapon the modifier is applied to. | |The slot index of the weapon the modifier is applied to. | ||
|Number | |Number | ||
| Line 1,381: | Line 1,810: | ||
| | | | ||
|} | |} | ||
===TransferGame=== | |||
===TrapBloon=== | |||
===UITowerCostMult=== | |||
===WeaponBurstFire=== | |||
==Movement == | ==Movement == | ||
< | <tt>Movement</tt> is a property shared by Projectiles, Collectables, and TextEffects. The <tt>Type</tt> determines how it moves and what sub-properties are allowed. | ||
===Forward=== | ===Forward=== | ||
| Line 1,394: | Line 1,831: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
|How fast the object moves. | |How fast the object moves. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Weapon | |Weapon effectively stops moving | ||
|- | |- | ||
|< | |<tt>CutOffDistance</tt> | ||
|The distance at which the object expires. | |The distance at which the object expires. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>SpeedDecay</tt> | ||
| | | | ||
|Number | |Number | ||
| | |{{n}} | ||
| | | | ||
|} | |} | ||
| Line 1,422: | Line 1,859: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
|How fast the object moves. | |How fast the object moves. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Weapon | |Weapon effectively stops moving | ||
|- | |- | ||
|< | |<tt>CutOffDistance</tt> | ||
|The distance at which the object expires. | |The distance at which the object expires. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>NextTargetRange</tt> | ||
|The radius at which the object can target. | |The radius at which the object can target. | ||
|Number | |Number | ||
| Line 1,440: | Line 1,877: | ||
| | | | ||
|- | |- | ||
|< | |<tt>DestroyWhenNoTarget</tt> | ||
|If < | |If <tt>true</tt>, the object terminates itself if there are no targets in its range. | ||
|Boolean | |Boolean | ||
| | | | ||
| Line 1,448: | Line 1,885: | ||
===MotionCurve=== | ===MotionCurve=== | ||
Follows a path defined by a [[wp:Bézier curve|cubic Bézier curve]]. (An easy way to visualize it is with [https://www.desmos.com/calculator/fblkj0psxe this calculator].) | Follows a path defined by a set of [[wp:Bézier curve|cubic Bézier curve(s)]]. (An easy way to visualize it is with [https://www.desmos.com/calculator/fblkj0psxe this calculator].) | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
!Key | !Key | ||
| Line 1,456: | Line 1,893: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
|How fast the object moves. | |How fast the object moves. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Weapon | |Weapon effectively stops moving | ||
|- | |- | ||
|< | |<tt>CutOffDistance</tt> | ||
|The distance at which the object expires. | |The distance at which the object expires. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>Curves</tt> | ||
|The control points of the Bézier curve. The first number of each sub-array is the X-position, and the second number is the Y-position. | |The control points of the Bézier curve. The first number of each sub-array is the X-position, and the second number is the Y-position. | ||
|Array of array of numbers | |Array of array of numbers | ||
| | |{{y}} | ||
| | | | ||
|- | |- | ||
|< | |<tt>AngleOffset</tt> | ||
| | | | ||
|Number | |Number | ||
| Line 1,480: | Line 1,917: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TerminateAtEndOfCurve</tt> | ||
|If < | |If <tt>true</tt>, the object expires when it reaches the end of the path. | ||
|Boolean | |Boolean | ||
| | | | ||
| | | | ||
|} | |} | ||
===MoveToTouch=== | |||
===ReturnToSender=== | ===ReturnToSender=== | ||
| Line 1,496: | Line 1,935: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
|Determines the object's speed when moving towards the target. | |Determines the object's speed when moving towards the target. | ||
|Number | |Number | ||
| Line 1,502: | Line 1,941: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ReturnSpeed</tt> | ||
|Determines the object's speed when returning to its sender. | |Determines the object's speed when returning to its sender. | ||
|Number | |Number | ||
| Line 1,508: | Line 1,947: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetShouldFaceWeapon</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 1,514: | Line 1,953: | ||
| | | | ||
|- | |- | ||
|< | |<tt>StartOnTarget</tt> | ||
|If < | |If <tt>true</tt>, the object starts at the target and returns to the sender, skipping the phase of traveling to the target first. <tt>Speed</tt> is ignored. | ||
|Boolean | |Boolean | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>false</tt> | ||
|} | |} | ||
| Line 1,532: | Line 1,971: | ||
!Behavior when absent | !Behavior when absent | ||
|- | |- | ||
|< | |<tt>Speed</tt> | ||
|How fast the object moves. | |How fast the object moves. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Weapon | |Weapon effectively stops moving | ||
|- | |- | ||
|< | |<tt>CutOffDistance</tt> | ||
|The distance at which the object expires. | |The distance at which the object expires. | ||
|Number | |Number | ||
| | |{{n}} | ||
|Defaults to < | |Defaults to <tt>-1</tt> | ||
|- | |- | ||
|< | |<tt>SeekAngle</tt> | ||
|The angle at which the object can target from. | |The angle at which the object can target from. | ||
|Number | |Number | ||
| Line 1,550: | Line 1,989: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TurnSpeed</tt> | ||
|How quickly the object can rotate towards its target, in degrees per second. | |How quickly the object can rotate towards its target, in degrees per second. | ||
|Number | |Number | ||
| Line 1,556: | Line 1,995: | ||
| | | | ||
|- | |- | ||
|< | |<tt>TargetRange</tt> | ||
|The radius at which the object can target. | |The radius at which the object can target. | ||
|Number | |Number | ||
| Line 1,562: | Line 2,001: | ||
| | | | ||
|- | |- | ||
|< | |<tt>ActivateCutOffFromSpotter</tt> | ||
| | | | ||
|Boolean | |Boolean | ||
| Line 1,568: | Line 2,007: | ||
| | | | ||
|} | |} | ||
<!--==Navigation== | |||
{{technical nav}} | |||
[[Category:BTD5 (mobile) technical information]][[Category:Battles (multiplatform) technical information]][[Category:BMC (multiplatform) technical information]]--> | |||