Loading...
Home | Download | Discussion | Help | Site Map | New Posts | Sign in
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Automatic Sunburns Get Famous V9.34 hotfix

by flerb Posted 21st Feb 2018 at 11:24 AM - Updated 16th Dec 2018 at 1:47 AM by flerb : update
Open thumbnail gallery
277 Thanks  Thanks     137 Favourited
Updated
December 15, 2018
Updated the Slice of Life compatibility addons to work with that Mod's new update. Meanwhile progress on V10 is coming along

November 19, 2018
V9.34 Re-added missing language tables. All are copies of English. Update only needed if you're having trouble with text, languages, or would like to translate.

November 17, 2018
V9.33 Get Famous hotfix 2. Fixed a few more small bugs that people found. Tested to be working.

November 16, 2018
V9.32 Get Famous hotfix. Get Famous adds several new interactions to the Species_Human trait, so this mod needed a quick update.

In the coming weeks I will be FINALLY be able to work on the next big update with a lot of new ideas and fixes.

There may be some issues with Trees and shade yet to be resolved. Let me know if you have any troubles in the comments! I've also added a small addon to make this mod compatible with KawaiStacie's Slice of Life Mod. If you don't have that mod you don't need that addon. Place the slice of life compatibility addon in your main mods folder. It is simply a combination of KawaiStacie's and My trait_Species_Human overrides.

I've created a Patreon page if you love my mods and want donate or see what additions are coming, please visit!
I've put so much work into this mod and am very proud to share it with my fellow sim enthusiasts!
https://www.patreon.com/flerb

Brief Description
Quite simply, sims of all ages (well not the baby) will automatically get tans, sunburns, or worse when exposed to sunlight!
It is possible for sims that spend a lifetime in the sun get skin cancer.
If a reclusive sim in their dungeon doesn't see the sun for a week, they will start to show signs of vitamin D deficiency.
There are many factors that come into play that alter this dynamic including clothing, weather, shade from objects, and more!
In the zip you will find the main mod and some addons. Leave it all there if you want the full mod, or remove the addons as you wish.


How it Works
Any Human sim with the default Human trait now will change in appearance depending on how much time they spend in or out of the sun.
This was originally based on the vampire functionality which allows vampires to be hurt in the sunlight.
This little chart shows the pattern of getting tanned or burned and the recovery:



CAS
There are 4 types of CAS skin details, tans, golden tans, sunburns, and lobster red skin for males and females.
For each type there are 4 clothing groups that will burn in different patterns. Children and toddler sims share the same unisex pattern.
Overall that comes to 4x4x2+4 =36 CAS swatches. I've color coded the CAS swatches because I care about you all, and also for my own sanity.
For example, a Female sunburn with a hot weather clothing pattern is sunburn red, pink for female, and orange for hot-weather:



There are 3 levels of sunlight throughout the day:
  • morning light at 38% intensity
  • high and bright mid day sun at 100% intensity
  • evening light 38% intensity
  • and of course no sun at night.
  • However, you might find a sim that spends too many nights in the dark gets exposed to some cosmic phenomena!
  • sunrise and sunset times are different in each world, and sometimes don't seem to sync up with the actual world lighting. This mod just follows EA's rules.

Things that affect sunlight
  • Sunscreen: If a sim applies sunscreen (bought on the computer under order... medicine) they can block much of those UV rays.
    Sunscreen has a nice aroma other sims will react to. A sim wearing sunscreen will still tan, albeit much slower, and will eventually get a golden tan instead of a sunburn.
  • Aloe:Drinking Medicinal Aloe Vera Juice from the computer 'order medicine' menu or harvesting your own Aloe Vera plant
    leaves (Aloe seeds found in buy mode) can help to reduce the discomfort and accelerate the healing of those uncomfortable red sunburns, but it does nothing for tans.
  • Shade: If a sim steps under a shady roof, or inside, near a tree, near a drink stand, or beneath an umbrella at a table, the sun exposure stops and sunburns and tans begin fade.
  • Sunburn Immunity Trait:Sims with this free reward trait will tan very slowly, but will never get sunburns. Perfect for some with darker skin tones.
  • and of course going inside. Hopefully there's no sun inside... but we'll see what V10 has in store...

Clothing
Seasons introduced us to hot weather and cold weather clothing categories. Different groups of clothing categories will burn sims with different skin patterns.
For example, a sim wearing a cold weather outfit will only get burned on their face and neck, while a sim in their bathing suit will get nearly full body coverage.
Different clothing categories block the sunlight so a sim wearing a bathing suit burns faster than a sim wearing their everyday clothing.

Each clothing group blocks a different percentage of sunlight:
  • 0% blocked > swimsuit (nude?)
  • 66% blocked > everyday, formal, party, pajamas
  • 50% blocked > hot weather, athletic
  • 75% blocked > cold weather

Persistence
With 4 clothing groups and 4 levels of skin detail, things get a little complicated to explain, but I'll try. In short, if a sim gets a tan or sunburn while wearing a
certain outfit category, that pattern will persist as their tans recover. If they are wearing a different clothing category while hitting a higher level of tan or sunburning it will replace the pattern with a new one.
So a sim with an unfortunate farmer's tan can put on some sunblock, get outside in their bathing suit, and even it out!
All you really need to know is, your sims will start to look ridiculous and when they think they're all alone in their bathing suit at home you can laugh at their tan lines.

