Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
Thanks for the feedback ZeProfessional, this (albeit minor) success makes me want to learn more haha.
Your recent fix seems to be working so far with no problems. Will update if any arise cause I have no clue what I'm doing otherwise. Thanks!
First off, thank you for giving enough info that I'm pretty sure I was able to figure this out!
I'm just learning how to tinker with XML files / just getting into modding, and want to learn properly.
Would one of you cats (or anyone else with experience / skill in this area) mind telling me if this edit looks right in order to get this working with B18?
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<TerrainDef>
<defName>SoilRich</defName>
<label>rich soil</label>
<texturePath>SoilDark</texturePath>
<edgeType>FadeRough</edgeType>
<renderPrecedence>335</renderPrecedence>
<pathCost>2</pathCost>
<statBases>
<Beauty>-1</Beauty>
<Cleanliness>-1</Cleanliness>
</statBases>
<affordances>
<li>Light</li>
<li>Heavy</li>
<li>GrowSoil</li>
<li>Diggable</li>
</affordances>
<terrainFilthDef>FilthDirt</terrainFilthDef>
<fertility>1.4</fertility>
<takeFootprints>True</takeFootprints>
</TerrainDef>
</Defs>
Assuming I've figured this out properly, the directory you're looking for to edit the XML file (at least on my current setup) is roughly as follows -
C:>Program Files> Steam>steamapps>workshop>content>294100>783475829>Defs>TerrainDefs
Then right click on the XML file and tell it to "Open With" Notepad, so you can edit things!
EdgeType
RenderPrecedence
PathCost
TerrainFilthDef
Fertility
TakeFootprints
all have the FIRST character changed to lower case. Remeber to get BOTH instances of the above items (on either side of the data)
<EdgeType>FadeRough</EdgeType>
becomes
<edgeType>FadeRough</edgeType>