Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - yuyamarino

#1
Outdated / Re: [A12] BackstoriesCore Update 10
September 11, 2015, 04:41:41 AM
Hi there, it took me a few hours to get the hang of this but here's my code for Eren, Mikasa and Armin from Attack on Titan :)
Their stats are a bit high! Also if you need someone to write a short guide, I can do it for ya (I think)! :)  The only part I don't get about this mod is how to make actual characters with these backgrounds. When I wrote my PawnBioDefs, it didn't really do anything in the game :\ So I just use PrepareCarefully to assign the stats and all that

<BackstoryDef>
    <defName>childmika</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Rescued child combat prodigy (mikasa))</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Combat prodigy</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>NAME was rescued by Eren Yeager after her parents were killed by slavers. HECAP was nine years old at the time and was taught by Eren to always keep fighting. This event awakened the fighting instincts and perfect self-control. NAME lived with Eren's family in Wall Maria's Shiganshina District and is very protective over Eren and his best friend Armin. As a result, HE developed HIS close-combat skills and strength.</baseDescription><!-- This is the description of the backstory. Write something interesting and cool :) To make reference to the pawn who has this backstory, then use the character references listed at the top of this file.-->
    <bodytypeMale>Male</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Female</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Childhood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>Social</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
      <li>
        <defName>Growing</defName>
        <amount>5</amount>
      </li>
  <li>
        <defName>Construction</defName>
        <amount>5</amount>
      </li>
  <li>
        <defName>Mining</defName>
        <amount>5</amount>
      </li>
  <li>
<defName>Melee</defName>
<amount>10</amount>
  </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef>
 
  <BackstoryDef>
    <defName>adultmika</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Survey corps prodigy (mikasa)</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Corps prodigy</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>NAME was a member of the 104th Trainees Squad. HECAP graduated and ranked first in the class. Later HE goes on to join the Survey Corps and become one of the best fighters humanity has ever had.</baseDescription>
    <bodytypeMale>Male</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Thin</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Adulthood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>Intellectual</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
   <li>
        <defName>Growing</defName>
        <amount>2</amount>
      </li>
  <li>
<defName>Melee</defName>
<amount> 5 </amount>
  </li>
  <li>
        <defName>Construction</defName>
        <amount>8</amount>
      </li>
  <li>
        <defName>Mining</defName>
        <amount>8</amount>
      </li>
   <li>
<defName>Shooting</defName>
<amount> 15 </amount>
  </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef>
 
  <BackstoryDef>
    <defName>childeren</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Determined child (eren)</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Determined child</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>Even at a young age, NAME was highly determined and had a clear vision of the world around him. HE didn't accel at anything in particular but HE knew what needed doing and what needed to be done. HECAP saved Mikasa from slavers and had taught her how to survive in the world. NAME will defend Mikasa and HIS best friend, Armin, to the death if he has to. HECAP does not enjoy sitting in a room studying and rather physically practice.</baseDescription><!-- This is the description of the backstory. Write something interesting and cool :) To make reference to the pawn who has this backstory, then use the character references listed at the top of this file.-->
    <bodytypeMale>Male</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Female</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Childhood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>Intellectual</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
 
  <li>
        <defName>Construction</defName>
        <amount>10</amount>
      </li>
  <li>
        <defName>Mining</defName>
        <amount>5</amount>
      </li>
   <li>
        <defName>Growing</defName>
        <amount>5</amount>
      </li>
  <li>
<defName>Melee</defName>
<amount>5</amount>
  </li>
  <li>
        <defName>Social</defName>
        <amount>5</amount>
      </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef>
 
  <BackstoryDef>
 
    <defName>adulteren</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Survey corps recruit (eren)</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Corps recruit</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>NAME was a member of the 104th Trainees Squad. HECAP graduated with higher than average scores. Later HE goes on to join the Survey Corps and become an important soldier to the war against the Titans. Much like HIS childhood, NAME prefers practical solutions over theoretical ones and as such, seem to lack any artistic capability.</baseDescription>
    <bodytypeMale>Male</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Thin</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Adulthood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>Artistic</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
  <li>
        <defName>Construction</defName>
        <amount>10</amount>
      </li>
  <li>