WEATHER
Seasons makes the sims world dynamic. Different types of weather will affect the UV light emanating from the sun.
These are multiplied by the time of day intensity and the clothing a sim is wearing.
a sim in a swimsuit will receive these amounts of sunlight:
  • 100% sunny days
  • 80% partially cloudy days
  • 20% overcast days (yep UV light comes right through clouds)
  • 180% sun snow (all that snow reflects nearly double the UV light)
  • 0% when there's any falling rain or snow.

Cancer
While making this mod I based it on realistic data for an accurate simulation. As I researched I was surprised to learn each time someone gets a sunburn,
their chances of getting skin cancer go up by about 10%!! Children who get sunburned nearly increase the risk by 20% with each sunburn. So I've incorporated skin cancer
into this mod as another challenge in gameplay. There are 5 levels of risk a sim can have. You'll see it appear as skin spots, or sun spots on sims.
The more apparent the spots become the higher their risk. As they age the risk goes up as well. A teen with a high risk may only have a 2% chance, but when they age that risk gets higher and higher.
In the end there's a chance your sim will increase their risk of dying from skin cancer if they get sunburned too many times in life.
Here's Carrie, my test subject, looking at her skin spots:


Vitamin D
And finally, as if all that wasn't enough, I added a vitamin D system! I based the numbers of real world data, if a sim stays out of the sun for 14 days they will develop a vitamin D deficiency. Symptoms are sometimes sadness, dizziness, but always fatigue. If their levels get too low beyond that they can die from exhaustion. In the fall and winter when rainy days are abundant, if your sim runs into trouble with vitamin D, it might be a real challenge to find some sunlight. Maybe that's a good time for a vacation? Don't worry tho, it only takes a short time in the sun to recover, about the same time it takes to tan.



Flerb Sunny Area Squares
This is an addon that allows you to activate sunny areas on porches and indoors.
I found the game turns the sun off on porches, under glass roofs, any roof for that matter. So I created little carpet squares that will activate the sunlight when sims are near them!
Right now I made then only produce 50% of full sunlight. They will still be affected by clothing and weather conditions.

You'll find them under build mode with carpets. There are two swatches, one an obnoxious pink for placing, and a transparent version.
I would recommend placing the pink visible ones first, then using the design tool (hit R) to change them to transparent.
Any sim within a 2 square radius will start feeling the sun after a few seconds, so you don't have to be very precise with their placement.
Place them on porches, under glass roofs, on pools, and even indoors by windows. See the gallery images for examples. (Or maybe even in a basement with mirrors and high voltage lamps for the mad scientist types )




The future
In the future I will be adding more to this mod, things like tanning bed objects, sunlamps, towels to lay out on etc. Follow my new Patreon to stay up to date, or share your ideas. https://www.patreon.com/flerb

Modders: I wanted to give you all a chance to collaborate!
Here are some instructions on how to get an object to cast a shade moodlet.
(I'll assume you know how to clone or override an object already. If not, there are plenty of fantastic tutorials out there, it's pretty easy.)
  1. if you are cloning an object you will need to make a renamed clone of the object's tuning as well. If you are overriding an object (as I did) all you need is the tuning xml
  2. In your object's tuning you will need to find the tag that looks like this.
    Code:
    < U n="_components" > 
    < /U >

  3. If the components tag is not there add it, and be sure to add a closing tag too. In boring objects like trees there's not much there, in other objects there are many things inside the components element.
  4. within the components element add the following piece of code.

    Code:
    < V n="proximity_component" t="enabled">
    < U n="enabled" >
    < L n="buffs" >
    < T >14353779945670717730 < !--Flerb_shadebuff_Buff_IUdaY39l-- >< /T >
    < /L >
    < T n="update_distance">1< /T >
    < T n="update_frequency">2< /T >
    < /U>
    < /V>

  5. The update distance number decides how many squares of distance an object will be able to affect a sim. For umbrellas at a table, 1 seems to work fine. I use larger numbers on trees.
  6. The update frequency is how many seconds it takes to react, I find 2 or 3 seconds is good at matching the speed sims walk near these objects.
  7. the weird long number, don't change that. It tells your object to load my shade moodlet.
  8. That's it! my mod takes care of the rest.

overrides and requirements
this mod overrides a few XML tunings and objects.
151039 trait_Species_Human
105670 purchase_Medicine
185980 buff_Sim_Weather_Hidden_Cloudy
14909628803339523025 whims.whims_tracker


It partially overrides all buyable trees, food, and drink stands.
Download files
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
Flerb_Automatic_sunburns_V8.zip | Description: use this if you do not have seasons 8.71 MB 4,726 25th May 2018
sunburnsCAS_only.zip | Description: if you want CAS only 17.10 MB 1,496 7th Jul 2018
Flerb_Automatic_sunburns_Seasons_V9_3.zip 21.57 MB 5,384 23rd Jul 2018
Flerb Automatic Sunburns Get Famous V9_34(hotfix).zip | Description: Use if you have Get Famous 21.57 MB 1,651 19th Nov 2018
addon_Flerb_Sunburns_SliceofLife_compatable.zip 2.0 KB 393 16th Dec 2018
addon_Flerb_Sunburns_SliceofLife_Get_Famous_compatable.zip 2.2 KB 1,051 16th Dec 2018
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
 
Page 1 of 11
272 Comments / Replies (Who?) - 195 Feedback Posts, 76 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 11

Expansion/Stuff packs required:
+ 1 SPs

Built with Game Version: 1.44.83.10

272 Comments / replies (Who?)

34,698 Downloads

40,052 Views

Type: Other

Tags: #sunburns, #sun tans, #tan, #tanning, #sunlight, #skin cancer, #vitamin D