Certainly! Adding a newcomer fighter in Super Smash Bros. Ultimate using Arcropolis and Smashline involves several steps: cloning a base fighter, assigning new Fighter Kind IDs, and ensuring proper setup so the game recognizes the newcomer properly.
Here’s a step-by-step guide for adding a unique fighter (e.g., Waluigi) based off an existing fighter (e.g., Terry) using Smashline with two unique Fighter Kind IDs (dolly and waluigi for example):
Prerequisites
- Setup working with Arcropolis and Smashline in your modding environment.
- A clone fighter base (e.g., Terry is already supported, with its existing Fighter Kind ID).
- Familiarity with building and injecting fighter data (
fighter_kind IDs, rosters, etc.).
Step 1: Define Unique Fighter Kind IDs
Fighter Kind ID is how the game differentiates fighters internally.
By default, the base fighter (e.g., Terry) has its own Fighter Kind ID, let's say terry (or its numeric code — e.g., 0x??).
We need to:
- Clone Terry’s fighter and assign a new Fighter Kind ID, e.g.,
waluigi.
- Optionally use a temp ID during cloning such as
dolly (unique temp ID) and then rename it to waluigi.
Step 2: Clone the Fighter with smashline::clone_fighter
The Smashline API provides the method:
smashline::clone_fighter("dolly", "terry");
- This means clone the fighter with base ID
"terry" and create a temporary clone under "dolly" Fighter kind ID.
Step 3: Rename Fighter Kind ID from Dolly to Waluigi
Once you have your clone "dolly", you want to rename all references from dolly to waluigi fighter kind ID:
smashline::fighter_rename("dolly", "waluigi");
(Note: The Smashline API might have a direct rename or you may have to do remapping manually depending on exactly how versions or APIs are used.)
Example Smashline Script
Here is a minimal example in Rust style (pseudocode) for the clone + rename operation:
use smashline::*;
#[smashline::fighter_frame(0)]
fn waluigi_fighter_frame(fighter: &mut L2CFighterCommon) {
// Your fighter frame logic for Waluigi here
}
#[smashline::install]
fn install() {
// Clone Terry fighter to Dolly
clone_fighter("dolly", "terry");
// Rename Dolly to Waluigi
fighter_rename("dolly", "waluigi");
// Add hooks or changes for Waluigi after clone and rename
install_acmd_scripts!(
waluigi_attack, // example function
//...
);
}
Step 4: Update Fighter Files and Assets
- Your fighter
.pac (model), .tsv (animation), .lua (scripts), etc. should be copied or set up for your new fighter.
- File naming should match new Fighter Kind ID
waluigi.
- For example:
fighter/waluigi/body.pac, etc.
Step 5: Add to Fighter Metadata and Roster
- Update
fighter_kind_list to add your fighter's unique ID.
- Add you fighter to the roster files to appear as a selectable character.
- Optionally, edit inputs, CSS icons, etc., for your fighter.
Summary of Steps:
| Step | Command/Action |
|---|
| Clone the base fighter | smashline::clone_fighter("dolly", "terry"); |
| Rename cloned fighter | smashline::fighter_rename("dolly", "waluigi"); |
| Add fighter scripts | Implement new frame scripts, ACMD scripts, etc... |
| Add fighter assets | Duplicate and rename model textures, animations... |
| Update roster & metadata | Add new fighter ID and metadata for game launch |
Additional Tips:
- Use tools like Ultimate Mod Manager (UMM) or Arcropolis launcher to test builds.
- Always backup your files.
- Fighters need to have unique Fighter Kind IDs (both a string and a unique numeric ID assigned in the internal config).
- To avoid conflicts, make sure
waluigi is not an existing fighter ID in your project.
- Test by launching the game and calling your fighter by its new ID.
If you'd like, I can also help you with a complete example project structure or explain where to edit fighter lists in Arcropolis! Just ask!