Comment éditer le cout d'un bâtiment ? (Par Guarder)

Allez d’abord dans GameMechanics/TownBuildingSharedStats/*Faction*/*Bâtiment que vous voulez modifier*. puis vou verrez ceci en ouvrant le fichier :

<?xml version="1.0" encoding="UTF-8"?>
<TownBuildingSharedStats ObjectRecordID="1000051">
  <NameFileRef href="/Text/Game/TownBuildings/Necromancy/Dwelling_7/Name.txt"/>
  <DescriptionFileRef href="/Text/Game/TownBuildings/Necromancy/Dwelling_7/Description.txt"/>
  <Type>TB_DWELLING_7</Type>
  <Upgrade>BLD_UPG_1</Upgrade>
  <Cost>
    <Wood>15</Wood>
    <Ore>10</Ore>
    <Mercury>10</Mercury>
    <Crystal>0</Crystal>
    <Sulfur>0</Sulfur>
    <Gem>0</Gem>
    <Gold>8000</Gold>
  </Cost>
  <ModObjectName>DragonGraveyrd</ModObjectName>
  <dependencies>
    <Item href="/GameMechanics/TownBuildingSharedStats/Necromancy/Fort/Castle.xdb#xpointer(/TownBuildingSharedStats)"/>
  </dependencies>
  <Creature>CREATURE_BONE_DRAGON</Creature>
  <DevLevelNeeded>15</DevLevelNeeded>
  <UIObjectName>Dwelling_7</UIObjectName>
  <UIStackPosition>0</UIStackPosition>
  <Icon href="/UI/TownHall/necropolis/128/d7.xdb#xpointer(/Texture)"/>
</TownBuildingSharedStats>

Copiez le fichier dans un dossier, puis désactivez la lecture seule. Vous voyez les ciffres écrits en rouge ci-dessus ? Changez-les pour hanger le coût du bâtiment. Par exemple : <mercury>10</mercury> en <mercury>1000</mercury> (le bâtiment coûtera 1000 mercure au lieu de 10)

fr/modding_tutorials/edit_town_buildings.txt · Last modified: 2007/12/07 18:07 by the_shadow_of_death
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0