Home | Download | Discussion | Help | Site Map | New Posts | Sign in

Latest Site News

MTS Speed-Building Challenge - posted on Yesterday at 7:25 PM
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Picked upload! Pet food required

by gummilutt Posted 28th Feb 2018 at 10:44 AM - Updated 2nd Mar 2018 at 11:28 PM by gummilutt
23 Comments / replies (Who?) - 10 Feedback Posts, 13 Thanks Posts
Picked Upload! This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
Has it ever bothered you that Sims pull pet food out of their rear to fill up their furry friends food bowls? Then look no further, because I'm here to guarantee no cat or dog has to eat butt-food ever again!

This is a global mod that overwrites the refill bowl code and makes it pull it's food from a food box object rather than the box Sims pull out of thin air. The animation is unchanged, Sims will still appear to pull a box out of thin air and fill the box from it. But in reality they went and filled that box with food from the real food box, when you weren't looking. Those sneaky Sims! So with this mod your pets get to eat the finest food in all the land, guaranteed butt-free! And your Sims actually have to buy food in order to take care of their pets, no more conjuring it out from nowhere.

How does it work?
This mod consists of two parts. A global mod, and a pet food box object. Both are required for this to work. There's also an optional default replacement texture for the original food box.

Global mod
With this mod, Sims can only fill bowls if there is pet food present on the lot. If there is none present, the interaction will not appear, so if you are looking at an empty bowl and no interaction you need to buy a food box. I did debate making it so that they would pay to fill if no food box is present, but because of how the interaction is coded doing so would be a lot more work so I decided to do it like this for now and if lots of people hate it revisit it later on. Because of this limitation I have made two versions, one that is the same for all lots, and one that uses maxis code on community lots. The box has to be present on the lot, it can't be in inventory. So in order to fill a bowl on a community lot with the all lots version you have to have something that enables buy mode so you can either buy a box, or take one out of inventory that you put in earlier. If you use the community lot version it'll just charge 10 simoleons as usual if it's a community lot. If you have a lot of pet bowls on community lots I would get the SkipCommunity version so you don't have to think about boxes there.

Additionally, with this mod your Sims will no longer waste money over-filling bowls. In an unmodded game refilling bowl always costs 10 simoleons, even if there is still some food left. With this mod, Sims will only fill it back up to full. If the pet food object on the lot does not contain enough food to fill the bowl up entirely, it will fill it with whatever is left and let you know you need to buy more. The price of the box is set to match the cost of maxis food, so if anything this mod will save your Sims cash. Feel free to increase the price of the box yourself if you'd rather have it more expensive

Should affect custom bowls as well, but it depends on how they were made. If the creator of the custom bowl made it a stand-alone, it won't recognize this mod. But should work on most of them

Two versions: Both do the same thing, but the SkipCommunity version ignores the edited code on community lots and uses maxis code instead so that Sims pay 10 simoleons to fill the bowl. Only use one!

KNOWN ISSUE: The animation of filling bowl makes it look full, regardless of how much food it's filled with. I tried to fix this but it's stubborn and won't have it. The appearance of the bowl will correct itself once a pet eats from it, so it's only temporary.

Pet food box
This functional food object can be found in general -> pets, and costs 50 simoleons. It is based on the original pet food box, but modified slightly and with a new texture. It's 16 poly, which is less than the original. It's called Butt-free Pet Food, and it contains 1000 food units. A bowl holds 200 units of food, so one box will cover 5 full refills. If you click on the box, there's a pie menu option that will tell you how much food is left.

At the moment this mod only recognizes this particular box of food. Creators are very welcome to clone my object and change it's appearance, and contact me with the new guid and I will update mod to look for their object as well. Here's hoping it inspires a whole bunch of pretty pet food containers, so we can build more fun ofb pet stores I would have loved to include the ones by retailsims, but her policy does not allow it.

The quantity of food in the box is controlled via a BCON called Tuning Food Units. If you'd like the box to hold more or less food, you can easily change the value in the BCON and all boxes bought after the edit will have the new number. Editing it does not affect previously purchased boxes.

Default replacement
I have made an optional default replacement texture that makes the box the Sims pull out look like the functional box. It's not required for the mod, just thought some might want them to match, so I made one. The pictures of Sim filling the bowl are taken with the default replacement. If you don't have it, the box will look as it's always looked.

Compatibility
Requires Pets. Compatible with all expansions beyond pets.

Conflicts
None that I know of. May conflict with mods that alter the pet food dish semi global group. Will conflict with mods that alter the fill pet bowl interaction. HCDU will find problematic conflicts, but it will not find text conflicts so if you get a weird message when the empty box dialog comes up then you have a text conflict that HCDU can't detect.

Default replacement texture will clash with other default replacement textures for the dog/cat food box.

