Everhood 2 Modding
  • Welcome
  • Getting Started
    • Setting up stuff
    • Create a world
    • Create a battle
  • Basics
    • Export a Mod
    • Test Mod From Hilbert Hotel
    • Test Mod faster from Menu
    • Battle Editor
    • Upload / Update a mod to Steamworkshop
    • Custom coding
    • Dialogues Rich Text Sheet
  • Help
    • My mod is pitch black
    • Join our Discord for help
Powered by GitBook
On this page
  • Setup
  • Save As the BattleTemplate Scene
  • Fixing the Ground Visual
  • Creating a charting file
  • Open the Battle Editor
  • Head over to Battle Editor for how to use the battle Editor
  • Setting up the Chart Data
  • Add the song clip and chart in your mod folder
  • Set the parametest for Chart Data Object
  • Attaching Events to Notes and Sections
  • Set Events to Notes
  • Set Events To Sections
  1. Getting Started

Create a battle

PreviousCreate a worldNextExport a Mod

Last updated 3 months ago

Setup

1

Save As the BattleTemplate Scene

In Project window, go to Modding → _InfinityModding → ModdingRoot and double click the battle template scene names Modding_BattleTemplate.

Then go to FILE -> and click Save As, set the name you want, and make sure to save it INSIDE the “Mod 1” folder we just created.

The “Mod 1” folder must contain all assets of your mod. So save the scene there.

2

Fixing the Ground Visual

Locate CB_GenericBattleBackground_Infinity, select your Ground Visual in the battle scene, unfold the material inspector and drag and drop the CB_GenericBattleBackground_Infinity onto the filed Texture Sample 0.

Creating a charting file

A battle needs a “Chart Data”, in order to create a “Chart Data” we need two things:

-The Charting file (the data about the notes)

-The song clip

1

Open the Battle Editor

To create a charting file, we need to open the battle editor. For that open the game and go to Custom Battles and click Battle Editor to open it. For that once again open Everhood 2, go to Custom battles and and click Tools.

Open the Moonscraper Everhood Ultimate folder and double click the executable

Here is how it should look:

Setting up the Chart Data

Once the chart file exported, let's take a look on how to generate the “Chart Data”.

1

Add the song clip and chart in your mod folder

Just Drag and Drop your song inside the mod folder of your unity project. It should look like this:

2

Set the parametest for Chart Data Object

Go to your Hierarchy windows and click the Game Object “Chart Data”

If you check your Inspector window, you should see a component called “CB_Chart” Drag and drop our charting file inside the Chart field, and our song clip inside the Song field.

Click the three dots in the CB_Chart component and click Generate Chart Data

Now your Chart Data Game Object in the Hierarchy windows should look like this

If you click the arrows , you can expand and see the sections and notes in details

Now you are ready to hook up events to your Sections and Notes!

Attaching Events to Notes and Sections

Events are what will make your battle alive, with events you can control every visual aspect of your battle. Check the Event Commands section in order to get info on what each event does!

1

Set Events to Notes

Click any Note - ID = x “Event” Game Object inside your chart Data located in the Hierarchy windows.

In the Inspector you will see a big button “Add Command Event”

When you click it you will see a dropdown will multiple events to select, each on their own category

When clicked, the command should now appear in the Inspector of that “Event”

2

Set Events To Sections

Like setting events to Notes, click any Section - x Game Object inside your chart Data located in the Hierarchy windows.

In the Inspector you will see a big button “Add Command Event”

When you click it you will see a dropdown will multiple events to select, each on their own category

When clicked, the command should now appear in the Inspector of that “Event”

Head over to Battle Editor for how to use the battle Editor