- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Custom Content - ActionDataBits
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Custom Content - ActionDataBits
Replies: 2 (Who?), Viewed: 624 times.
#1
26th Nov 2020 at 4:23 PM
Posts: 67
Thanks: 772 in 12 Posts
ActionDataBits
Hello There, I was modding a SocialData XML and i saw the current line
<AD val="0x00000002">
<Misc ITLA="50" r="4" />
</AD>
The Val word with the following 0x00000002 is a ActionDataBit, but i can't find how do i know all the ActionDataBits to continue modding this XML the way i want. Each means an interaction is allowed for example: While holding an umbrella, if the SIM is pregnant and more...
BUT i don't know all of them and the numbers that comes with all these ActionDatas, i know it is in "Sims3.Gameplay.Socializing.ActionData.ActionDataBits" BUT, i can only find the names, not the Bits (numbers).
Can someone who has access to XML mod applications give me the names and numbers of ActionDataBits?
Advertisement
#3
29th Nov 2020 at 12:03 PM
Last edited by Lyralei : 29th Nov 2020 at 12:06 PM.
Reason: Added the extracted actiondatabits
Posts: 3,860
Thanks: 8537 in 67 Posts
Arsil seemingly has a few lines and explanations of it in their XML file (and I think @gamefreak130 did too in one of the mods they did?) But basically, the 'basics' of the AD stuff is as followed (See XML spoiler button):
https://modthesims.info/showthread....846#post4018846
Now, if you're new to modding, calculating bits sounds like some super high end hackerman programmer stuff... but it can actually be done with your (windows) calculator! First, you want to change it to 'programmer' and change it to 'hex' if it isn't.
(here's the reference again)
DisallowedIfPregnant = 0x00000001
DisallowWhileCarryingChild = 0x00000008
DisallowWhileCarryingMinorPet = 0x00040000
IsAllowedWhileCarryingUmbrella = 0x00080000 +
------------
0x000C0009
So in your case we want '0x00000001' and 0x00080000. type in '1 + 80000' and voila: 80001 !
Hope this helps!
EDIT:
Here's the fully extracted actionDataBits!
https://modthesims.info/showthread....846#post4018846
Now, if you're new to modding, calculating bits sounds like some super high end hackerman programmer stuff... but it can actually be done with your (windows) calculator! First, you want to change it to 'programmer' and change it to 'hex' if it isn't.
(here's the reference again)
DisallowedIfPregnant = 0x00000001
DisallowWhileCarryingChild = 0x00000008
DisallowWhileCarryingMinorPet = 0x00040000
IsAllowedWhileCarryingUmbrella = 0x00080000 +
------------
0x000C0009
So in your case we want '0x00000001' and 0x00080000. type in '1 + 80000' and voila: 80001 !
Hope this helps!
EDIT:
Here's the fully extracted actionDataBits!
Code:
None = 0x00000000, DisallowedIfPregnant = 0x00000001, IsGroupSocial = 0x00000002, IsTerminating = 0x00000004, DisallowWhileCarryingChild = 0x00000008, IsADominantSTCSocial = 0x00000010, DoesSocialOnlyAppearWhenSTCIsCurrent = 0x00000020, TurnOffLookAtsDuringSocial = 0x00000040, CanUngreetedSimsReceiveThisSocial = 0x00000080, IsAllowedWhileHoldingADrink = 0x00000100, AppearsOnTopLevel = 0x00000200, ReverseAfterLoop = 0x00000400, CelebrityImpressCheck = 0x00000800, FunMotiveExit = 0x00001000, ForceCreateJig = 0x00002000, SocialCanBeDoneToMounedHorse = 0x00004000, DisallowAutonomousWhileSunburnt = 0x00008000, AllowPetToInitiate = 0x00010000, AllowInteractionWithSimOnHorse = 0x00020000, DisallowWhileCarryingMinorPet = 0x00040000, IsAllowedWhileCarryingUmbrella = 0x00080000, IsAllowedWhileScubaDiving = 0x00100000
Who Posted
|