PDA

View Full Version : NPC Template



Iceman
March 16th, 2011, 08:32
Is there an NPC template in XML format that I can view?

If I can see the required format for a list of 3 or more NPCs then I believe I can write a program that will generate any number of NPCs and export them for use in FG. This would be for 3.5

Griogre
March 17th, 2011, 05:30
The id numbers must be unique. In monster library modules they are usually the monster's name sanitized for use as a XML element.


<id-00001>
<ac type="string">3 (-2 size, -5 Dex), touch 3, flat-footed 3</ac>
<advancement type="string">11-15 HD (Huge); 16-30 HD (Gargantuan)</advancement>
<alignment type="string">Always neutral</alignment>
<atk type="string">Slam +8 melee (2d6+4 plus 2d6 acid)</atk>
<babgrp type="string">+7/+18</babgrp>
<charisma type="number">1</charisma>
<constitution type="number">22</constitution>
<cr type="number">7</cr>
<dexterity type="number">1</dexterity>
<environment type="string">Underground</environment>
<feats type="string">-</feats>
<fortitudesave type="number">9</fortitudesave>
<fullatk type="string">Slam +8 melee (2d6+4 plus 2d6 acid)</fullatk>
<hd type="string">10d10+60</hd>
<hp type="number">115</hp>
<init type="number">-5</init>
<intelligence type="number">0</intelligence>
<leveladjustment type="string">-</leveladjustment>
<name type="string">Black Pudding</name>
<organization type="string">Solitary</organization>
<reflexsave type="number">-2</reflexsave>
<skills type="string">Climb +11</skills>
<spacereach type="string">15 ft./10 ft.</spacereach>
<specialattacks type="string">Acid, constrict 2d6+4 plus 2d6 acid, improved grab</specialattacks>
<specialqualities type="string">Blindsight 60 ft., split, ooze traits</specialqualities>
<speed type="string">20 ft. (4 squares), climb 20 ft.</speed>
<strength type="number">17</strength>
<text type="formattedtext">
<p>Oozes are amorphous creatures that live only to eat. They inhabit underground areas throughout the world, scouring caverns, ruins, and dungeons in search of organic matter - living or dead. </p>
<p>The typical black pudding measures 15 feet across and 2 feet thick. It weighs about 18,000 pounds. </p>
<p>Combat </p>
<p>Oozes attack any creatures they encounter. They lash out with pseudopods or simply engulf opponents with their bodies, which secrete acids that help them catch or digest their prey. </p>
<p><b>Blindsight (Ex): </b>An ooze's entire body is a primitive sensory organ that can ascertain prey by scent and vibration within 60 feet. </p>
<p>A black pudding attacks by grabbing and squeezing their prey. </p>
<p><b>Acid (Ex): </b>The creature secretes a digestive acid that dissolves organic material and metal quickly, but does not affect stone. Any melee hit or constrict attack deals acid damage, and the opponent's armor and clothing dissolve and become useless immediately unless they succeed on DC 21 Reflex saves. A metal or wooden weapon that strikes a black pudding also dissolves immediately unless it succeeds on a DC 21 Reflex save. The save DCs are Constitution-based. </p>
<p>The pudding's acidic touch deals 21 points of damage per round to wooden or metal objects, but the ooze must remain in contact with the object for 1 full round to deal this damage. </p>
<p><b>Constrict (Ex): </b>A black pudding deals automatic slam and acid damage with a successful grapple check. The opponent's clothing and armor take a -4 penalty on Reflex saves against the acid. </p>
<p><b>Improved Grab (Ex): </b>To use this ability, a black pudding must hit with its slam attack. It can then attempt to start a grapple as a free action without provoking an attack of opportunity. If it wins the grapple check, it establishes a hold and can constrict. </p>
<p><b>Split (Ex): </b>Slashing and piercing weapons deal no damage to a black pudding. Instead the creature splits into two identical puddings, each with half of the original's current hit points (round down). A pudding with 10 hit points or less cannot be further split and dies if reduced to 0 hit points. </p>
<p><b>Skills: </b>A black pudding has a +8 racial bonus on Climb checks and can always choose to take 10 on a Climb check, even if rushed or threatened. </p>
</text>
<token type="token">tokens/host/Open Table/Rappan Athuk/RA 04/BlackPudding01S.png</token>
<treasure type="string">None</treasure>
<type type="string">Huge Ooze</type>
<willsave type="number">-2</willsave>
<wisdom type="number">1</wisdom>
</id-00001>
<id-00003>
<ac type="string">16 (-1 size, -1 Dex, +5 natural, +3 hide armor), touch 8, flat-footed 16</ac>
<advancement type="string">By character class</advancement>
<alignment type="string">Usually chaotic evil</alignment>
<atk type="string">Greatclub +8 melee (2d8+7) or Longspear +8</atk>
<babgrp type="string">+3/+12</babgrp>
<charisma type="number">7</charisma>
<constitution type="number">15</constitution>
<cr type="number">3</cr>
<dexterity type="number">8</dexterity>
<environment type="string">Temperate hills (Merrow: Temperate aquatic)</environment>
<feats type="string">Toughness, Weapon Focus (greatclub)</feats>
<fortitudesave type="number">6</fortitudesave>
<fullatk type="string">Greatclub +8 melee (2d8+7) or javelin +1 ranged (1d8+5)</fullatk>
<hd type="string">4d8+11</hd>
<hp type="number">29</hp>
<init type="number">-1</init>
<intelligence type="number">6</intelligence>
<leveladjustment type="string">+2</leveladjustment>
<name type="string">Ogre</name>
<organization type="string">Solitary, pair, gang (3-4), or band (5-8)</organization>
<reflexsave type="number">0</reflexsave>
<skills type="string">Climb +5, Listen +2, Spot +2</skills>
<spacereach type="string">10 ft./10 ft.</spacereach>
<specialattacks type="string">-</specialattacks>
<specialqualities type="string">Darkvision 60 ft., low-light vision</specialqualities>
<speed type="string">30 ft. in hide armor (6 squares); base speed 40 ft.</speed>
<strength type="number">21</strength>
<text type="formattedtext">
<p>Adult ogres stand 9 to 10 feet tall and weigh 600 to 650 pounds. Their skin color ranges from dull yellow to dull brown. Their clothing consists of poorly cured furs and hides, which add to their naturally repellent odor. </p>
<p>Ogres speak Giant, and those specimens who boast Intelligence scores of at least 10 also speak Common. </p>
<p>COMBAT </p>
<p>Ogres favor overwhelming odds, sneak attacks, and ambushes over a fair fight. They are intelligent enough to fire ranged weapons first to soften up their foes before closing, but ogre gangs and bands fight as unorganized individuals. </p>
<p><b>MERROW </b></p>
<p>These cousins of the ogre have the aquatic subtype. </p>
<p>They dwell in freshwater lakes and rivers. They have a base land speed of 30 feet and a swim speed of 40 feet and are found only in aquatic environments. </p>
<p>Instead of the typical ogre's greatclub, they prefer to use longspears in melee (attack +8 melee, damage 1d8+7). </p>
<p><b>OGRES AS CHARACTERS </b></p>
<p>Ogre characters possess the following racial traits. </p>
<list>
<li>+10 Strength, -2 Dexterity, +4 Constitution, -4 Intelligence, -4 Charisma. </li>
<li>Large size. -1 penalty to Armor Class, -1 penalty on attack rolls, -4 penalty on Hide checks, +4 bonus on grapple checks, lifting and carrying limits double those of Medium characters. </li>
<li>Space/Reach: 10 feet/10 feet. </li>
<li>An ogre's base land speed is 40 feet. </li>
<li>Darkvision out to 60 feet. </li>
<li>Racial Hit Dice: An ogre begins with four levels of giant, which provide 4d8 Hit Dice, a base attack bonus of +3, and base saving throw bonuses of Fort +4, Ref +1, and Will +1. </li>
<li>Racial Skills: An ogre's giant levels give it skill points equal to 7 x (2 + Int modifier, minimum 1). Its class skills are Climb, Listen, and Spot. </li>
<li>Racial Feats: An ogre's giant levels give it two feats. </li>
<li>Weapon and Armor Proficiency: An ogre is automatically proficient with simple weapons, martial weapons, light and medium armor, and shields. </li>
<li>+5 natural armor bonus. </li>
<li>Automatic Languages: Common, Giant. Bonus Languages: Dwarven, Orc, Goblin, Terran. </li>
<li>Favored Class: Barbarian. </li>
<li>Level adjustment +2. </li>
</list>
</text>
<token type="token">tokens/host/Open Table/Rappan Athuk/RA 04/Ogre01S.png</token>
<treasure type="string">Standard</treasure>
<type type="string">Large Giant</type>
<willsave type="number">1</willsave>
<wisdom type="number">10</wisdom>
</id-00003>

