Welcome to
Mod The Sims
Online: 1386
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 2 (Who?), Viewed: 188 times.
Search this Thread
Old 26th Nov 2020, 5:23 PM ActionDataBits #1
Canibal_MLO
Original Poster

Test Subject

Join Date: Nov 2020
Posts: 1


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?
Screenshots
Click image for larger version

Name:  ACTIONDATA.png
Views: 0
Size:  165.1 KB  
Old 26th Nov 2020, 11:14 PM #2
nitromon
Mad Poster

Join Date: Jun 2009
Posts: 6,244
Thanks: 758 in 31 Posts
10 Achievements


probably goes into modding forum.

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Old 29th Nov 2020, 1:03 PM #3
Lyralei
Virtual gardener



Join Date: Dec 2013
Posts: 3,095
Thanks: 3444 in 22 Posts
24 Achievements


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!

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
Last edited by Lyralei : 29th Nov 2020 at 1:06 PM. Reason: Added the extracted actiondatabits
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.