Thanks for the Update, for some reason I couldn't clone anything and now everything seems to going back to normal
How to change weapon's icon and cost
1)First you need Flow754's Peg Assembler and any bitmap editor that supports DDS format like paint.net
2)Create your own icon with size around 128x96, dds plugin for photoshop has limitation, width and height of the icon should be divided on 4 without the remainder
3) Сreate alpha channel for this image, black background should be transparent.
4) Save icon as DDS DXT5 with the name ui_hud_inv_your_weapon_name.tga.dds
5) Open Flow754's Peg Assembler and drag and drop icon to here
Name - always_loaded
Output URL -path to folder with your cloned weapon
Press create and two file always_loaded.cpeg_pc and always_loaded.gpeg_pc should be created
7) Open items_inventory.xtbl and find <Bitmap> section
and past there your icon name without .tga.dds
8) Cost of weapon is in the <Cost> section change it as you wish an save changes after
9) Drag and drop all files from clone weapon folder to Saints Row IV workshop tool and save them to mods folder or to the Steam Workshop
SorryI don't understand what you trying to say. Please tell me more what you want to do.
Nevermind, I realize what I did wrong, this is what happens when I don't get enough sleep.Eh, it's not ingame terminology. Weapon system works like:
Weapons.xtbl contains all weapons settings
View attachment 20171
Weapons class here means only that some prescribed settings will be applied, like a sniper scope, projectiles as bullet etc. You can't create a new weapon class, you can only create new weapon\style\skin. I believe you want to add new style for your weapon.
https://www.saintsrowmods.com/forum/threads/how-to-create-styles-and-skins-for-your-weapon.16854/
Your "Class" it's only style name, prescribed in weapon_costumes.xtbl