Turn off Attack Mode in Formula E for solo play

Discussion in 'Technical & Support' started by Booth_doberman, Dec 24, 2022.

  1. Booth_doberman

    Booth_doberman Registered

    Joined:
    Oct 5, 2015
    Messages:
    187
    Likes Received:
    84
    A Redditor asked about turning off attack mode when racing solo with the Formula E cars. I thought it might be worth posting here, too.

    How to disable/change attack mode in rFactor 2 vers. 1.09
    Open the mas2 editor in ...\steam\steamapps\common\rfactor 2\support\tools.
    Do File and Open and navigate to the FE file ...\steam\steamapps\common\rfactor 2\installed\vehicles\Formula_E_Gen2_2022\1.09\car-upgrade.
    mas.
    Right-click FE_2022_Upgrades.ini and Extract it to a location of your choice (e.g. your Desktop). Leave the mas editor open.
    Using a text editor, open the file.
    Scroll down to the UpgradeType=”Attack Mode Mod” section. It will look like this:
    UpgradeType="Attack Mode Mod"
    {
    UpgradeLevel="ATTACK MODE MOD"
    {
    Description="Attack Mode Settings"
    HDV=[ATTACKMODE]
    HDV=AttackModeEngineMap=2
    HDV=AttackModeTimeDuration=30.0
    HDV=AttackModeActivationRequirement=3
    HDV=AttackModeMaxArmings=5
    HDV=AttackModeArmingDuration=5.0
    }
    }

    Change the TimeDuration, ActivationRequirement, MaxArmings and ArmingDuration to 0.
    Optionally, you could create a new UpgradeLevel with a new UpgradeType by replacing the original code with a new UpgradeLevel like this.
    UpgradeType="Attack Mode Mod"
    {
    UpgradeLevel="ATTACK MODE MOD"
    {
    Description="Attack Mode Settings"
    HDV=[ATTACKMODE]
    HDV=AttackModeEngineMap=2
    HDV=AttackModeTimeDuration=30.0
    HDV=AttackModeActivationRequirement=3
    HDV=AttackModeMaxArmings=5
    HDV=AttackModeArmingDuration=5.0
    }
    UpgradeLevel="NO ATTACK MODE MOD"
    {
    Description="Attack Mode Settings"
    HDV=[ATTACKMODE]
    HDV=AttackModeEngineMap=2
    HDV=AttackModeTimeDuration=0
    HDV=AttackModeActivationRequirement=0
    HDV=AttackModeMaxArmings=0
    HDV=AttackModeArmingDuration=0
    }
    }

    Save the mas file to your Desktop. Then drag it into the Mas editor where you still have the car-upgrade.mas open. It will replace the original one in that file.
    In the Mas editor, click the “Create the package file” button.
    Click Create Single Cmp Package
    In the Select Component box, click the down arrow and select Add New Component. When the Edit Component Name box appears, enter the EXACT NAME of
    the FE mod. You can get this by running the ModMgr.exe program located in the rFactor 2\Bin64 directory. It will tell you that the name of the Vehicle type file you
    want is Formula_E_Gen2_2022. Type that in the Edit Component Name box.
    The File box contains the name of your new mod. Click the box to the right and navigate to the Packages folder in the rFactor 2 directory. Type in a meaningful
    name and click Open (yes, it should say Save, but it doesn’t; it says “Open”).
    The Version box should have a new version number, for example, 1.10.
    Check the Update from box and put in the version we are updating. We know that is 1.09 from running Modmgr.
    In the MAS files box, click the box icon at the right and navigate to the MAS file you created a few steps ago (when you were told to Save the file).
    Click the Package button at the bottom. Be patient. After a few minutes you should get a message that the package was created successfully. If nothing happens,
    there is something wrong with the entries you made.
    Once the Package is created successfully, click the Install button and that will install your new mod. It will create a few folder alongside the existing folders in the
    ...rFactor 2\Installed\Vehicles\Formula_E_Gen2_2022 directory. It should also appear in mod manager.
    When you run the game you have two options. If you added my NO ATTACK MODE MOD section, you can choose to enable or disable attack mode. If you just
    disabled attack mode and didn’t add the No Attack Mode Mod code, it should now start with attack mode non-functional.
    Final note: If you don’t like it, merely remove the mod with modmgr.
     
  2. r00b Driver

    r00b Driver Registered

    Joined:
    Feb 7, 2020
    Messages:
    160
    Likes Received:
    145
    Well done champ, thanks for writing this out.

    Quite frankly, this should be in the game as a default option if the AI can't use Attack Mode effectively.

    Anyway, thanks again.
     
    Leynad and Ricardo Diz like this.

Share This Page