More Awesome Than You!

TS2: Burnination => The Podium => Topic started by: rufio on 2008 October 24, 16:36:58



Title: How to distinguish dead sims from the Therapist
Post by: rufio on 2008 October 24, 16:36:58
I'm working on a program that I put in the Peasantry now, and setting it up so that it can import sim information from the game via SimPE.  Ideally, it should be able to get information for dead playables and townies, but not for NPCs like the Therapist and the Grim Reaper.  Inge tells me that the only way she knows to determine that a sim is dead from its data is that dead sims are in family 0, but the aforementioned NPCs are also in family 0.  Does anyone know of a way to tell if a sim in family 0 is a dead sim as opposed to an untouchable NPC?


Title: Re: How to distinguish dead sims from the Therapist
Post by: Inge on 2008 October 24, 17:37:35
I did say also no character data available


Title: Re: How to distinguish dead sims from the Therapist
Post by: rufio on 2008 October 24, 17:42:29
And the NPCs do have data available?


Title: Re: How to distinguish dead sims from the Therapist
Post by: Inge on 2008 October 24, 18:03:02
I don't really know what "unlinked" or "no character data available" means though


Title: Re: How to distinguish dead sims from the Therapist
Post by: rufio on 2008 October 24, 18:13:51
And actually, some of my dead sims at least do seem to have "character data available".

ETA: And neither is unlinked.  Example:

Code:
hood;HoodName; NID;SimName;  FamilyInstance;SimFamilyName;HouseholdName;HouseNumber;HouseName;AvailableCharacterData;Unlinked
N004;Brenville;2;  Therapist;0;             (NPC);        Default;      0;          Unknown;  Y;                     N
N004;Brenville;70; Amin      0;             Bren;         Default;      0;          Unknown;  Y;                     N

ETA2: Interestingly, I have some other dead sims that have N for AvailableCharacterData and Y for Unlinked.  Note that Amin Bren's tombstone was lost and I haven't been able to recover it, so that might be why.  But there should still be some way of distinguishing him from the Therapist.


Title: Re: How to distinguish dead sims from the Therapist
Post by: Gwill on 2008 October 24, 18:30:39
Their instance number will be a good indicator.


Title: Re: How to distinguish dead sims from the Therapist
Post by: rufio on 2008 October 24, 18:37:42
You mean FamilyInstance, or something else?  That's the only instance number I have from the SimPE output, anyway.


Title: Re: How to distinguish dead sims from the Therapist
Post by: J. M. Pescado on 2008 October 25, 02:36:57
Totally untouchable NPCs always have the same GUIDs. And the same names.