Skip to content

Erano01/StarterKits

Repository files navigation

Notes for the Contributers

VSCode Instructions

If you're using VS Code, follow these steps:

  1. Create the project as a Class Library (.NET Framework) — not as a regular .NET project.
  2. Preferably target .NET Framework 4.8.

Install your project under:

C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods

In the same folder, manually copy the 0_TFP_Harmony mod from:

C:\Program Files (x86)\Steam\steamapps\common\7 Days to Die Dedicated Server\Mods

Make sure the C# Dev Kit extension is installed in VS Code.

To build the project, use the following command:

dotnet msbuild ".\StarterKits.csproj" /p:Configuration=Debug

Important Locations:

%APPDATA%\7DaysToDie\logs
C:\Users\rokel\AppData\Roaming\7DaysToDie\Mods
C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Mods
C:\Program Files (x86)\Steam\steamapps\common\7 Days to Die Dedicated Server\Mods

--for xml modding doc--
C:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Config

You have to use dnSPY to view ModAPI documentation like javadoc. Edit -> search assemblies -> Sınıf modul arama için File -> Open -> API neredeyse oyun dosyaları

Assembly-CSharp.dll'i açmak yeterli.

Development Formula

use events -(if not possible)> use harmony patches -(if not possible)> use scripts -(if not possible)> use transpilers

Notes for development

--- XUi --- Mantık ve düzen tarafı. Pencerelerin, butonların, label’ların, layout’un tanımlandığı sistem. windows.xml gibi dosyalarda , , yazdığın yer burası. C# tarafında XUiController / XUiC_* sınıflarıyla davranış (event, tıklama, açılma-kapanma) kontrol edilir.

Oyun içinde test için, spawn olduktan sonra konsolda şu komutları dene: xui openwindow starterKitWindow xui openwindow starterKitGroup

--- UIAtlases --- Görsel kaynak tarafı. UI’da kullanılan tüm ikonlar, buton görselleri, arka planlar tek bir texture atlas içinde toplanır. Atlas XML’i: “şu görsel atlasın şu koordinatında” bilgisini tutar. XUi içindeki ,

vs. elementler görsel olarak ne kullanacaksa sprite/atlas isimleriyle buraya referans verir.

https://7daystodie.fandom.com/wiki/ModAPI https://7daystodie.fandom.com/wiki/XPath_Explained#String_Searches https://7daystodie.fandom.com/wiki/Mod_Structure

About

Starter Kits is a 7 Days to Die mod that allows players to choose from multiple customizable starting kits when beginning a new game. Each kit provides different gear, tools, and supplies to help survivors start their journey in the zombie apocalypse with a preferred playstyle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages