More Awesome Than You!
Welcome,
Guest
. Please
login
or
register
.
2024 November 22, 18:21:01
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!
TS2: Burnination
The Podium
I need to learn more about flags!
0 Members and 3 Chinese Bots are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: I need to learn more about flags! (Read 6703 times)
Gwill
Terrible Twerp
Posts: 2162
I need to learn more about flags!
«
on:
2007 May 20, 10:35:34 »
I feel I desperately need to learn more about flags in property sets, especially for clothing. I've been hoping to maxify some of my favourite custom clothes, but initial experiments have left me with some unexpected results (mostly, some don't show up for YA, even though the age category is set to 48). I think I understand most of the values I've been fiddling with, but flags are mostly a mystery to me.
In the past, the only thing I have done to the flag value of stuff is raise or lower it by 1 to hide or unlock things. I also seem to remember someone mentioning that flag values could be used to make clothing show up in bodyshop, but not in CAS and vice versa, or something along those lines.
Can anyone point me in the direction of a guide, or give me some quick instructions.
Logged
Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
PandaGirl
Nitwitted Nuisance
Posts: 873
Re: I need to learn more about flags!
«
Reply #1 on:
2007 May 20, 10:41:01 »
There's a post here by me that explains how to de-customise clothes and stuff. I can't remember what I called it!
try this:
http://www.moreawesomethanyou.com/smf/index.php/topic,7586.0.html
Logged
Gwill
Terrible Twerp
Posts: 2162
Re: I need to learn more about flags!
«
Reply #2 on:
2007 May 20, 11:40:26 »
I do know how to decustomize. There are some instructions around, although they all seem to originally be for skins, they do work on clothes as well.
I'd still like to learn about the actual flag values.
Logged
Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #3 on:
2007 May 20, 11:49:27 »
These values are known to me:
0x0: clothing or hair
0x1: hidden clothing or hair
0x2: hair hat
0x4: purpose unknown; used on some clothing.
0x8: clothing or hair
0x10: purpose unknown. Appears on the Xmas pack's elder-only stuff, and some Maxis website downloadables
Default clothes and hair use either 0x0 or 0x8. If 0x8 does anything, I have no clue what this is.
Most hats do not seem to use 0x2, but 0xA (0x2+0x8).
I would also really like to know what purpose (if any) is served by the flag values 0x4 (also occurs as 0xC: 0x4+0x8) and 0x10.
Adding 0x1 to any flag hides the outfit or hairstyle from CAS! (occurs both as 0x1 and as 0x9) and prevents it from being used in the Sim generator (for townies and Service NPCs).
Flags can of course be added:
0x9 is 0x1+0x8, and thus would be a hidden hairstyle or outfit. A hidden hat could be 0xB.
Edited a few times to correct mistakes and hopefully improve wording
«
Last Edit: 2007 May 21, 00:06:36 by Jordi
»
Logged
Gwill
Terrible Twerp
Posts: 2162
Re: I need to learn more about flags!
«
Reply #4 on:
2007 May 20, 12:26:57 »
Thanks, Jordi, that helps a lot.
Some of the downloadable maxis outfits for T or A/YA are flagged 10 (at least the valentines undies and the gothic teen outfits).
Most of the instructions I've seen on de-customizing clothing says to delete the "version" and "product" strings, set flag to "0" and creator string to "00000000-0000-0000-0000-000000000000".
I've done that to some clothes, with the result that they don't show up in bodyshop, and some don't show up for YA. The guides in question have all been based on genetizising skin, so I don't think all the steps are necessary to decustomize clothing.
The maxis valentines undies (which does get randomly assigned a lot more than I like), have these stats:
version = 0x00000003
product = 0x00000000
flags = 0x00000010
creator = 00000000-0000-0000-0000-000000000000
Logged
Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #5 on:
2007 May 20, 12:34:09 »
Hmm, 10 may be useless then. It doesn't seem to do anything in any case. Maybe it's used as some sort of marker internally?
You shouldn't delete product and version, you should
set
them.
As of Pets, only items with these strings set, and the 0 creator, are treated as Maxis stuff.
Version is internal file version I think (or is it bodyshop revision?), best set at 0.
Product is game version, so 0 = base game, 3 = ofb etc. -- I set it to 0 for downloadables.
Miss any string, and it it isn't used on townies, and (if a Maxis override), gets the star of shame.
Logged
BastDawn
Retarded Reprobate
Posts: 1355
I'll stop by to read Awesomeland once in a while.
Re: I need to learn more about flags!
«
Reply #6 on:
2007 May 20, 22:52:11 »
I may have to eat my words if what you say about the hair flag is true. I just ran around adding posts to threads about Theo's binning tool to let people know that I'd learned the "hat" checkbox doesn't make hair into hats, and how to change it in the property flags. I fixed my own hair by changing the flag to 0x00000002 -- the same value that recolors of the "hip" hat and propeller beanie have. If that is for FFS hats only, why is that value used for my base game hats? (I don't have FFS.)
Edit to add: I just tested this by modifying another hair recolor to the flag 0x0000000A, and it also gives my test sim a Nightlife "hat" trait. Can you tell me what the real difference is, and why SimPE reports both as having the hat trait?
«
Last Edit: 2007 May 20, 23:03:13 by BastDawn
»
Logged
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #7 on:
2007 May 20, 23:43:56 »
*facepalm*
0xA = 0x2+0x8.
So both 2 (0+2) and A (8+2) should work for hats, but at the time I noted this down originally I was apparently even more of an imbecile than I am now, and didn't do the simple math.
Both 2 and A should of course mark hair as a hat, just like 0 and 8 are both "default" values.
Most default hats seem to use A IIRC.
Logged
BastDawn
Retarded Reprobate
Posts: 1355
I'll stop by to read Awesomeland once in a while.
Re: I need to learn more about flags!
«
Reply #8 on:
2007 May 20, 23:47:08 »
Thanks, I'm relieved to hear that. I really should learn more about hex coding if I'm going to mess around with it.
Logged
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #9 on:
2007 May 21, 00:07:40 »
I've posted this over at MTS2 (replacing my old, old thread on flags) in hopes of some more insight. As far as I'm aware nobody has documented any of these flags anywhere.
Property Set Flags
.
Logged
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #10 on:
2007 May 21, 00:11:26 »
Quote from: BastDawn on 2007 May 20, 23:47:08
Thanks, I'm relieved to hear that. I really should learn more about hex coding if I'm going to mess around with it.
Hex is actually rather easy, but I seem to have a blind spot for it. For some stupid reason my mind just won't accept the concept of A=10, F=15, 10=16 etc. when I am trying to add or substract. Ah well, that's what calculators are for.
Logged
Gwill
Terrible Twerp
Posts: 2162
Re: I need to learn more about flags!
«
Reply #11 on:
2007 May 21, 19:42:30 »
Do I understand correctly, that hats show up in CAS, but do not get randomly assigned to townies? Does being a hat has any other effect, aside from being a possible turn-on?
Logged
Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #12 on:
2007 May 22, 07:23:39 »
Gwill: correct. Hats will not be used on townies, unless an NPC or downtownie template specifically sets one.
There is no other effect than the turn on/turn off.
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
Posts: 26288
Re: I need to learn more about flags!
«
Reply #13 on:
2007 May 22, 10:43:03 »
Quote from: Jordi on 2007 May 22, 07:23:39
Gwill: correct. Hats will not be used on townies, unless an NPC or downtownie template specifically sets one.
Pretty trivial to enhattenate a townie, though.
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.
jrd
Terrible Twerp
Posts: 2498
Re: I need to learn more about flags!
«
Reply #14 on:
2007 May 22, 10:56:06 »
I think Gwill is asking this because it would allow an easy to way to have certain hairstyles not be used on townies, while still being available for Sims, just by marking them as a hat.
I am going to do this with the GLS and SP4 wedding veils I think...
Logged
Gwill
Terrible Twerp
Posts: 2162
Re: I need to learn more about flags!
«
Reply #15 on:
2007 May 22, 16:07:48 »
Right now I was asking because I'm generally interested in flags, but yes, I have also considered binning some extreme hairs as hats to prevent random townies with 2-foot high roccocco hair. I also have to re-consider how I flag custom hairs with hats.
I'm not really fond of hats. I'm using a lot of hiders to weed out stuff I don't like, but I won't bother hiding hats if townies don't generate with them.
I once did an adjustment of the knight's helmet for someone, and apparently forgot to flag it correctly, resulting in a carpool driver and a nightlife chef walking around with incurable helmet-ness.
Logged
Dibs on Darth Telligent!
INTJ bordering on P
Want to know where babies come from?
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...