-
Notifications
You must be signed in to change notification settings - Fork 44
[Modding] Adding custom icons
lava76 edited this page Jul 21, 2022
·
4 revisions
You can add your own icons which you can access by their name (must be unique!) in various systems like the map markers, notifications and market for categories/traders by overriding ExpansionIcons::Generate
(don't forget to call super
or you'll break icons elsewhere):
modded class ExpansionIcons
{
override void Generate()
{
super.Generate();
//! "<Name>, "<Localisation>", "<Path>"
AddIcon("My Icon 1", "", "Path/To/Your/Icon1");
AddIcon("My Icon 2", "", "Path/To/Your/Icon2");
//! Etc.
}
}
Note that localisation is currently not used, so just leave it empty.
Copyright© 2020-2023 DayZ Expansion Mod Team. We do not authorize any entity to publish this DayZ Standalone modification without licensing from the DayZ Expansion Mod Team.