This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Alterações

Ir para: navegação, pesquisa

Modificações:Dados do NPC

108 bytes adicionados, 12h51min de 4 de agosto de 2020
Files to edit
'''Before reading this page''', see [[Modding:Editing XNB files]] for the basic concepts.
==Files to editArquivos para editar==To create a new Para criar um novo NPC, you need to edit a number of different filesvocê precisara editar um número diferente de Saves. HoweverEnfim, you don't need any programming experience and it can be done with Você não precisara de experiencia de programação e isso pode ser feito com {{nexus mod|1915|Content Patcher}} (with some caveats)com algumas ajudas.)
===Basic infoInformação Basíca===The O <tt>DataArquivo\NPCDispositions</tt> asset contains basic information for your characterativo contem informação basíca para seu personagem, including their nameincluindo seu nome, birthdayaniversário, relations to other charactersrelações com outros personagens, personalitypersonalidade, and whether they can be datede eles também podem ser datadosThe file has one row per NPC like thisO arquivo possui uma linha como a seguir:
<source lang="yaml">
Abigail: "teen/rude/outgoing/neutral/female/datable/Sebastian/Town/fall 13/Caroline 'mom' Pierre 'dad'/SeedShop 1 9/Abigail"
</source>
The key A chave (before the colonantes dos dois pontos) is the internal name which uniquely identifies that é o nome interno que identifica especificamente aquele NPC. This name isn't shown to the playeresse nome não é mostrado a jogador, but will be used when referencing the mas pode ser usado para referenciar aquele NPC in other filesem outros Saves. The value contains the following fieldsO valor contem no campo a seguir:
{| class="wikitable"
|-
| 0
| ageIdade
| <tt>teen</tt>
| Whether the quando o NPC is a é uma <tt>child</tt>, <tt>teen</tt>, or <tt>adult</tt>. <span color="red">TODO</span>: what does this affect?
|-
| 1
===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.
 
O arquivo esta sendo traduzido por Zoz0207
==Adding your NPC==
26
edições

Menu de navegação