Make a champion
The quickest way to a new champion is to copy the sample champion closest to what you want and change it. A champion is a handful of ordinary assets: a Champion Definition, five Ability Definitions, a character Blueprint and a recommended build. Nothing about the sample champions is special, so a copy plays, levels, shops and is played by bots like the original.
This guide makes Marlow, a marksman, from Varra. The five sample champions are Varra (marksman), Thorne (tank), Isolde (mage), Rook (assassin) and Harrow (fighter); see Riftwood.
What a champion is made of
In /PioneerMOBA/Sample/Champions/Varra:
| Asset | What it is |
|---|---|
DA_Champion_Varra | The Champion Definition: name, portrait, stats, basic attack, clips, the abilities on each slot and the recommended build |
DA_Varra_P_SteadyAim, DA_Varra_Q_PiercingBolt, DA_Varra_W_Volley, DA_Varra_E_Tumble, DA_Varra_R_LongShot | The five Ability Definitions |
BP_Champion_Varra | The character Blueprint: the mannequin body and the gear on its sockets |
DA_Build_Varra | The recommended build the shop shows and bots buy |
SK_, SM_, MI_, T_ assets | The gear's meshes, materials and textures |
Icons | The ability icons |
Step 1: Copy the assets into your project
- In the Content Browser, make a folder for the new champion, for example
/Game/Champions/Marlow. - Select the Champion Definition, the five Ability Definitions, the Blueprint and the build in
/PioneerMOBA/Sample/Champions/Varra, drag them onto your folder and choose Copy Here. Copy the gear and the icons too if you want to start from them. - Rename the copies:
DA_Champion_Marlow,DA_Marlow_Q_...and so on,BP_Champion_MarlowandDA_Build_Marlow.
Step 2: Point the copies at each other
Open DA_Champion_Marlow and check that it names your copies, not Varra's:
- Pawn Class:
BP_Champion_Marlow. - Abilities: each slot's Ability Definition, Passive, Q, W, E and R, is your copy.
- Recommended Build:
DA_Build_Marlow.
Fix any entry that still points into the Sample folder. Then give each ability its own Ability Tag, such as
Ability.Marlow.Q. Add the tags in Project Settings > Gameplay Tags first.
Step 3: Make it your own
- Name and portrait: Display Name and Portrait in the Champion Definition. Champion select, the HUD and the scoreboard show them.
- Body: open
BP_Champion_Marlowand change the mesh and the gear. Skinned gear follows the body by itself; rigid gear goes on a socket with its Parent Socket. See Gear and team color. - Clips: the Champion Definition's Animation section: Idle, Move, Attack and Death, all on the mesh's skeleton. Without a Death clip the body goes limp on its physics asset.
- Stats: Base Stats and Per Level Stats. Give the champion some Health Regen and Mana Regen. A melee champion has an Attack Range of about 175 cm and an Attack Projectile Speed of 0.
- Abilities: change each Ability Definition's numbers, shape, effects and Description, or swap one for a new ability; see Add an ability.
- Build: change the items in
DA_Build_Marlow's Starting, Core and Situational rows.
Step 4: Give it its own effects
The copied abilities still name Varra's Gameplay Cues (GameplayCue.Sample.Varra.Q.Cast and the rest), so Marlow plays
Varra's effects until you change them. Make cue notifies with your own tags and name them in each Ability Definition's
Cues; see Effects and animation.
Step 5: Put it in the game
- Add
DA_Champion_Marlowto Project Settings > Pioneer MOBA Framework > Match Flow > Champions. Champion select and the main menu's Champions screen offer it. - To play it straight from a map in Play In Editor, set it as the game mode's Default Champion in your
DefaultGame.ini(see Replace the sample's defaults), or typeMoba.SetChampion /Game/Champions/Marlow/DA_Champion_Marlow.DA_Champion_Marlowin the console during play. - If the champion's assets are only named in that list and nowhere else, make sure the packaged game cooks them: add the folder to Project Settings > Packaging > Additional Asset Directories to Cook.
Step 6: Check it
- Save every asset. Saving checks an Ability Definition: a missing tag or class, or a number its cast type needs that is 0, is an error in the message log, and such an ability is not granted.
- Play Riftwood alone with bots and cast every ability.
Moba.SetLevel 18gives you every rank. - Watch the bots play Marlow: add one with
Moba.AddBot Red /Game/Champions/Marlow/DA_Champion_Marlow.DA_Champion_Marlow. Bots use the Bot section copied with each ability; adjust it as in Tune the bots.