Jump to content

Need help with XML to make the game use already created townies.


Simite

Recommended Posts

Posted

So I'm working on some tuning file edits to make the NPC sims in my game work the NPC jobs around the game I just need some help figuring out what part of the XML to change and what to change it too. Here's an example of the XML:

Spoiler

<?xml version="1.0" encoding="utf-8"?>
<I c="TunableSimFilter" i="sim_filter" m="filters.tunable" n="filter_ActorCareer_WardrobePedestal_Stylist" s="191612">
  <L n="_filter_terms">
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">16851<!--trait_isGrimReaper--></T>
      </U>
    </V>
    <V t="sim_info_lod" />
    <V t="species" />
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">187088<!--trait_Scarecrow--></T>
      </U>
    </V>
    <V t="is_ghost">
      <U n="is_ghost">
        <T n="invert_score">True</T>
        <T n="require_npc">False</T>
      </U>
    </V>
    <V t="can_be_outside" />
    <V t="is_hidden">
      <U n="is_hidden">
        <T n="invert_score">True</T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">177810<!--trait_Hidden_Skeleton_ServiceSkeleton--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">178437<!--trait_Hidden_Skeleton_TempleSkeleton--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">186785<!--trait_FlowerBunny--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">183343<!--trait_HolidayTradition_FatherWinter--></T>
      </U>
    </V>
    <V t="age">
      <U n="age">
        <E n="ideal_value">TEEN</E>
        <E n="min_value">TEEN</E>
      </U>
    </V>
    <V t="career">
      <U n="career">
        <V n="career" t="from_explicit_type">
          <U n="from_explicit_type">
            <T n="career_type">195952<!--career_Adult_NPC_WardrobePedestal_Stylist--></T>
          </U>
        </V>
        <V n="career_user_level" t="enabled" />
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">133798<!--trait_Hidden_IsEventNPC_Challenge--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">112688<!--trait_isAlienPollinator--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">116487<!--trait_DetectiveCareer_PoliceStationCriminalNPC--></T>
      </U>
    </V>
    <V t="trait">
      <U n="trait">
        <T n="invert_score">True</T>
        <T n="trait">202424<!--trait_SpecialNPCs_BabyAriel--></T>
      </U>
    </V>
  </L>
  <V n="_household_templates_override" t="enabled">
    <L n="enabled">
      <T>98542<!--HH_template_NPC_adult_single--></T>
    </L>
  </V>
  <T n="_template_chooser">16745<!--adult_template_chooser--></T>
  <T n="use_weighted_random">True</T>
</I>

 

From that I think I want to delete the part highlighted in yellow and replace with something like this:

Spoiler

  <V n="repurpose_terms" t="use_specific_sims">
    <T n="use_specific_sims">113938<!--filter_Unimportant_NoCareer--></T>
  </V>

or possibly this:

Spoiler

  <V n="repurpose_terms" t="use_unimportant_sims" />

 

I'm not sure if either of these are the correct ones, so any help or input about this would be greatly appreciated.

 

Thanks.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...