Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
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!
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