Przejdź do treści
Bity zamieszek

Bity zamieszek

  • Dom
  • Aktualności
  • Przewodniki
  • Przewodniki wideo
  • Opis zmian
  • Zgłoś nadużycie
  • Przełącz formularz wyszukiwania
Noble Fates

Noble Fates Beginner’s Modding Guide

Wysłany dnia 04/01/202204/01/2022 Przez Satoru Brak komentarzy NA Noble Fates Beginner’s Modding Guide
  • Tytuł: Noble Fates
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Information about Noble Fates is still incomplete. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

This guide will be showing you the steps on how to mod Noble Fates. We will be covering the proper setup, making your first mod, source controls, i więcej.

This guide assumes that you have already read the NF user echo for modding. Located Tutaj.

I will try to keep repetition to a minimum. If there’s a reference for something it will be linked rather than explained again.

Konfiguracja

It is recommended to use Kod Studio Visual. I have made an extension for octdats to help with modding. You can search NF OctDat in VSC to get it. Alternate link Tutaj.

Go to Noble Fates in Steam. Kliknij prawym przyciskiem myszy > Noble Fates > Właściwości > Betas > Rozwój

The Development branch supports two cmd line options. Combine both to start playing immediately.

  • “-skipmenu” skips the main menu and jumps straight to a new game.
  • “-skipintro” skips the intro and dumps you in-game.

Open the game folder. Create a “Mody” folder if you don’t have one already. Make another folder for your mod.

Create a new text file and rename it MyMod.octdat, or whatever your mod name will be.

OctMod.info & Preview.png are explained Tutaj. This is for uploading your mod to the Steam workshop. If you do not wish to upload your mod then you can skip this part.

Open VSC and set up a workspace. You can do this by dropping the folders you want into the sidebar.

I generally keep 3 main folders here.

  • …\Steam\steamapps\common\Noble Fates\Mods\ – Main game mods folder
  • …\Steam\steamapps\common\Noble Fates\Noble Fates_Data\StreamingAssets\OctDats – All the games OctDats
  • …\NF\MyMods\OctDats – This is my git repo folder.

When you set it how you like, Plik > Save Workspace As…

Making your first mod

Open the OctDats folder in your workspace and navigate to Settings > GameSettings.octdat

Here is the game’s Raid Chance settings slider.

{
id Oct.Settings.Game.RaidChance
type SliderSettingDefinition
name = Raid Chance
order = -900
kategoria = <Oct.Settings.Game>
min = 0
maks = 2
step = .1
jednostka = x
defaultValue = 1
}

Pozwalać’s break this down a bit first.

The ID is specific to each object. If you want to edit an existing value in the game then you would use the same ID and TYPE. You only need to add the property/value that you wish to change.

Open your octdat and paste the below into it. Set the value to whatever you want.

Save the file and load the game.

To check this setting you must load into a new or saved game. Opcje > Gra

{
id Oct.Settings.Game.RaidChance
type SliderSettingDefinition
 
maks = 5
}

We can see here that the mod does indeed work. Gratulacje!

Source Control

If you are familiar with this then go ahead and skip this section. W przeciwnym razie, it is highly recommended that you use source control of some kind.

I personally prefer GitLab. On Windows, I use GitHub Desktop software. It’s a nice all-in-one GUI. Simple and easy to use. Ponownie, this is my preference and you are welcome to use whatever you like. Even if you use CLI only.

Link to my NF GitLab for reference.

If you need help there are endless amounts of information on the net about Git and source control. Feel free to ask in the discord for help as well.

Blender

Exporting:

  • Animations
    • Remove the body/head
    • Mark the new actions F (force user)
    • Kill any NLA tracks
  • Meshes
    • Apply transforms
  • Export settings
    • FBX 7.4 binary
    • Skala: .01
    • Apply Scalings: FBX All
    • Sprawdzać !EXPERIMENTAL! Apply Transforms
  • Armatures
    • Uncheck Add Leaf Bones
    • Primary Bone Axis: Y
    • Secondary Bone Axis: -X
  • Animation
    • Uncheck Key All Bones
    • Uncheck NLA Strips

