Getting Started

UEFN Plugins provide you with the ability to create your own custom cosmetic swaps and offer you the freedom to create anything you desire with a wide range of options.

Before working on a UEFN plugin, it's recommended that you fully understand the JSON format that Galaxy Swapper uses. To gain a better understanding, you can read: Getting Started

JSON-Editor

Galaxy Swapper v2 plugins use a format called JSON. To create a plugin, you will need a JSON editor. You can use one of the following editors:

FModel

To access the asset paths for your plugin, you will need to explore the Fortnite game files. This can be achieved by downloading FModel.

FortnitePorting

To ensure you can export the most accurate armature to Blender for rigging your custom UEFN item, download FortnitePorting.

Blender

To rig your custom item, you will need to download Blender.

Better-FBX (Blender Addon)

To export your custom item, you will need to download Better-FBX.

UEFN

In order for us to import our custom models and pak them into a UEFN game file we will need to download UEFN.


Importing Into UEFN

To understand how to import items into UEFN, please refer to the corresponding item type in the table of contents below.

  • Skeletal Mesh [Soon]


Exporting UEFN Plugin Files

In order to use your custom models that you imported into UEFN, we will need to export the game files from it. To do so make sure to drag all the custom items you have imported from the content browser onto the map.

You will then want to launch a play session to do so at the top, click 'Launch Session'.

You will then load into your map! Once you have fully loaded into the play session, you will want to press the Windows key + R on the keyboard. The Run command will appear, and you will then need to type the contents below and click 'OK'.

%localappdata%/FortniteGame/Saved/PersistentDownloadDir/GameCustom/InstalledBundles

Windows Explorer will pop up. You should see several folders that are named randomly. You will want to locate the newest folder and open it.

You will find the following files in the folder:

  • plugin.pak

  • plugin.sig

  • plugin.ucas

  • plugin.utoc

These files are your UEFN game files. These will be the files we will use in the plugin.


Uploading UEFN Game Files

To allow Galaxy Swapper to read and utilize our UEFN game files, we need to import them into our plugin JSON.

To do so we will need to upload our UEFN game files to a database that can be downloaded. You can either use Discord or Github ect. Discord is the easiest to use, so I will use that in our example.

You will want to drag the plugin.ucas, plugin.utoc, plugin.pak, plugin.sig files into a Discord channel or private message.

You will need to obtain the download link for each of the files we uploaded. To do so, hover over the file and a download arrow will appear. Right-click on that.

A popup will appear. You will want to click 'Copy Link'.

You will then receive a URL like the one shown below. You will want to do this for each of the plugin files.

https://cdn.discordapp.com/attachments/1142623717868978296/1142624236494655570/plugin.ucas

Adding UEFN Game Files to Our Plugin

In order for Galaxy Swapper to download your UEFN game files, we will need to add the download URLs to the plugin JSON.

In our JSON, we will want to add a 'Downloadables' array with the keys 'ucas', 'utoc', 'pak', 'sig'.

{
   "Name":"Blaze To Reyna",
   "Icon":"https://fortnite-api.com/images/cosmetics/br/CID_028_Athena_Commando_F/icon.png",
   "Swapicon":"https://fortnite-api.com/images/cosmetics/br/CID_784_Athena_Commando_F_RenegadeRaiderFire/icon.png",
   "Message":null,
   "Assets":[],
   "Downloadables":[
      {
         "ucas":"https://cdn.discordapp.com/attachments/1142579751115038831/1142579767187615744/plugin.ucas",
         "utoc":"https://cdn.discordapp.com/attachments/1142579751115038831/1142579767565099159/plugin.utoc",
         "pak":"https://cdn.discordapp.com/attachments/1142579751115038831/1142579768018092032/plugin.pak",
         "sig":"https://cdn.discordapp.com/attachments/1142579751115038831/1142579766877241405/plugin.sig"
      }
   ]
}

Key explanation

ucas - This will be the download url for 'plugin.ucas'.

utoc - This will be the download url for 'plugin.utoc'.

pak - This will be the download url for 'plugin.pak'.

sig - This will be the download url for 'plugin.sig'.

Last updated