Policy
Please do not modify or share the global mod anywhere. But you are very welcome to clone the food box object and make your own, and when I have time I will update the mod to look for your object as well

Credits
gdayars who taught me how to mesh, enabling me to make simple mesh edits like this one
NixNivis who once upon a long time ago helped me understand attributes, which opened up all kinds of new creator doors for me
justJones who taught me to alpha map
EA for the original mesh that I modified slightly
Franzilla for the simlish fonts used, found here and here
Berkshire Humane Society for the picture of dancing cat and dog, found here

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Pets
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
GummiPetFoodUsesBoxMod.zip 48.7 KB 868 28th Feb 2018
GummiPetFoodUsesBoxMod-SkipCommunity.zip 49.0 KB 549 28th Feb 2018
GummiDefaultReplacementPetFoodBox.zip 28.5 KB 676 28th Feb 2018
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:

1. Download: Click the download link to save the .rar or .zip file(s) to your computer.

2. Extract: Use WinRAR (Windows) or Stuffit (Mac) to extract the .package file(s) from the .rar or .zip file(s).

3. Place in Downloads Folder: Cut and paste the .package file(s) into your Downloads folder:
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\EA Games\The Sims 2\Downloads\
  • Windows Vista/7/8: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\
  • Mac: Users\(Current User Account)\Documents\EA Games\The Sims 2\Downloads\

-or-

4. Place in Program Files: Cut and paste the .package file(s) into your appropriate Install folder:
  • Windows XP: C:\Program Files\EA GAMES\The Sims 2 (Your Latest EP)\TSData\Res\Catalog\Bins
  • Windows Vista/7/8: C:\Program Files\EA GAMES\The Sims 2 (Your Latest EP)\TSData\Res\Catalog\Bins
  • Windows Vista/7/8: C:\Program Files(x86)\EA GAMES\The Sims 2 (Your Latest EP)\TSData\Res\Catalog\Bins
  • Origin: C:\Program Files (x86)\Origin Games\The Sims 2 Ultimate Collection\Fun with Pets\SP9\TSData\Res\Catalog\Bins
  • Mac: APPLICATIONS FOLDER -> THE SIMS 2 -> TSDATA -> RES -> CATALOG


Need more information?
 
23 Comments / Replies (Who?) - 9 Feedback Posts, 13 Thanks Posts
Thanks are currently OFF: Show Thanks Posts for this thread
Needs Coffee
staff: moderator
#2 Old 28th Feb 2018 at 9:50 PM Last edited by joandsarah77 : 28th Feb 2018 at 10:05 PM.
So excited to try this.

Question, can I sell the box on my owned lots and make a profit? What I mean by that is, it won't auto set at ridiculously cheap while requiring me to restock at a higher price.

Another question. Will this work okay alongside the Autofill pet bowls and the natural pet food by Sun&Moon?

"I dream of a better tomorrow, where chickens can cross the road and not be questioned about their motives." - Unknown
~Call me Jo~
Meet Me In My Next Life
#3 Old 1st Mar 2018 at 1:59 AM Last edited by Simonut : 2nd Mar 2018 at 12:51 AM.
@gummilutt I love that the box look like Pet food, But I have two question I use Squinge mod Pet Food stay Filled in my game here http://www.insimenator.org/index.php/topic,27631.0.html
Will it work or not with his Mod? Or even with this one here http://sims.jfade.com/index.php?category=1&subcat=1 if there is a conflict I will take the stay filled by Squinge mod out.
I kinda like the stay filled mod because sometime I forget to fill my poor pet bowl. You always come up with GREAT MODS.

"Nothing in life is a Surprise it just happen to come your way at the time".
Instructor
#4 Old 1st Mar 2018 at 2:18 PM
It looks great!
Theorist
#5 Old 1st Mar 2018 at 7:09 PM
This is so exciting...like some of the previous posters I do have a couple of questions, tho!

Does this work to fill the converted Pets Stories food bowl/dispenser (ps_autopetfood)? Would using that bowl with this mod result in extra food for the same price (as it does anyway in default behavior)?

When you say that sims can bring the food along to community lots, do you mean it works from inventory? What I mean is, if the box is in the sim's inventory, can they still use it to fill bowls or must it be placed somewhere on the lot?
Mad Poster
Original Poster
#6 Old 2nd Mar 2018 at 11:44 PM
I'm out of town so I apologize for the slow replies. But thank you everyone for the kind words, glad to hear you like it. It's always great to hear people find my mods add realism and practicality, since that is usually the goal

