Modding:Encounters and Population: Difference between revisions

→‎Extending Encounter Tables: Adding Syntax highlighting
imported>CaptainTechnicality54384
(Created page with "Category:Modding There are two primary population systems in Caves of Qud, the legacy EncounterTables.xml system, and the ZoneTemplates.xml+PopulationTables.xml system. En...")
 
imported>CaptainTechnicality54384
(→‎Extending Encounter Tables: Adding Syntax highlighting)
Line 12: Line 12:


'''Adding "My New Ammo" to the "Ammo 1" built-in encounter table'''
'''Adding "My New Ammo" to the "Ammo 1" built-in encounter table'''
<encountertables>
<syntaxhighlight lang="xml">
  <encountertable Name="Ammo 1" Load="Merge">
<encountertables>
    <objects>
  <encountertable Name="Ammo 1" Load="Merge">
      <object Chance="100" Number="3d6" Blueprint="My New Ammo"></object>
    <objects>
    </objects>
      <object Chance="100" Number="3d6" Blueprint="My New Ammo"></object>
  </encountertable>
    </objects>
</encountertables>
  </encountertable>
</encountertables>
</syntaxhighlight>
 
== Additional Info ==
== Additional Info ==
Here's a thread on Steam where I discuss using encounter and population tables: http://steamcommunity.com/app/333640/discussions/3/358415738194955181/
Here's a thread on Steam where I discuss using encounter and population tables: http://steamcommunity.com/app/333640/discussions/3/358415738194955181/