Tree of Prosperity - Pixies and Fireflies light Show Spawn Fix

SCREENSHOTS
Downloaded 9,967 times 393 Thanks 67 Favourited 84,003 Views
 Say Thanks!
Uploaded: 6th Mar 2012 at 10:19 AM
Updated: 20th Dec 2012 at 10:50 AM by nonamena - Use this mod at your own risk and Do Not use this mod with patch 1.38.
This mod is not compatible with patch 1.38 or higher. Do not use this mod with patch 1.38 or higher. This mod is not compatible with patch 1.38, and I am unable to make the mod spawn pixies/fireflies at the tree of prosperity. Most likely EA has found a way to break this mod. I am unlikely to update this mod, but if I do find information that would make the mod work properly, I will use it. Until then, consider this mod obsolete and unsupported. Use this mod at your own risk and Do Not use this mod with patch 1.38 or higher.

This an object script mod which removes the requirement for there to be a WishingWell on a lot in order for the Pixie and Firefly Light Show to spawn.

This mod is compatible with patch 1.36.

Note: You MUST have the Tree of Prosperity Premium Content Item from the Sims 3 Store to use this mod. The Tree of Prosperity is also available as part of Lunar Lakes. This mod will not add the Tree of Prosperity to your game.

Note: The fireflies spawned by the Tree of Prosperity are not related to the fireflies added to the game with Showtime.

Is your Premium Content not working properly? Read this to fix your problems: DCBackup, ccmerged.package and Your Premium Content Items

Updates:
16 May 2012 - Update for Store Content Patch V 1.1


Requirements:
  • Again, this requires the Tree of Prosperity from the Sims 3 Store to be installed in your game, or it will do absolutely nothing.
  • The Tree of Prosperity is available separately or also as part of the Lunar Lakes world.
  • No other Expansion or Stuff Packs are required for this mod, ONLY the store item.
  • This mod was built with patch 1.31, but should work with any patch that can run Lunar Lakes.

Conflicts
  • This mod will conflict with any other mod that alters the OBJK resource (Instance 0x00000000000F5449) for Tree of Prosperity. I do not currently know of any other mods that do this.
  • If you want to increase or decrease the chance of seeing a light show, you will need to edit the XML Tuning for the Tree of Prosperity. To do this, you must use the tuning file I have provided. You cannot tune the Tree with any other XML tuning file when you have this mod installed.
  • This mod will not conflict with Black Zekrom's tuning mod, nor with Jamie's tuning mod from iPlaySims. However, using those mods alongside this mod will be a waste of space, as those mods will not have any effect on the Tree when this mod is installed.
  • This mod has no known conflicts.

Tunables
The following can be tuned via XML Tuning. Please see the XML provided in the downloads section for more details. How to Edit XML Tuning (NRaas)
TagDescriptionDefault
kFireflyPixieStartTimeHour of the day that the Firefly/Pixie VFX begin23 *
kFireflyPixieDurationDuration in hours of Firefly/Pixie VFX4
kChanceOfFireflyShowChance of a Firefly show appearing at night20 (%)
kChanceOfPixieShowChance of a Pixie show appearing at night25 (%)
kFireflyFunBumpFun bonus given to Sims near tree during Firefly show30
kFireflyFunBumpPlusExtra Firefly Fun bonus added to/removed from Sims with certain traits15
kPixieFunBumpFun bonus given to Sims near tree during Pixie show40
kPixieFunBumpPlusExtra Pixie Fun bonus added to/removed from Sims with certain traits5

* Pixies and Fireflies are not fully visible in the day time. If you want to enjoy their beauty, be sure to have them pop up at night.

Will you make me a custom tuning file?
If you ask me nicely, you will most likely get a yes, since Black Zekrom's tuning won't work with this mod. It's not hard to edit XML tuning though, so maybe give it a try How to Edit XML Tuning (NRaas)

Installation
  • Just plop it in next to the rest of your mods.
    • If you want to use the XML Tuning and ITUN resources, plop those into the same place.
  • Delete the scriptcache.package in your The Sims 3 folder.
  • If your sims already own a Tree of Prosperity, they will need to sell it and purchase a new one to take advantage of this mod.


Pixies!
This is great! But why, exactly, doesn't it work without this mod?
The original coding for the Tree of Prosperity checks two conditions before it spawns a light show. First it checks if the time matches the tuning for kFireflyPixieStartTime, then it checks if there is an object on the lot, called WishingWell. If either of those are false, the show doesn't start. However, currently, there is no WishingWell available for the Sims 3. Maybe this is a future premium content item, or maybe EA had planned on making it but decided against it.

What if EA releases a Wishing Well?
If and when EA releases the Wishing Well that is required to spawn the light show from the Tree of Prosperity, I will revisit this mod and see if it's still necessary or needs changes.

Your screenshots are awful!
I'm sorry, but the pixies and fireflies are shy and not very photogenic.


Downloads
  • Download NonaMena_TreeOfProsperityLightShow.zip if you install your Sims3packs normally.
  • Download NonaMena_TreeOfProsperityLightShow-DECRAPPED.zip if you use decrapified Sims3packs. If you don't know what decrapifying is, don't use this version.
  • You only need to download NonaMena_TreeOfProsperityDefaultTuning.zip if you intend to change the default tuning via a package editor, such as S3PE, Packer, or Postal.
  • If you want your sims to be able to use the Imbue and Pick Fruit interactions autonomously, download NonMena_TreeofProsperity_InteractionITUNs.zip and add the package to your mods folder. You must download this in addition to one of the LightShow packages above. You may use this with the XML tuning without worry of conflict.


If your sim can't pick the fruit:
If you're having a problem with your sim being unable to pick the fruit of prosperity, try using this fix which was posted at MATY. Put it in the same place as all of your other mods. Note: This problem is completely unrelated to my mod.

There is a new Premium Content Fix at MATY which includes all fixes for all premium content. If you choose to use this fix, remove the fix above from your mods folder.

Thank You
I must point out that I deserve absolutely zero credit for this mod. The idea of this mod would have entirely died if Shimrod had not pointed out to me that the Pixie and Firefly shows could be triggered with a Debug Enabler mod when I was assuming that EA must have ditched the project. When I finally decided to look at the script myself and find out why the Pixies and Fireflies wouldn't spawn on their own, I would not have been able to compile the script without Buzzler's very kind advice.

Actually, I didn't really do much at all to make this work. All I did was remove a single piece of code which checked for the presence of a WishingWell on the lot before spawning the light show.

Additional Credits:
MTS Tutorials on Scripting and Object modding, Peter & Inge Jones for S3PE, Armiel for the Builder's DIY Island which I use so frequently for testing.
Shimrod, Buzzler and twallan for their brilliant brains and friendly, helpful natures.