Quantcast User:MidnightLightning/PCGen Outputsheet - d20 NPC Wiki
Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

User:MidnightLightning/PCGen Outputsheet

From d20 NPC Wiki

Jump to: navigation, search

Copy the following and save to a text file called "csheet_d20npcs_wikia.TXT", and place in your PCGen folder, under outputsheets\d20\fantasy\text. Then when you go to File > Export > ...to text, you will see it appear. It will generate a text file that contains your character ready to be cut and pasted into this Wiki, and makes full use of the DMG2 Statblock and DieRoll templates.

If someone more skilled with PCGen coding would like to chip in here, the areas of "posessions", "spellbook", and "melee/ranged attacks" could do with some cleaning up.

{{StatDMG2
  |PIPE|name=|NAME|  |PIPE|CR=|CR|
  |PIPE|sex=|GENDER|    |PIPE|race=|RACE|  |PIPE|class=|FOR.0,COUNT[CLASSES],99,\CLASS.%\ \CLASS.%.LEVEL\ , , ,0|
  |PIPE|align=|ALIGNMENT.SHORT|
  |PIPE|size=|SIZELONG|     |PIPE|type=|TYPE|  |PIPE|subtype=
  |PIPE|init=|INITIATIVEMOD|
  |PIPE|listen=|SKILL.Listen.TOTAL.SIGN| |PIPE|spot=|SKILL.Spot.TOTAL.SIGN| |PIPE|othersenses=|VISION|
  |PIPE|aura=
  |PIPE|languages=|LANGUAGES|
  |PIPE|AC=|BONUS.COMBAT.AC.TOTAL| |PIPE|touch=|AC.Touch| |PIPE|flatfoot=|AC.Flatfooted|
  |PIPE|ACdetail=|BONUS.COMBAT.AC.LISTING|

  |PIPE|hp=|HP|    |PIPE|HD=|HITDICE|
  |PIPE|DR=|DR|
  |PIPE|immune=   |PIPE|resist= |PIPE|SR=|SR|
  |PIPE|fort=|CHECK.FORTITUDE.TOTAL.SIGN| |PIPE|ref=|CHECK.REFLEX.TOTAL.SIGN| |PIPE|will=|CHECK.WILLPOWER.TOTAL.SIGN|
  |PIPE|weakness=

  |PIPE|spd=|MOVEMENT|
  |PIPE|melee=
|FOR,%weap,0,COUNT[EQTYPE.WEAPON]-1,1,0|
''|WEAPON.%weap.NAME.NOSTAR|'' |WEAPON.%weap.TOTALHIT| (|WEAPON.%weap.DAMAGE|, |WEAPON.%weap.CRIT|/×|WEAPON.%weap.MULT|)
|IIF(WEAPON.%weap.CATEGORY:Ranged)|
range: |WEAPON.%weap.RANGE|
|ENDIF|
|IIF(WEAPON.%weap.SPROP: )|
special properties: |WEAPON.&weap.SPROP|
|ENDIF|

|ENDFOR|
  |PIPE|ranged=??
  |PIPE|BAB=|ATTACK.MELEE|  |PIPE|grp=|ATTACK.GRAPPLE|
  |PIPE|space=|FACE.SHORT|  |PIPE|reach=|REACH| ft.
  |PIPE|atkopt=
  |PIPE|gear=
|FOR,%weap,0,COUNT[EQTYPE.WEAPON]-1,1,0|
|WEAPON.%weap.NAME.NOSTAR|:
|IIF(WEAPON.%weap.SPROP: )|
special properties: |WEAPON.%weap.SPROP|
|ENDIF|

|ENDFOR|
  |PIPE|sa=
  
  |PIPE|spellcl=
  |PIPE|spellsperday=
  |PIPE|cantripsprep=
  |PIPE|1stprep=
  |PIPE|2ndprep=
  |PIPE|3rdprep=
  |PIPE|4thprep=
  |PIPE|5thprep=
  |PIPE|6thprep=
  |PIPE|7thprep=
  |PIPE|8thprep=
  |PIPE|9thprep=
  |PIPE|epicknown=
  
  |PIPE|SLAcl=
  |PIPE|SLA=
  
  |PIPE|str=|STAT.0|  |PIPE|dex=|STAT.1|  |PIPE|con=|STAT.2|
  |PIPE|int=|STAT.3|  |PIPE|wis=|STAT.4|  |PIPE|cha=|STAT.5|
  |PIPE|sq=|SPECIALLIST|
  |PIPE|feats=|FEATALLLIST|
  |PIPE|skills=
|FOR,%skill,0,COUNT[SKILLS],1,1|
{{DieRoll|PIPE|title=|SKILL.%skill| skill check|PIPE|dice=1d20|SKILL.%skill.TOTAL.SIGN||PIPE|text=|SKILL.%skill||SKILL.%skill.TOTAL.SIGN|}}, 
|ENDFOR|
  |PIPE|possessions=
|FOR,%equip,0,15,1,1|
|IIF(EQ.NOT.Contained.NOT.CONTAINER.%equip.NAME: )|
|EQ.NOT.Contained.NOT.CONTAINER.%equip.LONGNAME| (|EQ.NOT.Contained.NOT.CONTAINER.%equip.QTY.INTVAL|, |EQ.NOT.Contained.NOT.CONTAINER.%equip.TOTALWT.INTVAL|lbs, |EQ.NOT.Contained.NOT.CONTAINER.%equip.COST|gp)
|ENDIF|

|ENDFOR|
  |PIPE|spellbook=

  |PIPE|variants=
|FOR,%sa,0,COUNT[SA]-1,1,1|
'''|SPECIALABILITY.%sa|:''' |SPECIALABILITY.%sa.DESCRIPTION|

|ENDFOR|
}}