DayZ
Not enough ratings
IAT_FacePaints
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Character, Mechanics
File Size
Posted
Updated
63.535 MB
Dec 30, 2024 @ 1:14pm
May 11 @ 11:05am
7 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_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.
25 Comments
ItsATreee  [author] May 11 @ 1:07pm 
+ Added Canadian flag face paint
+ Added new Geisha face paint
+ Added new eating glow stick face paint
+ Added new bear claw scar face paint

[Fixed deprecated JSON loader code]
[Fixed beards with scar/masks paints]
ItsATreee  [author] Apr 23 @ 7:30am 
Turns out having a beard is what causes the bug. Shave it off and the paint will appear. This is fixed and will be pushed on the 1.28 DayZ update.
ItsATreee  [author] Apr 20 @ 8:57am 
Confirmed a bug with all paints in the scar category. Will fix for 1.28 update.
Matt Apr 20 @ 1:43am 
Tree, is there a known issue with the Scar portion? I can get camos and things to work but when I try the bear scar for example on the bald survivor, nothing. It used to work on SRP pre-wipe, I never tried it on the new one, and I am unable to get it to work on BSRP.
So Smooth Mar 31 @ 5:54pm 
the canada face paint didnt make it in :(
ItsATreee  [author] Mar 31 @ 2:09pm 
Was able to reproduce this bug on a non diag version of the game. I have a fix ready and waiting for testing.
ItsATreee  [author] Mar 30 @ 12:43pm 
What other mods are you running? I have several large servers running this mod so I am hesitant when I cannot reproduce with only CF and this mod.
zm4ster Mar 30 @ 10:28am 
We experienced the same problems on our server. We had the persistence of paint enables but it was not saved and the food and water got resettet to 600 for everyone who relogs. We deactivated the persistence of facepaint and the food/water bug is gone. Occured exactly with the CF Update.
ItsATreee  [author] Mar 28 @ 8:10am 
What other mods are you running? I am not able to reproduce this issue.
иң яхшы уенчы Mar 28 @ 5:35am 
It's not a crash, it just resets hunger and thirst to 600 when you relog (and it no longer saves the facepaint when you relog). If I remove the mod, everything goes back to normal. If I add it again, the bug comes back.