Griogre
March 17th, 2011, 05:33
One more. Note the token element is a file path and likely should be empty or replaced with the location where you are going to keep your tokens.


<id-00004>
<ac type="string">15 (+3 Dex, +2 deflection), touch 15, flat-footed 13</ac>
<advancement type="string">8-14 HD (Medium)</advancement>
<alignment type="string">Always lawful evil</alignment>
<atk type="string">Incorporeal touch +6 melee (1d8 plus energy drain)</atk>
<babgrp type="string">+3/ -</babgrp>
<charisma type="number">15</charisma>
<constitution type="number">0</constitution>
<cr type="number">7</cr>
<dexterity type="number">16</dexterity>
<environment type="string">Any land and underground</environment>
<feats type="string">Alertness, Blind-Fight, Improved Initiative</feats>
<fortitudesave type="number">2</fortitudesave>
<fullatk type="string">Incorporeal touch +6 melee (1d8 plus energy drain)</fullatk>
<hd type="string">7d12</hd>
<hp type="number">56</hp>
<init type="number">7</init>
<intelligence type="number">14</intelligence>
<leveladjustment type="string">-</leveladjustment>
<name type="string">Spectre</name>
<organization type="string">Solitary, gang (2-4), or swarm (6-11)</organization>
<reflexsave type="number">5</reflexsave>
<skills type="string">Hide +13, Intimidate +12, Knowledge (religion) +12, Listen +14, Search +12, Spot +14, Survival +2 (+4 followingtracks)</skills>
<spacereach type="string">5 ft./5 ft.</spacereach>
<specialattacks type="string">Energy drain, create spawn</specialattacks>
<specialqualities type="string">Darkvision 60 ft., incorporeal traits, +2 turn resistance, sunlight powerlessness, undead traits, unnatural aura</specialqualities>
<speed type="string">40 ft. (8 squares), fly 80 ft. (perfect)</speed>
<strength type="number">0</strength>
<text type="formattedtext">
<p>A spectre looks much as it did in life and can be easily recognized by those who knew the individual or have seen the individual's face in a painting or a drawing. In many cases, the evidence of a violent death is visible on its body. A spectre is roughly human-sized and is weightless. </p>
<p>COMBAT </p>
<p>In close combat a spectre attacks with its numbing, life-draining touch. It makes full use of its incorporeal nature, moving through walls, ceilings, and floors as it attacks. </p>
<p><b>Energy Drain (Su): </b>Living creatures hit by a spectre's incorporeal touch attack gain two negative levels. The DC is 15 for the Fortitude save to remove a negative level. The save DC is Charisma-based. For each such negative level bestowed, the spectre gains 5 temporary hit points. </p>
<p><b>Create Spawn (Su): </b>Any humanoid slain by a spectre becomes a spectre in 1d4 rounds. Spawn are under the command of the spectre that created them and remain enslaved until its death. They do not possess any of the abilities they had in life. </p>
<p><b>Unnatural Aura (Su): </b>Animals, whether wild or domesticated, can sense the unnatural presence of a spectre at a distance of 30 feet. They do not willingly approach nearer than that and panic if forced to do so; they remain panicked as long as they are within that range. </p>
<p><b>Sunlight Powerlessness (Ex): </b>Spectres are powerless in natural sunlight (not merely a <i>daylight </i>spell) and flee from it. A spectre caught in sunlight cannot attack and can take only a single move or attack action in a round. </p>
</text>
<token type="token">tokens/host/Open Table/Rappan Athuk/RA 04/Spectre02S.png</token>
<treasure type="string">None</treasure>
<type type="string">Medium Undead (Incorporeal)</type>
<willsave type="number">7</willsave>
<wisdom type="number">14</wisdom>
</id-00004>


Finally, if/when you get FG - the 3.5 monster library is full of this data for all monsters available under the OGL.