Skip to content

Variables

Gorzon edited this page Aug 7, 2023 · 14 revisions

Variables that you can change while creating the bro. They are shown with their default value.
Some variables don't have an impact, cause they are for enemies.

Dash

canDash = true;
dashSpeedM = 1f;
// Air Dash
canAirdash = false;
airdashMaxTime = 0.5f;
defaultAirdashDelay = 0.15f

Acid

canBeCoveredInAcid = true;
meltDuration = 0.7f;

Death

canGib = true;
bloodColor = BloodColor.Red;
bloodCountAmount = 80;
deathSoundVolume = 0.4f;
willComeBackToLife = false;
reviveZombieTime = 2f;
canDisembowel = false;

canWallClimb = true; // If false, you still climbing but the animation is messed up canPushBlocks = true; canLedgeGrapple = false; canUnFreeze = false; breakDoorsOpen = false; canBeStrungUp = false; maxHealth = 1 fireRate = 0.0334f; fireDelay = 0.0f; canCeilingHang = false; hangGraceTime = 0.3f breakDoorsOpen = false;


### Physics

```csharp
JUMP_TIME = 0.123f; // The time you can hold jump for jumping. Be careful adding a small number can really increase time.
speed = 110.0f; // Speed of the bro.
maxFallSpeed = -400f; // The speed for falling when he is in the air.
_jumpForce = 260f; // Jump height.
quicksandChokeCounter = 2f;

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;

Cheat

immuneToOutOfBounds = false;