Flammable Birthday Cake!

SCREENSHOTS
Downloaded 4,939 times 69 Thanks 16 Favourited 6,178 Views
 Say Thanks!
Updates!


That blue-lit oddball Umbreon has another mischievous Sims 2 mod up his sleeve!

In Sims 3, any time a birthday cake is set ablaze, there is a small chance it may catch on fire and really ruin a special day for a family. Lately, I have grown to miss this potential for drama in Sims 2; so I have created a small mod to make Sims' lives even more unpredictable - even when you'd only wish them the best.

Features
Having this mod in your Downloads folder will do exactly one thing.
Any time a Sim is set to age up using a birthday cake, there is a 1% (1 in 100) chance that the birthday cake will set ablaze. The cutscene for the aging Sim, so long as all criteria for a cutscene to happen are met, will play out as normal, but they probably won't be able to grab a piece of their cake afterwards because... well, charred cake smells strange.
The only exception to this is babies aging up to toddlers - I could not reliably get a fire to spawn in this case.

If you are a user of the 3t2 Traits Project, then the default odds of a birthday cake fire change for select Sims:
  • Lucky Sims are so fortunate in life that their birthday parties will never go wrong.
  • For Evil Sims, the default chance is vastly increased to 10%. I'd assume they'd sometimes cause fires on purpose to harm those around them.
  • Unlucky Sims will also suffer a birthday fire 10% of the time. They just have the worst of luck in most occasions, and that includes birthday candles.
  • Clumsy Sims have an increased chance of 5% for a fire. Perhaps they accidentally dive with their noses into the cake sometimes, which is a bad idea with fire on top of the cake...
  • Finally, Absent-Minded Sims have birthdays go awry 5% of the time, as they may tend to leave lit candles out and about without sticking them into the cake...
All of these odds are tunable, of course! However, Lucky Sims always stay immune to accidental fires no matter what.

Add-on for custom memory
Normally, the birthday Sim would get a "Fire!" memory like all Sims around them. However, I figured out a way to assign them a unique memory for the occasion that a birthday cake should set ablaze - or for a fire happening during a birthday party in general. If you want your Sims to remember this especially special moment in their life with a "Fire at Birthday Party!" memory, you can download an add-on that does just that. Sims will only get this memory once in their life, and only Sims that are aging up during a birthday party will receive it.

Should the cake survive the fire, this is also the only memory they will get during the fire. If it's eaten up though, they may get a second, general "Fire!" memory.

Add-ons for custom cakes
Since the birthday sequence is assigned to each cake, not to the CakeGlobals as it would have made sense (blame EAxis), each birthday cake needs to be modified separately to include the chance of a fire. I have done this for a few birthday cakes that are widespread in the community, and a few that I personally use.

If you'd like a custom birthday cake you use in your game to appear here, just comment and I'll see what I can do, based on the Terms of the cake's creator.

Currently supported:
NameCreatorOriginal creatorSourceSlice object needed?Shadow File needed?Notes
Cutscene CakeTheLesbianPyromaniacN/ALinkNoNoSame as base game cake, except it enables cutscenes for Sims aging up even if there is no party
Unicorn CakeJacky93SimsSybouletteLink YesNo
"Dukasha" and "Shy" CakesJasana_BugBreederN/ALink YesNo
"Marusilda" CakeJasana_BugBreederN/ALink YesNoEnabled for CEP, meaning any recolours of this specific cake can be used without needing extra treatment
Berry Pie, Cheesecake, Fancy Cake, Layered CakeNixNivisN/ALink YesNo
3t2 Deliciously Indulgent Bakery CakeJacky93SimsMaxis, 3t2 by VerankaLink YesNo
4t2 White Cake for FrauhupfnerBalkopatN/ALink YesNoHas four recolours
4t2 Pinkbox-Anye CakeJacky93SimsNikaOnishkoLink YesNo
4t2 Matcha Strawberry, Lemon Sponge, Victoria Sponge CakeJacky93SimsONILinkNoNo
4t2 Hamburger CakeJacky93SimsMaxisLink YesNo
4t2 Green Dino, Pink Cloud, Sky Blue CakeJacky93SimsIcemunmunLink YesNo
4t2 Moon & Stars CakeJacky93SimsLittlbowbubLink YesNo
4t2 ONI Strawberry CakeJacky93SimsONILink YesNo
4t2 Stork & Baby CakeJacky93SimsTianaSimsLinkNoNo
4t2 Strawberry Shortcake and Spiced Carrot CakeJacky93SimsTianaSims and LittlbowbubLinkNoNo
4t2 Chocolate Cream, Princess Castle, Strawberry White Chocolate CakeJacky93SimsSyboulette and LittlbowbubLinkNo Yes
4t2 Frog CakeJacky93SimsLittlbowbubLinkNo Yes
4t2 Freezer Bunny CakeJacky93SimsAroundTheSimsLink Yes Yes
4t2 Ice Cream CakeJacky93SimsTianaSimsLink YesNo
4t2 Little Clouds CakeJacky93SimsTianaSimsLink YesNo