Regarding all the questions about variations of autofill mods/bowls, answer is no, this mod won't work with them. It's unlikely to conflict with them, but when they refill bowls they will do so in whatever way the mod/object was written to do, it's not going to use the code this mod edits because it requires a Sim to be part of it. If a Sim fills the bowl the first time this mod should take affect, but after that no. I agree that bowls empty too quickly, which is why I will be releasing a complementary bigger bowls mod that increases the capacity of bowls. The bigger capacity mod will be compatible with this mod, I intentionally set it up to use the global values so it could accommodate bigger bowls. But there's no way for me to globally affect autofill bowls because they aren't using the global code. Would have to update each one manually and share new versions, and even if policies allow it it's an awful lot of work Same goes for Squinge's mod, would have to re-make it with my code added. Hopefully the bigger bowls mod combined with the fact that Sims using this can top off bowl without wasting food is enough of a solution to please most people

Quote:
Originally Posted by joandsarah77
Question, can I sell the box on my owned lots and make a profit? What I mean by that is, it won't auto set at ridiculously cheap while requiring me to restock at a higher price.

Another question. Will this work okay alongside the Autofill pet bowls and the natural pet food by Sun&Moon?


I am not familiar with any issue that causes restocking to not work properly, so I don't know how this would react in that circumstance. I don't have access to my game at the moment so I can't test it either, but I will test when I get back home. The price decay is set to decay to 0 at the initial decay, because I figured you don't usually resell pet food for anything, but how that affects OFB sales I am not sure.

Not familiar with natural pet food by Sun&Moon, but if you provide me with a link to it I can take a look. My hunch is no, but you never know so better look.

Quote:
Originally Posted by Rosawyn
When you say that sims can bring the food along to community lots, do you mean it works from inventory? What I mean is, if the box is in the sim's inventory, can they still use it to fill bowls or must it be placed somewhere on the lot?


I have re-written the description a hopefully less confusing way. As far as I know there is no way to access and edit values on objects in inventory, so the box has to be placed on the lot itself to be accessible. So either use community lot version so that it uses maxis code on community lots, or use a buy mode enabler so you can buy boxes on community lots when needed (or bring in inventory and use enabler to access it and place on lot). It's not a great solution I know, but the interaction was coded in a backwards way that complicated things. Once I come up with a more elegant solution I will update the mod, but for now those are the options we have.

If you have questions on how to use SimPE or WW, you're welcome to PM me.
Mad Poster
Original Poster
#7 Old 7th Mar 2018 at 1:20 PM
@joandsarah77 Restocks at the correct price for me, but as I said in my earlier post I am not familiar with the issue you mentioned so not sure how to test for it other than restock and see what happens. And in my test environment it restocks for the catalog price
Needs Coffee
staff: moderator
#8 Old 7th Mar 2018 at 11:44 PM
I will send you a pm with the auto pet bowl.

The Sun&moon Natural pet food is here: has 2 types. Once is spawned food http://www.medievalsims.com/forums/...hp?f=240&t=7120 which I think should be fine.
The other is in a bowl called Don't Bite The Hands That feeds http://fracturedmoonlight.tumblr.co...alized-pet-food I could simply not use this in my modern game if it clashes.
I haven't been playing lately only building so I haven't tried it out yet to see how it restocks.

"I dream of a better tomorrow, where chickens can cross the road and not be questioned about their motives." - Unknown
~Call me Jo~
Field Researcher
#9 Old 8th Mar 2018 at 3:20 AM
I just ran out of pet food and went to replace the box, but the empty box 'sells' for $50 when I delete it meaning I can get a new box of pet food for free.
Otherwise, great mod. Love it. Would you consider uploading a .psd of the box texture for recolouring?
Mad Poster
Original Poster
#10 Old 9th Mar 2018 at 11:00 AM Last edited by gummilutt : 9th Mar 2018 at 12:53 PM.
That's odd kidhedera. I set it to decay to 0 at the first decay point, but those variables are a little weird so maybe I got it wrong. I will take a look at it and update it once I am sure it will revert to 0 properly

I'm afraid I don't use psd's for my creating so I don't have one to share. But the alpha map is pretty straight forward, so shouldn't be too hard to work with

Very VERY exciting news you guys! I contacted retailsims to ask premission to update her wonderful pet food objects to be compatible with this, and she very kindly agreed to let me use them. So stay tuned for a part 2 with all the gorgeous food options from retailsims pet shop set, and an additional mod that affects the give treat interaction. And a little birdie did say something about a non-ofb option...

Edit: Somehow missed your post Jo, sorry about that. I will take a look at let you know. I realize my older post is a bit unclear. What I meant was that I think it's unlikely that my mod will interfere with the creations you mentioned, but I will take a look and give you a definitive answer.
Field Researcher
#11 Old 5th Apr 2018 at 7:51 PM
I'm having the same problem as kidhedera and ihatemandatoryregister in that my first empty box sold for ยง50, which surprised me. The second box would have sold for ยง51, causing me to make a profit by getting rid of the old box - so I put the empty box in the attic instead and just bought a new box.

The cats and kittens love this food!