Package megamek.client.ratgenerator


package megamek.client.ratgenerator
  • Class
    Description
    Base functionality for chassis and model records for RAT generator.
    Handles availability rating values and calculations for RAT generator.
    The ChassisRecord tracks all available variants and determines how much total weight is to be distributed among the various models.
    A commander node gives the rank to assign the force's commander, an optional title, and the position within the force structure (typically in the first unit/subforce for a field officer).
    Description of crew.
    The Defaults node is at the beginning of a ruleset file and provides the default values for that faction.
    Stores data about factions used for building RATs, including parent factions, factions to salvage from, and percentages of Clan/SL/Omni tech.
     
    Proportions of Clan/SL/Omni tech are given for major commands in the various sourcebooks such as the Field Manual series.
    Describes the characteristics of a force.
    A force node contains the rules for generating a force when the ForceDescriptor matches the characteristics defined by the force node.
    Defines a Campaign Operations formation type (e.g., Battle Lance, Assault Lance, Aerospace Superiority Squadron), its composition rules, and the logic for generating or validating sets of units against those rules.
    Abstract base class for a secondary requirement on a formation: a predicate that some number of units must satisfy.
    A FormationType.Constraint requiring a fixed minimum number of units to satisfy the criterion, regardless of formation size.
    A FormationType.Constraint that requires a subset of the formation to form one or more matched groups (typically pairs) of units sharing a chassis or model.
    Used to adjust availability to conform to a particular mission role.
    Specific unit variants; analyzes equipment to determine suitability for certain types of missions in addition to what is formally declared in the data files.
    An OptionGroupNode is an adapter that allows two or more alternative ValueNodes to be used when one is expected, and provides information on how to make the selection.
     
    This class provides export for MM's RAT data to an excel-optimized CSV file for exchanging data with the MUL team.
    Generates a random assignment table (RAT) dynamically based on a variety of criteria, including faction, era, unit type, weight class, equipment rating, faction subcommand, vehicle movement mode, and mission role.
    Container for all the rule nodes for a faction.
     
     
    Base class of all nodes in the Force Generator faction ruleset files.
    Node while contains rules for generating subForces -- either lower echelons or the actual units if this is a bottom-level echelon.
    Contains details about which units and echelon levels are available to this unit in given eras.
    Generates drop-ships and jump ships to fulfill transport requirements for a unit.
    Manages random assignment table generated by RATGenerator.
     
     
    Generic node which contains a value, a proportional weight to be used in random selection, and the number of times to be applied.