New Enum Adder for UE4SS Mod Tool

⭐ — (14 endorsements) 📥 222 downloads 📌 v1.0 📅 12/15/2024
🟠 Updated over a year ago

By Leksii · Utilities

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 12/15/2024 📅 Created: 12/15/2024

🔍 Analysis

  • 🏆 #53 of 59 Utilities mods in this game by downloads

📋 About This Mod

Tool mod for UE4SS that allows to add new Enums to existed one.

New Enum Adder for UE4SS Mod Tool - is a utility mod, that must have for modmakers, who want to add new types of something. In example - Ammo Caliber!

Thanks to Herbata who needs help with new caliber for his mod, this mod was born because of you!

Mod requires installed UE4SS!

New Enum Adder for UE4SS Mod Tool

1. Extract AddNewEnumToS2 folder from Leksii_AddNewEnumToS2.zip into Mods/ folder of UE4SS.

2. Inside Mods/ folder find mods.txt file.

3. Open file and add new line:

AddNewEnumToS2 : 1

4. Open Mods/AddNewEnumToS2/scripts/main.lua

5. Change script to your modmaker's needs:

Add new enum names:

-- you can create new tables with your own elements

-- change for your needs

local new_enum_names = {"HelloWorld1","HelloWorld2"}

Set enum name and table of new names:

-- Calls when game thread starts (Especially after intro splashes it start working)

ExecuteInGameThread(function()

local EnumTitle = "EEffectType" -- CHANGE ENUM NAME HERE, YOU CAN LOOK INTO Stalker2_enums.lua file 

-- Load asset Enumerator

local ENumAsset = LoadAsset("/Script/Stalker2."..EnumTitle)

-- Iterate through new_enum_names table (can be set any table in ipairs())

for _, value in ipairs(new_enum_names) do -- here change ipairs(NAME_OF_YOUR_NEW_ENUMS_NAMES_TABLE)

AddNewEnum(ENumAsset,value,EnumTitle)  -- Add caliber each value

end

end)

📊 Mod Details

Game
Stalker 2 Mods
Author
Leksii
Version
1.0
Downloads
222
Endorsements
14
Category
Utilities
Created
12/15/2024
Updated
12/15/2024

🔧 How to Install Stalker 2heartofchor Mods

Download from Nexus Mods.

📖 Full step-by-step install guide for Stalker 2heartofchor →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Stalker 2heartofchor commands, item IDs, and more.

Keep browsing — more Stalker 2heartofchor mods await

📋 All Stalker 2heartofchor Mods 🏆 Top 25 📂 More Utilities 👤 More by Leksii 🔎 Similar Mods 🌐 Best Utilities (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods