Skip to content

Variables

Alex Neargarder edited this page Aug 10, 2025 · 18 revisions

These are variables that can be set in the beforeStart, afterStart, beforeAwake, and afterAwake sections of a bro's JSON file. They are shown with their default values.
Some variables don't have an impact, because they are for enemies.

Note: Sprite and texture variables like sprite, gunSprite, Avatar, and SpecialIcons should be set in the parameters section instead. See Parameters for details.

Variables

Global

{
  // Acid
  "canBeCoveredInAcid": true,
  "meltDuration": 0.7,
  // Air Dash
  "canAirdash": false,
  "airdashMaxTime": 0.5,
  "defaultAirdashDelay": 0.15,
  // Animation
  "canDoIndependentMeleeAnimation": false,
  "doRollOnLand": false,
  "useDashFrames": false,
  "useNewFrames": false,
  "useNewKnifingFrames": false,
  "useNewLedgeGrappleFrames": false,
  "useNewThrowingFrames": false,
  "useNewPushingFrames": false,
  "useNewHighFivingFrames": false,
  "hasNewAirFlexFrames": false,
  "useNewKnifeClimbingFrames": false,
  "useNewLadderClimbingFrames": false,
  "useLadderClimbingTransition": false,
  "useDuckingFrames": true,
  "useNewDuckingFrames": false,
  // Boost
  "highFiveBoostTime": 3.7,
  "highFiveBoostM": 1.4,
  // Cheat
  "immuneToOutOfBounds": false,
  // Dash
  "canDash": true,
  "dashSpeedM": 1.0,
  // Death
  "canGib": true,
  "bloodColor": "Red",
  "bloodCountAmount": 80,
  "deathSoundVolume": 0.4,
  "willComeBackToLife": false,
  "reviveZombieTime": 2.0,
  "canDisembowel": false,
  // Physics
  "JUMP_TIME": 0.123,
  "speed": 110.0,
  "maxFallSpeed": -400.0,
  "_jumpForce": 260.0,
  "quicksandChokeCounter": 2.0,
  // Sound
  "bypassNewVoicesOnThisBro": false,
  "pitchShiftAmount": 1.0,
  // Specials
  "specialGrenade": "GRENADENAME_SEEBELOW",
  "originalSpecialAmmo": 3,
  "turnAroundWhileUsingSpecials": true,
  "specialAttackYIBoost": 0.0,
  "specialAttackXIBoost": 0.0,
  // Weapon
  "projectile": "PROJECTILENAME_SEEBELOW",
  "rumbleAmountPerShot": 0.3,
  "fireRate": 0.0334,
  "fireDelay": 0.0,
  "breakDoorsOpen": false,
  // Other
  "canWallClimb": true,
  "canPushBlocks": true,
  "canLedgeGrapple": false,
  "canUnFreeze": false,
  "canBeStrungUp": false,
  "maxHealth": 1,
  "canCeilingHang": true,
  "hangGraceTime": 0.3,
  "cancelMeleeOnChangeDirection": false,
  "meleeType": "Knife",
  "knifeClimbStabHeight": 18.0,
  "maxWallClimbYI": 100.0,
  "usePrimaryAvatar": true
}

Textures

{
  "disarmedGunMaterial": "filename.png"
}

Note: sprite, gunSprite, SpecialIcons, and Avatar textures should be set in the parameters section. See Parameters for details.

Grenade Names

{
  "specialGrenade": "Grenade",
  "specialGrenade": "Default",
  "specialGrenade": "Martini",
  "specialGrenade": "TearGas",
  "specialGrenade": "FlameWave",
  "specialGrenade": "AirStrike",
  "specialGrenade": "FlashBang",
  "specialGrenade": "Hologram",
  "specialGrenade": "Cluster",
  "specialGrenade": "Sticky",
  "specialGrenade": "GrenadeTollBroad",
  "specialGrenade": "SummonTank",
  "specialGrenade": "Molotove",
  "specialGrenade": "HolyWater",
  "specialGrenade": "Freeze",
  "specialGrenade": "MechDrop",
  "specialGrenade": "AlienPheromones",
  "specialGrenade": "EvilSmall",
  "specialGrenade": "EvilBig",
  "specialGrenade": "EvilBigShortLife"
}

Projectile Names

{
  "projectile": "Default",
  "projectile": "Bullet",
  "projectile": "Rambro",
  "projectile": "Rocket",
  "projectile": "DrunkRocket",
  "projectile": "ShotgunAdjusted",
  "projectile": "ThrowingKnife",
  "projectile": "ShockWave",
  "projectile": "Turkey",
  "projectile": "SachelPack",
  "projectile": "NoisyCricket",
  "projectile": "BroboCop",
  "projectile": "RocketRemote",
  "projectile": "BulletSeeking",
  "projectile": "IndianaBrones",
  "projectile": "Shotgun",
  "projectile": "Machete",
  "projectile": "MacheteSpray",
  "projectile": "Plasma",
  "projectile": "TimeBro",
  "projectile": "BroniversalSoldier",
  "projectile": "KnifeSpray",
  "projectile": "GrenadeSticky",
  "projectile": "Sniper",
  "projectile": "ShotgunFlame",
  "projectile": "Boomerang",
  "projectile": "Silence",
  "projectile": "PredabroCanon",
  "projectile": "SpearCharged",
  "projectile": "Spear",
  "projectile": "Vomit",
  "projectile": "Sword",
  "projectile": "RocketBig",
  "projectile": "Arrow",
  "projectile": "Stake",
  "projectile": "SachelPackSmall",
  "projectile": "DemolitionBomb",
  "projectile": "Huge",
  "projectile": "MookMiniGun",
  "projectile": "RocketHuge",
  "projectile": "ShellHeavy",
  "projectile": "BabyDog",
  "projectile": "SlimeVomit",
  "projectile": "Airstrike",
  "projectile": "RocketSeeking",
  "projectile": "RocketSeekingBig",
  "projectile": "FireBall",
  "projectile": "FireBallBombardment",
  "projectile": "WarlockPortalGuided",
  "projectile": "ShellMedium",
  "projectile": "ShellHeavyEvil"
}

Bro-Specific Variables

Ash Brolliams

{
  // Textures
  "bloodyAvatar": "filename.png"
}

Bro Ceasar

{
  "miniGunFireDelay": 1.25,
  "pushBackForceM": 1.0
}

Brochete

{
  "knifeSpeed": 270.0,
  "knifeSpraySpeed": 320.0,
  "knifeSprayCount": 12,
  "test6Frames": false
}

Broden

{
  "sliceVolume": 0.3,
  "maxElectricShocks": 4,
  "upperCutAnimationRow": 7,
  "lightningRange": 50,
  "chainLightningRange": 40,
  "zapperXOffset": -16.0,
  "zapperYOffset": -12.0
}

Bro Dredd

{
  "remoteProjectileSpeed": 90.0
}

Bro Gummer

{
  "remoteProjectileSpeed": 800.0,
  "extraFireDelay": 0.3,
  "scanningRange": 10.0,
  "specialCooldownDelay": 0.13
}

Brominator

{
  "miniGunFireDelay": 1.25,
  "pushBackForceM": 1.0,
  // Textures
  "metalBrominator": "filename.png",
  "humanBrominator": "filename.png",
  "metalGunBrominator": "filename.png",
  "humanGunBrominator": "filename.png",
  "brominatorHumanAvatar": "filename.png",
  "brominatorRobotAvatar": "filename.png"
}

Bromando

{
  "barageCount": 4
}

Bronnar Jensen

{
  "shootGrenadeSpeedY": 60.0,
  "shootGrenadeSpeedX": 300.0
}

Brove Heart

{
  "groundSwordDamage": 10,
  "enemySwordDamage": 8,
  "sliceVolume": 0.7,
  "wallHitVolume": 0.6
}

Robocop

{
  "scanningRange": 10.0,
  "chargeTimePerBulletFired": 0.075,
  "specialCooldownDelay": 0.13
}

Seth Brondle

{
  "checkCeilingForHangRadius": 6,
  // Textures
  "teleportInAnimation": "filename.png",
  "teleportOutAnimation": "filename.png",
  "coveredInBloodMaterial": "filename.png",
  "openMouthMaterial": "filename.png",
  "openMouthBloodyMaterial": "filename.png"
}
Clone this wiki locally