Search this Thread |
![]() |
ActionDataBits #1 |
Canibal_MLO
Original Poster
Test Subject
Join Date: Nov 2020 |
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). ![]() ![]() |
|
|
![]() |
#2 |
nitromon
|
probably goes into modding forum. |
Sanity is overrated. Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series. There. Mystery solved. |
|
|
|
![]() |
#3 |
Lyralei
|
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! ![]() (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
|
![]() |