Mbch values
From MovieBattles II Wiki
Contents |
Required Attributes
name
This is the name of the FA class. It has to match the filename of the .mbch so WT_jedi.mbch will have a name value of WT_jedi.
weapons
These are the weapons that the class carries. They are separated by a "|" in the mbch file.
| weapons | Description |
|---|---|
| WP_STUN_BATON | Projectile Rifle |
| WP_MELEE | Melee |
| WP_SABER | Lightsaber |
| WP_BRYAR_PISTOL | Blaster Pistol |
| WP_BLASTER | E-11 and variants/Shotgun |
| WP_DISRUPTOR | Disruptor |
| WP_BOWCASTER | Wookiee Bowcaster |
| WP_REPEATER | Clone Rifle |
| WP_DEMP2 | Clone Pistol |
| WP_FLECHETTE | DLT-20a/A280/EE-3 |
| WP_ROCKET_LAUNCHER | PLX-1 Rocket Launcher |
| WP_THERMAL | Frag Grenade/TD |
| WP_TRIP_MINE | Pulse Grenades |
| WP_DET_PACK | T-21/Concussion Rifle |
| WP_CONCUSSION | SBD Arm Blaster |
| WP_BRYAR_OLD | Westar Pistols |
An FA class can have any number of these weapons.
EE-3
A class can be given the EE-3 in Full Authentic if it is MB_CLASS_MANDALORIAN. It is recommended that the class is also given a jetpack to ensure correct ammo costs (MB_ATT_JETPACK,1). Instead of giving just one attribute at the desired level, you must give both MB_ATT_BLASTER and MB_ATT_A280 at that level.
Westar M5
A class can be given the Westar M5 in Full Authentic if it is MB_CLASS_ARCTROOPER. First you need to give MB_ATT_A280 at level 1 to get the Rifle. After that choose between MB_ATT_ARC_RIFLE_SCOPE or MB_ATT_ARC_RIFLE_GRENADELAUNCHER to get one of the abilities of the Rifle.
Saber Attributes
These are only needed if your class has a WP_SABER
saber1
If a class has a lightsaber, specifies which hilt it should use. (eg. Vader or Luke_Ep6)
saber2
If the class is using two lightsabers, specifies which hilt the second saber should be.
sabercolor
What colour the lightsaber blade is.
| sabercolor | Description |
|---|---|
| 0 | Red |
| 1 | Orange |
| 2 | Yellow |
| 3 | Green |
| 4 | Blue |
| 5 | Purple |
| 6 | Silver |
saber2color
What colour the second lightsaber blade is.
| saber2color | Description |
|---|---|
| 0 | Red |
| 1 | Orange |
| 2 | Yellow |
| 3 | Green |
| 4 | Blue |
| 5 | Purple |
| 6 | Silver |
saberstyle
Lightsaber styles used by the class. If you want to add more than one, separate them with a |. If this is left out the default stances your class should have based on number of sabers, saber attributes etc.
| saberstyle | Description |
|---|---|
| SS_FAST | Blue Style |
| SS_MEDIUM | Yellow Style |
| SS_STRONG | Red Style |
| SS_DUAL | Dual Sabers |
| SS_STAFF | Saber Staff |
| SS_DESANN | Purple Style |
| SS_TAVION | Cyan Style |
attributes
The MB2 abilities + attributes that the FA class has. Note that some classes can use attributes from other classes, but this is limited, not all classes can use all attributes from other classes. They are separated by a "|" in the mbch file. All things which are in red will be included in the next patch (means they don't work yet).
| attributes | Description |
|---|---|
| MB_ATT_PISTOL | Pistol, Clone/Mando Pistols |
| MB_ATT_BLASTER | E-11, shotgun, clonerifle, and EE3 (with MB_ATT_A280) |
| MB_ATT_DISRUPTOR | Disruptor |
| MB_ATT_BOWCASTER | Bowcaster |
| MB_ATT_CLONERIFLE | Clone Rifle |
| MB_ATT_PROJECTILE_RIFLE | Projectile Rifle |
| MB_ATT_A280 | A280/DLT20 and EE3 (with MB_ATT_BLASTER) |
| MB_ATT_THERMALS | Frag Grenades/Thermal Detonators |
| MB_ATT_ARMOUR | Armour |
| MB_ATT_AMMO | Ammo |
| MB_ATT_RESPAWNS | Number of reinforcements (superseded) |
| MB_ATT_SOLDIER_TDS | Frag Grenades |
| MB_ATT_DODGE | Dodge |
| MB_ATT_HEALING | Heal |
| MB_ATT_FLAMETHROWER | Flamethrower |
| MB_ATT_FUEL | Jetpack Fuel |
| MB_ATT_ROCKET | Mandalorian Rocket |
| MB_ATT_WOOKIE_HEALTH | Wookiee Health |
| MB_ATT_WOOKIE_STRENGTH | Wookiee Strength |
| MB_ATT_HULL_STRENGTH | SBD Hull Strength (This does NOT affect Droidekas, use MB_ATT_RECHARGE) |
| MB_ATT_TURN_RATE | Droideka turn rate |
| MB_ATT_FIREPOWER | Droideka/SBD firepower |
| MB_ATT_QUICKTHROW | Quickthrow |
| MB_ATT_RECHARGE | Deka Shield/Ammo Recharge rate/SBD battery recharge rate |
| MB_ATT_LOGIC | Advanced logic |
| MB_ATT_STAMINA | Stamina |
| MB_ATT_DEXTERITY | Dexterity |
| MB_ATT_PULSE_GRENADES | Pulse Grenades |
| MB_ATT_TRACKING_DART | Tracking Darts |
| MB_ATT_POISON_DARTS | Poison Darts |
| MB_ATT_JETPACK | Mandalorian Jetpack |
| MB_ATT_PLX1 | PLX-1 |
| MB_ATT_T21 | T-21, Concussion Rifle |
| MB_ATT_CLONEBLOBS | Charged rounds for Clone Rifle |
| MB_ATT_CORTOSIS | SBD Cortosis |
| MB_ATT_BLAST_ARMOUR | SBD Blast Armour |
| MB_ATT_MAGNETIC_PLATING | SBD Magnetic Plating |
| MB_ATT_CCTRAINING | Close Combats Training |
| MB_ATT_SBD_CANNON | SBD Laser Cannon |
| MB_ATT_WRISTLASER | Mandalorian Wrist Laser |
| MB_ATT_SHOCKWAVE | Droideka Shield Discharge Shockwave |
| MB_ATT_SHIELD_RECHARGE | Shield regeneration with the same bounds as heal |
| MB_ATT_SHIELD_RECHARGE2 | Shield regeneration without bounds |
| MB_ATT_SPY_DISGUISE | Pressing the T3 key while in melee disguises you as an enemy. |
| MB_ATT_ARC_RIFLE_SCOPE | Westar M5 Scope. |
| MB_ATT_ARC_RIFLE_GRENADELAUNCHER | Westar M5 Grenade Launcher. |
| MB_ATT_RALLY | Players with MB_ATT_ASSEMBLE respawn next to this player. |
| MB_ATT_ASSEMBLE | You respawn next to a player with MB_ATT_RALLY. |
| MB_ATT_ANTI_MT | Protects the player from Mind Trick. |
| MB_ATT_ZOOM | Gives a Zoom Option (MB_CLASS_SBD only). |
| MB_ATT_RADAR | The Radar shows enemies while in Recharge Battery Mode (MB_CLASS_SBD only). |
forcepowers
These are the forcepowers used by the class. They are separated by a | in the .mbch file. All things which are in red will be included in the next patch (means they don't work yet).
| forcepowers | Description |
|---|---|
| FP_LEVITATION | Force Jump |
| FP_SPEED | Force Speed |
| FP_PUSH | Force Push |
| FP_PULL | Force Pull |
| FP_SEE | Force Sense/Deadly Sight |
| FP_TELEPATHY | Force Mind Trick/Blind |
| FP_GRIP | Force Grip |
| FP_LIGHTNING | Force Lightning |
| FP_SABER_OFFENSE | Saber Offense |
| FP_SABER_DEFENSE | Saber Defense |
| FP_SABERTHROW | Force Block |
| FP_TEAM_HEAL | Saber Deflect |
| FP_RAGE | Force Destruction |
| FP_HEAL | Force Healing |
| FP_DRAIN | Force Drain |
maxhealth
How many health points the class has.
maxarmor
How many armour points the class has.
model
The model that the class is using for example luke or imperial.
skin
Which variant skin is being used such as default, blue or red.
uishader
The icon displayed in the join game screen. Full path to the image required, but without file extension. The icon is usually mb2_icon_default in the models folder, for example models/players/imperial/mb2_icon_default.
MBClass
The Movie Battles II class that the player is using.
| MBClass | Description |
|---|---|
| MB_CLASS_SOLDIER | Soldier |
| MB_CLASS_JEDI | Jedi |
| MB_CLASS_HERO | Hero |
| MB_CLASS_BOUNTY_HUNTER | Bounty Hunter |
| MB_CLASS_MANDALORIAN | Mandalorian |
| MB_CLASS_WOOKIE | Wookiee |
| MB_CLASS_DROIDEKA | Destroyer Droid |
| MB_CLASS_CLONETROOPER | Clone Trooper |
| MB_CLASS_ELITETROOPER | Elite Trooper |
| MB_CLASS_SBD | Super Battle Droid |
| MB_CLASS_ARCTROOPER | ARC Trooper |
| MB_CLASS_OBSERVER | Spectator |
classNumberLimit
Limits how many of this class can be in play at one time. If 0 or unspecified, there will be no limit to the number of this class.
description
The stuff typed here will be shown as the class description, this can span over multiple lines, remember to use "" as start and end markers
Optional Attributes
These attributes are optional, but can impove an FA class and make it more advanced
Optional skin attributes
customred
Amount of red for custom RGB model. Between 0 and 1.
customgreen
Amount of green for custom RGB model. Between 0 and 1.
customblue
Amount of blue for custom RGB model. Between 0 and 1.
speed
This is a multiplier of the speed of the player. It is applied on top of class-specific things. speed 0.75 on a jedi would mean at three-quarters of the normal speed of a jedi.
classflags
These are special abilities that the class has, applied like weapons. They are always active. All things which are in red will be included in the next patch (means they don't work yet).
| classflags | Description |
|---|---|
| CFL_STRONGAGAINSTPHYSICAL | The player takes half damage against melee attacks |
| CFL_STATVIEWER | The player can see the health and ammo of allies |
| CFL_HEAVYMELEE | The player does wookiee-style melee damage |
| CFL_REALTD | The player throws a thermal detonator rather than a frag grenade when given WP_THERMAL |
| CFL_HASQ3 | The player has Q3 blocking ability. This is required in order to have Q3 in Full Authentic |
| CFL_EXTRAFLAMEDAMAGE | The player does twice as much damage when using a flamethrower. And also uses a blue fire effect |
| CFL_FASTHACKING | The player hacks usable objects four times as fast |
| CFL_MIRALUKA | The player has the 'seeing' effects of force sense level 3 active at all times (Warning, incompatible with CFL_DEADLYSIGHT) |
| CFL_FORCEBLINDING | Instead of using mind trick (if player has FP_TELEPATHY), the player uses force blinding |
| CFL_NOPICKUPS | This player cannot pick up any items |
| CFL_BPFREEJUMPS | The player does not lose BPs when jumping |
| CFL_SHOTGUN | Transforms an E-11-type weapon(MB_ATT_BLASTER/WP_BLASTER) into shotgun-type weapon behavior. A weapon override is required to change the visual appearance of the weapon. |
| CFL_SEEING_STEALTH | Makes a class invisible to Force Seeing. |
| CFL_CONCUSSIONRIFLE | Transforms a T-21-type weapon(MB_ATT_T21/WP_TRIP_MINE) into a BaseJKA-style Concussion Rifle. Behavior is more closely geared to the Concussion Rifle's behavior in Jedi Knight 1, rather than Jedi Knight 2 or Jedi Knight 3. A weapon override is required to change the visual appearance of the weapon. |
| CFL_DEADLYSIGHT | Instead of using Force Seeing(If a player has FP_SEE), the player uses Force Deadly Sight. (Warning, incompatible with CFL_MIRALUKA) |
| CFL_AKIMBOPISTOL3 | Upgrades Clone Pistols 3 or Westar Pistols 3 into functioning with the damage and ammo consumption of dual regular Pistol 3s. Clone Pistols 4 or Westar Pistols 4 are appropriate descriptions for this ability. |
| CFL_THERMALROCKETS | Converts the PLX-1(MB_ATT_PLX1/WP_ROCKET_LAUNCHER)'s primary fire mode into firing rockets with Thermal Detonator warheads. Thermal Detonator grenades are not required as ammunition to use this, unlike Pulse Rockets. Regular rockets cannot be fired when this is used, however. |
| CFL_NO_FUEL_USE | The Jetpack doesn't drain any fuel. |
| CFL_NO_JETPACK_OVERHEAT | Removes overheat from the Jetpack. |
| CFL_NO_JETPACK_COOLDOWN | Removes cooldown from the Jetpack. |
| CFL_FUEL_REGENERATION | The fuel renegerates (same rate as saber defense 3) if the player isn't using the jetpack or flamethrower. Mandalorian class only. |
| CFL_ACIDBLOOD | If a player with this flag dies; the people around his/her body get poisoned for a short period of time. |
| CFL_WFLAMETHROWER | Transforms a Clone rifle-type weapon(MB_ATT_CLONERIFLE/WP_REPEATER) into a flamethrower-type weapon. |
| CFL_INSTAGIB | Upgrades the Tenloss disruptor weapon(MB_ATT_DISRUPTOR/WP_DISRUPTOR) into an instant-killing weapon. |
holdables
Holdable items that the class carries around. These are activated and selected by the Force Next and Force Previous buttons and used by the Use Force button, or, if the user has force powers, by the Inventory Next" or "Inventory Previous" and activated by Use Item.
| holdables | Description |
|---|---|
| HI_MEDPAC | This heals the player for 25 HP. |
| HI_MEDPAC_BIG | This heals the player for 50 HP. |
| HI_BINOCULARS | Electrobinoculars |
| HI_SENTRY_GUN | Portable Sentry Gun |
| HI_HEALTHDISP | Can heal allies |
| HI_AMMODISP | Can give allies ammo. |
| HI_EWEB | The player can deploy and use an e-web gun |
| HI_CLOAK | Cloaking device |
| HI_SHIELD | Portable Shield |
| HI_SEEKER | Seeker Drone |
APmultiplier
This multiplies the number of attack points a saberist has by the value.
BPmultiplier
This multiplies the numer of block points a saberist has by the value.
modelscale
Scales the playermodel and the players hitbox, so smaller players can go through smaller places. Overrides wookiee and SBD scaling - not currently droideka compatible.
extralives
Number of respawns you get. Overrides any MB_ATT_RESPAWNS entries.
forceregen
A multiplier for the rate at which the player's Force Points regenerate. For exampel with a value of 2 it would go twice as fast. Not compatible with CFL_FASTFORCEREGEN.
forcepool
Size of the player's force point pool. This does work for gunners (and allows them to use force powers).
meleeknockback
The multiplier for the amount of knockback players recieve when hit by the class's melee attacks.
customveh
The value should be the vehicle name in the .veh file. This allows the substitution of the droideka vehicle for a different vehicle if the class is MB_CLASS_DROIDEKA. For more on this see using customveh.
Weapon Overrides
This is important, so it gets a page all to itself at mbch Weapon Overrides. This allows for the weapon model and effects used by a class to be changed by the FA maker Each weapon override for a class is inserted as a block of text.