DLL Mods

This guide assumes you have experience in C# and using Harmony/Bepin. Harmony or Bepin are not required.

I would recommend you look at the example DropsMod.

Setting up Visual Studio

You will need to download Visual Studio if you do not have it already.

Fakultatywny: Visual Studio 2017

Make sure .Net desktop development workload is checked.

W momencie pisania, you should only have to add .Net Framework 4.7.1 SDK to the installation checklist.

//.NET Category                                .//Code tools Category

.Net Framework 4.6.1 SDK                        ClickOnce Publishing

.Net Framework 4.6.1 targeting pack                Static analysis tools

.Net Framework 4.7.1 SDK                        Text Template Transformation

.Net Framework 4.7.1 targeting pack

.Net Portable Library targeting pack                .//Development activities Category

C# and Visual Basic

.//Cloud, database, and serve Cat.

CLR data types for SQL Server

Data sources and service references

.//Compilers, build tools, and runtimes Cat.

C# and Visual Basic Roslyn compilers

MSBuild

Pierwsze kroki

ILSpy & dotPeek are great tools to help view the game’s code. ILSpy is self-explanatory. The info on the linked page will explain how to use it. dotPeek is a separate program.

Open dotPeek. Plik > Otwarte↓

…\Steam\steamapps\common\Noble Fates\Noble Fates_Data\Managed → Assembly-CSharp.dll

From here you can reference all the games code.

In Visual Studio

Startup a new project. Nazwij to. Framework should be set to .Net Framework 4.7.1

Add or remove references as required.

Add References

In my Alchemy mod, I created 2 new commands to accompany the Alchemy job. Zasadniczo, this is a copy of CookItemCommand.cs

namespace Alchemy
{
public class SynthesizeItemCommand : CraftItemCommand
{
public override string RelevantSkill() => "Alchemia";
 
public SynthesizeItemCommand(OctSaveInitializer initializer)
: opierać(initializer)
{
}
 
public SynthesizeItemCommand(Actor owner, WorkbenchPropActor workbench, ItemRecipe recipe)
: opierać(owner, Workbench, przepis)
{
}
 
public override string ToString() => this.partial != null ? "Alchemia " + this.partial.item.type.GetName() : "Alchemia " + (object)this.recipe;
}
 
}

In the octdat it is referenced as, commandType = Alchemy.SynthesizeItemCommand

After you build your project you can drop these 2 files into your mod folder. This is all you need.

To wszystko, co dzisiaj udostępniamy w tym celu Noble Fates przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez Satoru. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.

Jeśli uważasz, że jakakolwiek treść na tej stronie narusza Twoje prawa, w tym Twoje prawa własności intelektualnej, prosimy o niezwłoczny kontakt za pomocą naszego formularza kontaktowego.
Przewodniki Tagi:Noble Fates

Nawigacja po wpisach

Poprzedni post: Reality’s Reverse Side Achievements Walkthrough Guide
Następny post: Shing! Przewodnik po osiągnięciach (100% Odblokowany)

Zostaw odpowiedź Anuluj odpowiedź

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są zaznaczone *

  • Tytuł: Noble Fates
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Information about Noble Fates is still incomplete. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

Zastrzeżenie

Wszystkie cytowane treści pochodzą z odpowiednich źródeł. Jeśli uważasz, że wykorzystaliśmy Twoje treści bez pozwolenia, upewnij się, że się z nami skontaktujesz, a my potraktujemy to poważnie.
  • O nas
  • Skontaktuj się z nami
  • Polityka prywatności
  • Warunki usługi

Prawo autorskie © 2025 Bity zamieszek.

Zasilany przez Prasa Książka Aktualności Motyw WordPressa