DayZ
28 ratings
IAT_FacePaints
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Character, Mechanics
File Size
Posted
Updated
64.785 MB
30 Dec, 2024 @ 1:14pm
26 Jul @ 3:01pm
9 Change Notes ( view )

Subscribe to download
IAT_FacePaints

Description
ItsATreee Face Paints
This mod is an enhancement on my first version of Survivalists_FacePaints . This version improves on menu scripting to allow for moddable options. The build process for this mod is also overhauled to allow new paints to be added quickly and without manual effort so expect to see improvements on existing paints and new paints & categories to show up over time.

Only 60MB large with over 70 face paints!

Features
- 29 distinct camo patterns ranging from realistic to wierd
- 31 country flags to bring out your inner hooligan
- 8 Tatoo or Full/Partial Face Mask
- 8 Facial scars
- Cycle through options with a single item to reduce clutter
- Use a rag to wash off the paint when you are finished being pro
- Cannot paint face while wearing sunglasses or a mask

How To Use
Suscribe to the mod and that is it!. The only item in this mod is IAT_FacePaintStick_Default.

Modify damage per use in the server configuration file.
$profile:\\ItsATreeMods\\FacePaintsConfig.json

Does this file not exist?
Step 1. Inside your Profile folder make a new folder called ItsATreeMods.
Step 2. Go inside that new folder and create a new file called FacePaintsConfig.json.
Step 3. Paste the below into the file and save. (Update 2.0 to whatever damage value you want)
{
"m_EnableEatGlowStickAction": 1,
"m_PaintStickDamagePerUse": 2.0,
"m_SavePlayerPaintsToDatabase": 0 // 0 means no saving, 1 means save to db
}

Here is the types.xml contents
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
<type name="IAT_FacePaintStick_Default">
<nominal>15</nominal>
<lifetime>14400</lifetime>
<restock>1800</restock>
<min>8</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<usage name="Military"/>
</type>
</types>

Why are my paints not staying after relogging or server restarts?
By default this mod does not save anything to the server database, however, I have added a toggle in the json config to turn on this option. Note - Turning this feature on requires a wipe to remove the mod in the future.

Scripting??
In PlayerBase I have a function as shown below, you can call this on the server (not client) to set the facepaint of the player. The category and paint index represent the mapping on PaintOptions.

void SetFacePaint(int categoryIndex, int paintIndex);

Special Thanks
- Thank you to [DUG] Ammo for verifying the approach and giving hints here and there to get this across the wire.

Usage & Terms
- You MAY NOT repack or publish this mod on any platform including Steam.
- You MAY use this mod on monetized servers within the scope of Bohemia's Monetization Guidelines [www.bohemia.net]

PERMISSION IS NOT GRANTED FOR THIS MOD TO BE INCLUDED IN A "SERVER PACK" OR "MOD PACK"
Subscribe via the workshop, use a "Collection" or do not use the mod at all.
35 Comments
ItsATreee  [author] 26 Jul @ 8:18pm 
np! :)
NewbKillers 26 Jul @ 6:45pm 
ty for the last few updates ;) thumbs up
ItsATreee  [author] 11 Jul @ 7:33am 
Glad you got it working! Thank your for the kind words :)
JohnWicksDog 11 Jul @ 3:56am 
You are correct good sir. For some reason the Umbrella Admin backpack was causing the shave option to be absent. I love your Mod, its awesome. Thank you
ItsATreee  [author] 7 Jul @ 7:21am 
Wouldn't be my mod affecting that. I do not touch the ActionShave class.
JohnWicksDog 6 Jul @ 9:43pm 
Not sure if it's a Mod issue but since adding this mod I no longer get an option to Shave when holding a knife?
ItsATreee  [author] 5 Jul @ 8:37am 
It is "true damage" so 2 = 2hp per use. 100hp stick would have 50 uses. :)
JohnWicksDog 4 Jul @ 11:55pm 
Is the "Damage per Use" a percentage (default 2%) or something else? Thanks
ItsATreee  [author] 30 Jun @ 7:22am 
That is a good idea.
Moist Duck 29 Jun @ 5:33pm 
Hi Tree; any chance to add the option to smear mud on the face as a survival or bushcraft facepaint?