- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Need help on mood threshold mod
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Need help on mood threshold mod
Replies: 6 (Who?), Viewed: 1816 times.
#1
28th Jan 2010 at 5:42 AM
Posts: 12
Thanks: 207 in 11 Posts
Need help on mood threshold mod
Hello modthesims community.I've been working on a little mod which changes the thresholds of the sims mood changes to make it a bit more difficult to get the sims moods up. I've had some success with that part of it.
However, modifying the mood thresholds in the MoodManager xml file (using s3pe), doesn't seem to have affected the way mood has an influence on job performance. In the career panel where it shows the sims mood level as an arrow pointing at one of a series of sad to smiley faces, the arrow seems to point at where it should under the normal mood ranges, rather than the sims actual mood according to the main mood bar when running the mod.
So for example, to get a sim "elated", normally it takes 75 moodlet points. With my mod running, it requires 150 points to get to that mood, and that part works fine, but the career panel still points at the highest mood smiley, even though the sims mood is not that high according to the main mood bar next to the list of moodlets.
I've had a look in the Career and Careers xml files, and I can't seem to find anything that might be what I'm looking for.
If anyone can offer some help about where I might find the relevant variables to tweak, or if you think I might need to do something more involved than xml tuning to achieve the desired result, it would be much appreciated. Thanks for your attention.
Advertisement
#2
28th Jan 2010 at 5:48 AM
Posts: 1,833
Thanks: 8568 in 115 Posts
Im just gonna post here to tag this, sorry I can't help. I was looking for a way to make moodlets ultimately less effective a while back.
#3
28th Jan 2010 at 5:05 PM
Posts: 1,728
Quote: Originally posted by TheInquisitor
I've had a look in the Career and Careers xml files, and I can't seem to find anything that might be what I'm looking for. |
Example from the <Careers> file: <Political> set
<Metric1>Mood</Metric1>
<Mappings1>-30,0,140</Mappings1>
The "140" defines minimum mood to receive a +3 job performance boost.
Is that what you were looking for?
Cheers.
NRaas Industries: Sims 3 Mods for the Discerning Player, hosted by The Wikispaces.
#4
28th Jan 2010 at 5:43 PM
Posts: 11,006
Thanks: 424122 in 1123 Posts
There is a bit of info on how exactly the metrics for careers work here: http://www.moreawesomethanyou.com/s...ic,17869.0.html
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
#5
28th Jan 2010 at 6:06 PM
Posts: 1,728
Just to make your tutorial a bit more complete, here is the calculation:
Where <MappingsN>mNegMap3,mMap0,mMap3</MappingsN>
(Why this forum feels the need to add so much space in the "CODE" block, I am unclear)
Cheers.
NRaas Industries: Sims 3 Mods for the Discerning Player, hosted by The Wikispaces.
Where <MappingsN>mNegMap3,mMap0,mMap3</MappingsN>
Code:
public int CalcMetric(Career career) { career.LastTimeCalculated = SimClock.CurrentTime(); float num = FindMetricValue(career); if (num == mMap0) { return 0x0; } if (num < mMap0) { if (num <= mMapNeg3) { return -3; } if (num < ((mMapNeg3 + mMap0) / 2f)) { return -2; } return -1; } if (num >= mMap3) { return 3; } if (num > ((mMap3 + mMap0) / 2f)) { return 2; } return 1; }
(Why this forum feels the need to add so much space in the "CODE" block, I am unclear)
Cheers.
NRaas Industries: Sims 3 Mods for the Discerning Player, hosted by The Wikispaces.
#6
28th Jan 2010 at 6:16 PM
Posts: 11,006
Thanks: 424122 in 1123 Posts
Oh cool, thank you. I'll edit that in =).
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
#7
28th Jan 2010 at 6:22 PM
Posts: 12
Thanks: 207 in 11 Posts
twallan, that's exactly what I was looking for. Thank you so much.
Also thanks to plasticbox for the link.
Also thanks to plasticbox for the link.
Who Posted
|