DayZ
ALL DAYZ CLASSNAMES
10 kommentarer
Gebirgsjäger 6. jan. kl. 19:00 
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 6. jan. kl. 11:20 
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  [ophavsmand] 6. jan. kl. 10:32 
@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 5. jan. kl. 23:48 
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 1. sep. 2024 kl. 14:49 
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  [ophavsmand] 1. sep. 2024 kl. 9:12 
@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  [ophavsmand] 14. aug. 2024 kl. 22:33 
Ohhhh neat. I'll definitely use this, is this how people get ahold of the classnames every update? lol
Violt 14. aug. 2024 kl. 15:03 
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  [ophavsmand] 14. aug. 2024 kl. 8:50 
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 14. aug. 2024 kl. 5:13 
Or in ur init.c u could run this script. It will also include modded weapons.

https://pastebin.com/032NYFH2