<defName>Cooking</defName>
<amount>10</amount>
  </li>
  <li>
        <defName>Mining</defName>
        <amount>15</amount>
      </li>
  <li>
<defName>Melee</defName>
<amount>5</amount>
  </li>
  <li>
        <defName>Social</defName>
        <amount>5</amount>
      </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef> 

  <BackstoryDef>
    <defName>childarmin</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Clever child (armin)</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Clever child</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>NAME was a clever child who read a lot of books on life outside the wall, and past cultures of the Old World. HECAP often wonders what an ocean looks like and had always asked Eren to go to see an ocean one day. HECAP is curious but not so eager when it comes to physically exerting himself. HECAP was picked on regularly but is always protected by Eren and Mikasa.</baseDescription>
    <bodytypeMale>Thin</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Thin</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Childhood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>None</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
  <li>
        <defName>Research</defName>
        <amount>15</amount>
      </li>
  <li>
        <defName>Social</defName>
        <amount>2</amount>
      </li>
   <li>
        <defName>Medicine</defName>
        <amount>5</amount>
      </li>
  <li>
        <defName>Cooking</defName>
        <amount>5</amount>
      </li>
  <li>
        <defName>Construction</defName>
        <amount>5</amount>
      </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef>
 
   <BackstoryDef>
    <defName>adultarmin</defName><!-- Assign the backstory a defName. Make sure this is unique! A good way of making sure it is unique is by adding a prefix, such as the first three letters of your username.-->
    <title>Survey corps recruit (armin)</title><!-- This is the long version of the title. Make sure to only capitalise the first word and no others, otherwise you will get an error.-->
    <titleShort>Corps recruit</titleShort><!-- This is the short version of the title. If you have a long title, then add a short version here, otherwise you can have it the same as the title. Capitalisation rules apply here as well.-->
    <baseDescription>NAME was the smartest of the 104th Trainees Squad and outperformed everyone in the theoretical aspects of training. However, HE performed slightly below average for physical tests. HECAP joins the Survey Corps with Mikasa and Eren after graduating and further develops skills to support his team such as tactics, cooking, repairing and even doctoring.</baseDescription>
    <bodytypeMale>Thin</bodytypeMale><!-- This is the body type that male characters will have if they have this backstory. Keep in mind that this won't assign a body type if the backstory is a childhood backstory. It should still be assigned however, or you will get an error.-->
    <bodyTypeFemale>Thin</bodyTypeFemale><!-- This is the body type that female characters will have.-->
    <slot>Adulthood</slot><!-- This is the slot the backstory can be use in. Adulthood or Childhood.-->
    <workDisables><!-- This sets which work types are disabled. Check the top of the file for an explanation of how this works. If you do not want to disable any work types, then remove this entry.-->
    <li>None</li>
</workDisables>
    <skillGains><!-- This sets the bonus or malus to the characters skills. Check the top of this file for an explanation of how this works. It you do not want to affect any skills, then remove this entry.-->
  <li>
        <defName>Research</defName>
        <amount>5</amount>
      </li>
  <li>
        <defName>Social</defName>
        <amount>2</amount>
      </li>
   <li>
        <defName>Medicine</defName>
        <amount>15</amount>
      </li>
  <li>
        <defName>Cooking</defName>
        <amount>10</amount>
      </li>
  <li>
        <defName>Crafting</defName>
        <amount>15</amount>
      </li>
    </skillGains>
    <spawnCategories><!-- This sets which people can be assigned this backstory when they spawn. Check the top of this file for an explanation on how it works. You must add at least one, otherwise you won't ever see your backstory in the game.-->
      <li>Civil</li>
    </spawnCategories>
  </BackstoryDef>