Gameplay Attribulator - xAranaktu/FC-24-Live-Editor GitHub Wiki

Gameplay Attribulator

Gameplay attribulator editor can be used to create gameplay mods. Over the years, several threads have been created in various forums (FIFA 23 Gameplay Lab for example) where people shared their knowledge about editing gameplay files in FIFA, so if you are new to gameplay modding you should start from there.

Live Editor gives you access to Fifa/Attribulator/Gameplay/groups & Fifa/Attribulator/PreMatch/groups that you can find in FET that to this day were used by gameplay modders. I believe that now, when it's possible to edit the gameplay with live editor it should make the process of modifying and understanding gameplay faster and easier because to test the changes you just need to restart the match, not the whole game.

How to access Gameplay Attribulator Editor

You can find Gameplay Attribulator Editor in Features window, between Database & Misc Features

Click on the button and new window should appear.

You should probably focus on AttribDBRuntime_gameplayattribdb as I believe the data there is actually used in the matches you play, while the other one is for training sessions maybe? I don't know.

Example

To test if gameplay editor work properly you can for example change the ball size.

Go to AttribDBRuntime_gameplayattribdb/gp_physics/gp_physics_soccerball and change Soccerball_Radius from 0.365 to 3.0 and start a match.

You should be able to see that the soccerball is significally bigger now.

Exporting data

AttribDBRuntime_gameplayattribdb can be exported to .json file. You can do that by clicking on File->Export in top left corner of the GP Attribulator Editor window.

Within a few seconds Live Editor should create the AttribDBRuntime_gameplayattribdb.json file in C:\FC 24 Live Editor

If you don't see the file check logs. You should have info there telling you where the .json file was created

Importing data

The file you exported ofc. can be also imported back to the game (File->Import) after you for example edit it in notepad.

File will be imported from C:\FC 24 Live Editor\AttribDBRuntime_gameplayattribdb.json. You currently can't change that path, so make sure your AttribDBRuntime_gameplayattribdb.json is in correct directory before you attempt to import it.

LUA

Gameplay can be edited with lua scripts with GameplayAttribulatorManager

You can change individual values, or import data from json file.

For auto importing gameplay data from file at the game startup use this lua script (put it in C:\FC 24 Live Editor\mods\lua_autorun)

Examples:

Change Soccerball_Radius to 3.0:

LE.gameplay_attribulator_manager:SetFloatValue("AttribDBRuntime_gameplayattribdb/gp_physics/gp_physics_soccerball/Soccerball_Radius", 3.0)

Export gameplay to json:

LE.gameplay_attribulator_manager:SaveToFile()

Import gameplay from json:

LE.gameplay_attribulator_manager:LoadFromFile()

FAQ

  • Do you know how to change X or what Y does?
    • No. I've never created any gameplay mod. I'm just giving you a tool to edit these values.
  • Can I change where live editor export the AttribDBRuntime_gameplayattribdb.json file?
    • Nope, it's not possible currently.
  • Can I somehow filter the values?
    • No. I recommend to export the data and edit gameplay with your favourite json editor tool.