More Awesome Than You!
Welcome,
Guest
. Please
login
or
register
.
2024 November 24, 00:16:31
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
SUPPORT THE MUNICIPALITY!
Have you destroyed a paysite today?
"Jelenedra" is the new "gay".
All Lythdans are stupid and suck!
DEATH TO ALL STUPID HAIRY-BELLIED NESSES!
All Kewians are stupid and suck! Accept no Kewian-based substitutes!
Clearly, BlueSoup has failed us! You must not! BlueSoup has a fat head!
Hobbsee has a
scrawny pencil neck.
Rohina the Ugly Butted is a Horny Turkey
540287
Posts in
18067
Topics by
6545
Members
Latest Member:
cincinancy
More Awesome Than You!
The Bowels of Trogdor
The Small Intestines of Trogdor
Secondary aspiration
0 Members and 2 Chinese Bots are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Secondary aspiration (Read 17404 times)
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Secondary aspiration
«
on:
2008 March 03, 09:57:28 »
Has anyone managed to find out how/where a sim's secondary aspiration is stored? If not, if someone has a sim who has gained one, could they please send me their neighborhood.package file and tell me the name of that Sim (the american name preferably)
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Secondary aspiration
«
Reply #1 on:
2008 March 03, 11:41:09 »
The secondary aspiration is stored in the same place as the primary aspiration, with an aspiration bit, but there's ALSO an inventory token which has an attribute that is then XOR'ed with the aspiration bitfield to isolate the primary one. You can see this mess at work in 0x403.
My advice is just to not touch it. Changing the aspiration is far more easily performed in-game than by any cheat or SimPEing, as attempting to fiddle with the attributes directly, even in-game, can mangle the sim and leave it with NO displayed aspiration. Plus, changing the primary or secondary aspiration invalidates selected LTA perks, and if you have any of those selected when you change the aspiration surreptitiously like so, the sim blows up. Thus, you have to deallocate the sim's LTA perks as well, and if you don't want to do it lossily, causing loss of earned points, you have to calculate how many of those need to be reused, etc. Huge mess. Much easier to tackle in BHAV than it is to edit externally.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Re: Secondary aspiration
«
Reply #2 on:
2008 March 03, 12:02:49 »
Where is the primary aspiration? I can't seem to spot it in Persondata
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Secondary aspiration
«
Reply #3 on:
2008 March 03, 16:45:07 »
Persondata 0x2E, same place as always. Only now there are two bits instead of 1.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Re: Secondary aspiration
«
Reply #4 on:
2008 March 03, 16:51:43 »
Lol I've been over and over persondata and couldn't see it! I have been drinking mint tea all day, and now I think I need a coffee!!
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
jase
Dimwitted Dunce
Posts: 174
Re: Secondary aspiration
«
Reply #5 on:
2008 March 04, 06:05:51 »
From the looks of things, Maxis has culled all bit tests against 0x2E and replaced them with calls to 0x403 and/or 0x611 and performing the flag tests against Temp 0. Querying 0x2E directly is somewhat non-sensical. This is going to break a lot of shit silently yet violently.
Logged
Isn't it about time you did your part in God's plan? Go on, install InTeen today. What would Jesus do?
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Re: Secondary aspiration
«
Reply #6 on:
2008 March 04, 07:53:53 »
I have this hunch that they do these things to keep the modders interested. They really do supply something for everyone, right down to the intrigue about whether or not they approve of pay content, to occupy the militant spirits. They know that not all of us would be interested in just playing a well-designed bug-free PC game
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Secondary aspiration
«
Reply #7 on:
2008 March 04, 08:53:18 »
Quote from: jase on 2008 March 04, 06:05:51
From the looks of things, Maxis has culled all bit tests against 0x2E and replaced them with calls to 0x403 and/or 0x611 and performing the flag tests against Temp 0. Querying 0x2E directly is somewhat non-sensical. This is going to break a lot of shit silently yet violently.
Bit tests against 0x2E still work...if you want to check if a sim has an aspiration, rather than that a sim *IS* an aspiration. The distinction is somewhat minor, yet important. Formerly, "having" and "being" an aspiration were the same, but now there is a subtle yet important distinction.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Re: Secondary aspiration
«
Reply #8 on:
2008 March 04, 09:30:25 »
I think the test for whether they have an aspiration as either primary *or* secondary would be perfectly relevent for deciding on things like ACR tendencies. After all, the user chooses both aspirations for the sim, and presumably would like them to do stuff based on both.
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Secondary aspiration
«
Reply #9 on:
2008 March 05, 01:05:14 »
That's why "has" an aspiration and direct tests on the bitfield are still relevant, yes.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
jase
Dimwitted Dunce
Posts: 174
Re: Secondary aspiration
«
Reply #10 on:
2008 March 05, 01:28:52 »
Quote from: Inge on 2008 March 04, 09:30:25
After all, the user chooses both aspirations for the sim, and presumably would like them to do stuff based on both.
While I agree with this statement in principle, it does not appear that Maxis has followed suit. It seems like they've gone out of their way to replace bit-testing against 0x2E with calls to 0x403, which only gets you at the primary aspiration. Leaves me wondering what purpose the secondary serves except as a pathway to different aspiration rewards.
Logged
Isn't it about time you did your part in God's plan? Go on, install InTeen today. What would Jesus do?
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: Secondary aspiration
«
Reply #11 on:
2008 March 05, 01:39:21 »
Probably because bit-testing against 0x2E, which is most common in, say, Want Check Trees, would produce ambiguous results for determining whether a sim should want or fear an event. In any case, I haven't actually had to refit my code, because I foresaw that such an implementation could theoretically occur. I mean, what's the point of using a bit-field for a datatype unless you actually intend to make it possible for more than one bit to be set? Thus, I've always used 0x403 for "is" and bit-test for "has". It seems I was right to do this.
Logged
Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Inge
Round Mound of Gray Fatness
Senator
Posts: 4320
Senator Emeritus. Oh hold on, I am still a senator
Re: Secondary aspiration
«
Reply #12 on:
2008 March 05, 10:55:57 »
But Jase, does it matter what Maxis do about working out aspiration priority when it comes to deciding what the ACR does about it? TJ's users may be perfectly happy for their sims to choose what to do about sex based on either or both their aspirations - which would mean simply testing the flags of that field would do fine. TJ could go through a little BHAV of his own to decide which aspiration to actually return. Where only one flag is set, then there is no dispute. Where two are found, it could return either at random. In real life, if a person has a conflict of aspiration, sometimes their decisions will appear conflicting too - it would not detract from the realism of the result.
Anyway I see he's sorted it now
«
Last Edit: 2008 March 05, 12:10:24 by Inge
»
Logged
\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
TS4: The Pee-ening
-----------------------------
=> Insert Amusing Name Here
=> Facts and Strategery
-----------------------------
TS3/TSM: The Pudding
-----------------------------
=> The World Of Pudding
=> Facts & Strategery
=> Pudding Factory
===> World of Puddings
===> Pudding Plots
-----------------------------
TS2: Burnination
-----------------------------
=> The Podium
===> Oops! You Broke It!
=> The War Room
=> Planet K 20X6
===> Building Contest of Awesomeness
=> Peasantry
===> Taster's Choice
-----------------------------
The Bowels of Trogdor
-----------------------------
=> The Small Intestines of Trogdor
=> The Large Intestines of Trogdor
-----------------------------
Awesomeware
-----------------------------
=> TS4 Stuff
=> Armoire of Invincibility
===> AwesomeMod!
=> The Armory
===> Playsets & Toys
===> The Scrapyard
-----------------------------
Darcyland
-----------------------------
=> Lord Darcy Investigates
-----------------------------
Ye Olde Simmes 2 Archives: Dead Creators
-----------------------------
=> Ye Olde Crammyboye Archives
=> Ye Olde Syberspunke Archives
-----------------------------
Serious Business
-----------------------------
===> Spore Discussions
Loading...