I will only include the cake in my downloads because that's the object containing the changed resources. As you can see, several cakes require a separate "slice" object which I will not include. Please follow the links to the original upload to get the slice objects from their archives.

A few cakes may also require LordCrumps' Sims 4 Shadow File. It's a good idea to download it anyway as many modern 4t2 conversions use it, but chances are you might already have it in your Downloads folder somewhere. You only need to download it once to cover all files that require it.

Tuning
Using the provided BCON resource 0x1002, you can freely modify how likely or unlikely fires from birthday cakes should be.
Value 0x02 controls the base chance of fires.
Values 0x03 through 0x06 handle the supported Traits.
The value you are entering in any case is the divisor. That means that the default value of 100 will result in a 1/100 = 1% chance. The higher the number you enter, the less likely fires become. You can, for example, raise it up to 5000 (= 1/5000 or 0.02%) to practically never see fires; or lower it to 20 (= 1/20 or 5%) to see more tragedies unfold in your neighbourhood.

If you wish to change the odds to your own liking, you will need to do this for each cake individually. Sadly there is no easier way (again, blame EAxis).

Compatibility
Expansion Packs: None, you can use this with the base game!
I did include the needed code for the three extra birthday cakes that came with Celebration! Stuff, but if you do not own this stuff pack, it will simply never be called, so it is no harm to have it in.

Overrides
Birthday Cake Can Burn:
Resource nameTypeGroupAssociated object or semiglobalInstance
AGE++Behaviour Function (BHAV)0x7F6A0484Birthday Cake0x0000101B
AGE++Behaviour Function (BHAV)0x7FCDB693PartyBirthday Cake - Butter0x0000101B
AGE++Behaviour Function (BHAV)0x7F9486E5PartyBirthday Cake - Lime0x0000101B
AGE++Behaviour Function (BHAV)0x7FF4D212PartyBirthday Cake - Purple0x0000101B
ConstantsBehaviour Constant (BCON)0x7F6A0484Birthday Cake0x00001002
ConstantsBehaviour Constant (BCON)0x7FCDB693PartyBirthday Cake - Butter0x00001002
ConstantsBehaviour Constant (BCON)0x7F9486E5PartyBirthday Cake - Lime0x00001002
ConstantsBehaviour Constant (BCON)0x7FF4D212PartyBirthday Cake - Purple0x00001002

Birthday Fire Memory:
Resource nameTypeGroupAssociated object or semiglobalInstance
Memory - AddBehaviour Function (BHAV)0x7FD0A790Fire0x0000103D
Function - Init CakeBehaviour Function (BHAV)0x7FD0A90DCakeGlobals0x0000200A

WHComp Patch:
Note that this is technically not an override since it doesn't exist in a vanilla game configuration, but it does override Pick'N'Mix's University After Birthday Party which includes this resource:
Resource nameTypeGroupAssociated object or semiglobalInstance
AGE++Behaviour Function (BHAV)0x7FD0A90DCakeGlobals0x00002040

Memory Translations:
LanguageAvailable?Creator
English (US/UK)Me (Blueybre)
GermanMe (Blueybre)
SpanishLeslitasoyo
Polishsimcaistk

If you'd like to contribute your native language to this mod, feel free to do so! You shall be given due credit.
All you need to translate is the Catalogue Description, or CTSS resource, of the memory mod.

Conflicts and Notes
Anything that also modifies the above resources will conflict with my mods.
  • To use my mod with University after Birthday Party by Pick'N'Mix, you have to download the compatibility patch from my page, and follow the instructions on his page if you wish to patch your custom birthday cakes with the ability to head straight to college and have a successful party before blowing out the candles and potentially risking a fire.
  • The conflict between my memory add-on and Nopke's Food Already Available Fix is a conflict you can safely ignore. Load order doesn't matter either; our mods make the same change to Function - Init Cake.
  • guirnaldas' Snowproof Accessories mod and mine can be used together if their mod loads after mine.

Please let me know if there are any conflicts with mods you use, and I will see if something can be done about them by load order or through plug-ins.

Credits
Maxis and EA for creating Sims 2 in the first place
The Creators of SimPE and especially the BHAV and BCON plugins
simcaistk for the Polish translation
Leslitasoyo for the Spanish translation
heathensimmer for some ideas
My fiancée for the idea to this mod, and for being such a gentle soul in general
The respective custom birthday cake creators for their hard work to create meshes and textures for their cakes: TheLesbianPyromaniac, Jacky93, Jasana_Bugbreeder, NixNivis, balkopat.

Have fun and happy Simming!
~ Blueybre
Other Download Recommendations:
More downloads by Blueybre: See more