1. This is a modified medkit script, weapon_first_aid_kit.txt, meaning it is not compatible with other addons that change the same file.
2. I cannot make a universal script that turns whatever medkit model you're using to a well-fitting hat because:
a) The original medkit node is not centered to the survivors' back, and many custom medkit models have "off-centered" placement to center the kit on the back of the survivors. These offsets are not universal; therefore, a simple script change will not be able to account for all models.
b) Many custom medkit models face different orientation.
c) Every survivor replacement have different head shapes. Weeb models tend to have longer distance between the eyes and the top of the head; whereas, more realistic models have shorter distance, meaning the offset of the kit may be suitable for some characters but not all.
3. The altered lines within the script that give featured effect are:
From
"AddonAttachment" "medkit"
"addon_offset" "0 0 -3"
"addon_angles" "0 0 0"
To
"AddonAttachment" "eyes"
"addon_offset" "-1.5 0 3"
"addon_angles" "0 180 0"
So basically, if you want a script that best fits your medkit, change the values yourself cause I sure am not doing it for everyone who wants something different.
4. I originally made it for personal use with this add-on, and this script won't work for it because this one's for the vanilla medkit. If you want an offset like the third and fourth screenshots, then use this: Google Drive[drive.google.com].