DayZ
ALL DAYZ CLASSNAMES
10 Comments
Gebirgsjäger Jan 6 @ 7:00pm 
Yeah I just got back into hosting and Im tempted to do it the hard way and just scroll down the admin spawn menu list since from my recollection it organizes the items and add each one at a time to the loot tables and traders starting from scratch lol

That way you can test the items if you wanna gauge their potential and a reasonable cost without ruining the joy of finding it in the world

The prefix for mod classnames is EXTREMELY convenient. Really nice when they do that.

I was looking for a way to organize them all too but yeah thats pretty rough.
Violt Jan 6 @ 11:20am 
If the items classname has a prefix for example TF_

https://pastebin.com/p0rnRA6F

Index of has been used:
https://dayz-scripts.yadz.app/d5/da2/group___strings
xKrak3n  [author] Jan 6 @ 10:32am 
@Gebirgsjäger - I got it working last year but I couldn't find a way to limit the extraction to only the classnames of the Mod I was trying to pull from. The list was also far too large and unorganized for ChatGPT or a Python script to categorize. I'm guessing since the AI model doesn't "understand" what it's looking at without classnames containing prefixes/suffixes that stand out as "types" of objects (vehicle parts, clothing pieces, etc.)

Honestly if I could figure that out I'd be in good shape. Maybe after extraction, we could find a way to write a script that references a txt file with all vanilla classnames. The script would look at the larger file and reference the vanilla classnames file to remove all vanilla classnames FROM the larger file. Not sure if thats possible but maybe a good idea?
Gebirgsjäger Jan 5 @ 11:48pm 
Buttheads

You're supposed to add

ExportItemsList();

Before the closing bracket of

void main()

so it's like

GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute);
}
}
}
ExportItemsList();
}

and I placed the script at the end of my init
Violt Sep 1, 2024 @ 2:49pm 
Hey dude, where are u running it?
It should be run after the main function
Add me on discord if you can't figure it out: violt
xKrak3n  [author] Sep 1, 2024 @ 9:12am 
@Violt - I just tried this script and it didn't work. Attempted changing the profiles parameter, but maybe it doesn't work because I'm testing on offline? Server boots but no file generation happens
xKrak3n  [author] Aug 14, 2024 @ 10:33pm 
Ohhhh neat. I'll definitely use this, is this how people get ahold of the classnames every update? lol
Violt Aug 14, 2024 @ 3:03pm 
The script collects item class names (types) and their display names, then saves this information as a JSON file in the profiles folder. Called: items.export.json
xKrak3n  [author] Aug 14, 2024 @ 8:50am 
What does the script do? There's no function for this, it's not a mod. Just a collected txt file of all the classnames that can be used by server devs and modders, just a more efficient way of doing things for some of us.
Violt Aug 14, 2024 @ 5:13am 
Or in ur init.c u could run this script. It will also include modded weapons.

https://pastebin.com/032NYFH2