Alterações

Saltar para a navegação Saltar para a pesquisa
108 bytes adicionados ,  12h51min de 4 de agosto de 2020
Linha 6: Linha 6:  
'''Before reading this page''', see [[Modding:Editing XNB files]] for the basic concepts.
 
'''Before reading this page''', see [[Modding:Editing XNB files]] for the basic concepts.
   −
==Files to edit==
+
==Arquivos para editar==
To create a new NPC, you need to edit a number of different files. However, you don't need any programming experience and it can be done with {{nexus mod|1915|Content Patcher}} (with some caveats).
+
Para criar um novo NPC,você precisara editar um número diferente de Saves. Enfim, Você não precisara de experiencia de programação e isso pode ser feito com {{nexus mod|1915|Content Patcher}} (com algumas ajudas.)
   −
===Basic info===
+
===Informação Basíca===
The <tt>Data\NPCDispositions</tt> asset contains basic information for your character, including their name, birthday, relations to other characters, personality, and whether they can be dated.
+
O <tt>Arquivo\NPCDispositions</tt> ativo contem informação basíca para seu personagem, incluindo seu nome, aniversário, relações com outros personagens, personalidade, e eles também podem ser datados.
 
+
O arquivo possui uma linha como a seguir:
The file has one row per NPC like this:
   
<source lang="yaml">
 
<source lang="yaml">
 
   Abigail: "teen/rude/outgoing/neutral/female/datable/Sebastian/Town/fall 13/Caroline 'mom' Pierre 'dad'/SeedShop 1 9/Abigail"
 
   Abigail: "teen/rude/outgoing/neutral/female/datable/Sebastian/Town/fall 13/Caroline 'mom' Pierre 'dad'/SeedShop 1 9/Abigail"
 
</source>
 
</source>
   −
The key (before the colon) is the internal name which uniquely identifies that NPC. This name isn't shown to the player, but will be used when referencing the NPC in other files. The value contains the following fields:
+
A chave (antes dos dois pontos) é o nome interno que identifica especificamente aquele NPC. esse nome não é mostrado a jogador, mas pode ser usado para referenciar aquele NPC em outros Saves. O valor contem no campo a seguir:
    
{| class="wikitable"
 
{| class="wikitable"
Linha 27: Linha 26:  
|-
 
|-
 
| 0
 
| 0
| age
+
| Idade
 
| <tt>teen</tt>
 
| <tt>teen</tt>
| Whether the NPC is a <tt>child</tt>, <tt>teen</tt>, or <tt>adult</tt>. <span color="red">TODO</span>: what does this affect?
+
| quando o NPC é uma <tt>child</tt>, <tt>teen</tt>, or <tt>adult</tt>. <span color="red">TODO</span>: what does this affect?
 
|-
 
|-
 
| 1
 
| 1
Linha 115: Linha 114:  
===Festivals===
 
===Festivals===
 
Festivals are tricky things. Everyone in the vanilla game is added to the festival map by placing tiles on the Set-Up and MainEvent map layers from a character tilesheet that draws from NPCDispositions to get exactly who to place. This is not ideal for custom NPCs, since you have no way of knowing where on the NPCDispositions data list your NPC goes when a player is using multiple custom NPCs. For this reason, it is recommended to use {{nexus mod|1820|TMXLoader}}, as it has a festival addition function to add your character to the Festival Maps, since it will draw upon your character's internal name instead of their position on the list. It's fairly easy to do, and there's an explanation on the {{nexus mod|1820|TMXLoader}} Nexus Description.
 
Festivals are tricky things. Everyone in the vanilla game is added to the festival map by placing tiles on the Set-Up and MainEvent map layers from a character tilesheet that draws from NPCDispositions to get exactly who to place. This is not ideal for custom NPCs, since you have no way of knowing where on the NPCDispositions data list your NPC goes when a player is using multiple custom NPCs. For this reason, it is recommended to use {{nexus mod|1820|TMXLoader}}, as it has a festival addition function to add your character to the Festival Maps, since it will draw upon your character's internal name instead of their position on the list. It's fairly easy to do, and there's an explanation on the {{nexus mod|1820|TMXLoader}} Nexus Description.
 +
 +
O arquivo esta sendo traduzido por Zoz0207
    
==Adding your NPC==
 
==Adding your NPC==
26

edições

Menu de navegação