GCSExport

From Game Logs
Revision as of 01:33, 21 May 2023 by Victor Bearwolf (talk | contribs) (New template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Обновлённый шаблон для экспорта чарлистов из GCS. Порядок работы:

  1. Сохранить текст ниже как тектовый файл (например ur-log.txt) в шаблонах в пользовательской библиотеке GCS (по умолчанию: C:\Users\%YOURUSERNAME%\GCS\User Library\Output Templates )
  2. Экспортировать чарлист из GCS в форматированный текстовый файл (например newcharacter1.txt): File > Export to... > %FILENAME%
  3. Открыть файл с экспортированными данными (newcharacter1.txt из примера выше) и скопировать его содержимое на страницу персонажа в вики (при обновлении заменить прошлое содержимое)
  4. При наличии залить портрет персонажа, перейдя по ссылке 200px в разделе Portrait полученного чарлиста
[[Category:Characters]]
{{FloatTOC|Character|Attributes|Reaction Modifiers|Advantages and Skills|Spells|Melee Weapons|Ranged Weapons|Carried Equipment|Stored Equipment|Notes}}
<table class="gurps-wrapper">
  <tr id="Character">
    <td style="width:1%;">
      <table class="info">
        <tr>
          <th colspan="2">@TOTAL_POINTS Points</th>
        </tr><tr>
          <td class="value">@RACE_POINTS</td>
          <td class="left">Race</td>
        </tr><tr>
          <td class="value">@ATTRIBUTE_POINTS</td>
          <td class="left">Attributes</td>
        </tr><tr>
          <td class="value">@ADVANTAGE_POINTS</td>
          <td class="left">Advantages</td>
        </tr><tr>
          <td class="value">@DISADVANTAGE_POINTS</td>
          <td class="left">Disadvantages</td>
        </tr><tr>
          <td class="value">@QUIRK_POINTS</td>
          <td class="left">Quirks</td>
        </tr><tr>
          <td class="value">@SKILL_POINTS</td>
          <td class="left">Skills</td>
        </tr><tr>
          <td class="value">@SPELL_POINTS</td>
          <td class="left">Spells</td>
        </tr><tr class="new-section">
          <td class="value">@UNSPENT_POINTS</td>
          <td class="left">Unspent</td>
        </tr>
      </table>
    </td><td style="width:49%;">
      <table class="info">
        <tr>
          <th colspan="2">Identity</th>
        </tr><tr>
          <td style="width:1%;">Name</td>
          <td class="value left">@NAME</td>
        </tr><tr>
          <td>Title:</td>
          <td class="value left">@TITLE</td>
        </tr><tr>
          <td>Organization:</td>
          <td class="value left">@ORGANIZATION</td>
        </tr><tr>
          <td>Religion:</td>
          <td class="value left">@RELIGION</td>
        </tr><tr>
          <td>Race:</td>
          <td class="value left">@RACE</td>
        </tr><tr>
          <td>Gender:</td>
          <td class="value left">@GENDER</td>
        </tr><tr>
          <td>Size:</td>
          <td class="value left">@SIZE</td>
        </tr><tr>
          <td>TL:</td>
          <td class="value left">@TL</td>
        </tr>
      </table>
    </td><td style="width:49%;">
      <table class="info">
        <tr>
          <th colspan="2">Description</th>
        </tr><tr>
          <td style="width:1%;">Age:</td>
          <td class="value left">@AGE</td>
        </tr><tr>
          <td>Birthday:</td>
          <td class="value left">@BIRTHDAY</td>
        </tr><tr>
          <td>Height:</td>
          <td class="value left">@HEIGHT</td>
        </tr><tr>
          <td>Weight:</td>
          <td class="value left">@WEIGHT</td>
        </tr><tr>
          <td>Skin:</td>
          <td class="value left">@SKIN</td>
        </tr><tr>
          <td>Hair:</td>
          <td class="value left">@HAIR</td>
        </tr><tr>
          <td>Eyes:</td>
          <td class="value left">@EYES</td>
        </tr><tr>
          <td>Hand:</td>
          <td class="value left">@HAND</td>
        </tr>
      </table>
    </td><td style="width:1%;">
      <table class="info">
        <tr>
          <th>Portrait</th>
        </tr><tr>
          <td class="portrait_cell portrait">[[file:@NAME.png|center|200px]]</td>
        </tr>
      </table>
    </td>
  </tr><tr id="Attributes">
    <td rowspan="2">
      <table class="info">
        <tr>
          <th colspan="3">Attributes</th>
        </tr><tr>
          <td>Strength (ST):</td>
          <td class="value">@ST</td>
          <td>[@ST_POINTS]</td>
        </tr><tr>
          <td>Dexterity (DX):</td>
          <td class="value">@DX</td>
          <td>[@DX_POINTS]</td>
        </tr><tr>
          <td>Intelligence (IQ):</td>
          <td class="value">@IQ</td>
          <td>[@IQ_POINTS]</td>
        </tr><tr>
          <td>Health (HT):</td>
          <td class="value">@HT</td>
          <td>[@HT_POINTS]</td>
        </tr><tr class="new-section">
          <td>Will:</td>
          <td class="value">@WILL</td>
          <td>[@WILL_POINTS]</td>
        </tr><tr>
          <td>Fright Check:</td>
          <td class="value">@FRIGHT_CHECK</td>
          <td></td>
        </tr><tr class="new-section">
          <td>Perception:</td>
          <td class="value">@PERCEPTION</td>
          <td>[@PERCEPTION_POINTS]</td>
        </tr><tr>
          <td>Vision:</td>
          <td class="value">@VISION</td>
          <td></td>
        </tr><tr>
          <td>Hearing:</td>
          <td class="value">@HEARING</td>
          <td></td>
        </tr><tr>
          <td>Taste & Smell:</td>
          <td class="value">@TASTE_SMELL</td>
          <td></td>
        </tr><tr>
          <td>Touch:</td>
          <td class="value">@TOUCH</td>
          <td></td>
        </tr><tr class="new-section">
          <td>Basic Speed:</td>
          <td class="value">@BASIC_SPEED</td>
          <td>[@BASIC_SPEED_POINTS]</td>
        </tr><tr>
          <td>Basic Move:</td>
          <td class="value">@BASIC_MOVE</td>
          <td>[@BASIC_MOVE_POINTS]</td>
        </tr><tr class="new-section">
          <td colspan="3" class="center">thr: <span class="value">@THRUST</span>, sw: <span class="value">@SWING</span>
        </tr>
      </table>
    </td><td rowspan="2">
      <table class="info">
        <tr>
          <th colspan="3">Fatigue/Hit Points</th>
        </tr><tr>
          <td style="width:1%;">Current FP:</td>
          <td class="value" style="width:1%;">@FP</td>
          <td></td>
        </tr><tr>
          <td>Basic FP:</td>
          <td class="value">@BASIC_FP</td>
          <td>[@FP_POINTS]</td>
        </tr><tr class="new-section">
          <td>Tired:</td>
          <td class="value">@TIRED</td>
          <td></td>
        </tr><tr>
          <td>Collapse:</td>
          <td class="value">@FP_COLLAPSE</td>
          <td></td>
        </tr><tr>
          <td>Unconscious:</td>
          <td class="value">@UNCONSCIOUS</td>
          <td></td>
        </tr><tr class="new-section">
          <td>Current HP:</td>
          <td class="value">@HP</td>
          <td></td>
        </tr><tr>
          <td>Basic HP:</td>
          <td class="value">@BASIC_HP</td>
          <td>[@HP_POINTS]</td>
        </tr><tr class="new-section">
          <td>Reeling:</td>
          <td class="value">@REELING</td>
          <td></td>
        </tr><tr>
          <td>Collapse:</td>
          <td class="value">@HP_COLLAPSE</td>
          <td></td>
        </tr><tr>
          <td>Check #1:</td>
          <td class="value">@DEATH_CHECK_1</td>
          <td></td>
        </tr><tr>
          <td>Check #2:</td>
          <td class="value">@DEATH_CHECK_2</td>
          <td></td>
        </tr><tr>
          <td>Check #3:</td>
          <td class="value">@DEATH_CHECK_3</td>
          <td></td>
        </tr><tr>
          <td>Check #4:</td>
          <td class="value">@DEATH_CHECK_4</td>
          <td></td>
        </tr><tr>
          <td>Dead:</td>
          <td class="value">@DEAD</td>
          <td></td>
        </tr>
      </table>
    </td><td>
      <table class="cols zebra">
        <tr>
          <th>Encumbrance Level</th>
          <th>Max Load</th>
          <th>Move</th>
          <th>Dodge</th>
        </tr>
        @ENCUMBRANCE_LOOP_START
        <tr class="en@CURRENT_MARKER">
          <td class="left">@LEVEL</td>
          <td>@MAX_LOAD</td>
          <td>@MOVE</td>
          <td>@DODGE</td>
        </tr>
        @ENCUMBRANCE_LOOP_END
      </table>
    </td><td rowspan="2">
      <table class="cols zebra">
        <tr>
          <th>Roll</th>
          <th>Hit Location</th>
          <th>Penalty</th>
          <th>DR</th>
        </tr>
        @HIT_LOCATION_LOOP_START
        <tr>
          <td>@ROLL</td>
          <td class="left">@WHERE</td>
          <td>@PENALTY</td>
          <td class="value">{{Tooltip|Text=@DR|Popup=@EQUIPMENT|Style=transform:translateX(-100%);}}</td>
        </tr>
        @HIT_LOCATION_LOOP_END
        <tr class="new-section">
          <td colspan="4" class="center">@BODY_TYPE</td>
        </tr>
      </table>
    </td>
  </tr><tr>
    <td>
      <table class="info">
        <tr>
          <th colspan="2">Lifting & Moving Things</th>
        </tr><tr>
          <td class="value">@BASIC_LIFT</td>
          <td class="left">Basic Lift</td>
        </tr><tr>
          <td class="value">@ONE_HANDED_LIFT</td>
          <td class="left">One-Handed Lift</td>
        </tr><tr>
          <td class="value">@TWO_HANDED_LIFT</td>
          <td class="left">Two-Handed Lift</td>
        </tr><tr>
          <td class="value">@SHOVE</td>
          <td class="left">Shove & Knock Over</td>
        </tr><tr>
          <td class="value">@RUNNING_SHOVE</td>
          <td class="left">Running Shove & Knock Over</td>
        </tr><tr>
          <td class="value">@CARRY_ON_BACK</td>
          <td class="left">Carry On Back</td>
        </tr><tr>
          <td class="value">@SHIFT_SLIGHTLY</td>
          <td class="left">Shift Slightly</td>
        </tr>
      </table>
    </td>
  </tr><tr id="Reaction Modifiers">
    <td colspan="4">
      <table class="list zebra">
        <tr>
          <th style="width:1%;">Modifier</th>
          <th>Reactions</th>
        </tr>
        @REACTION_LOOP_START
        <tr>
          <td>@MODIFIER</td>
          <td class="left">@SITUATION</td>
        </tr>
        @REACTION_LOOP_END
      </table>
    </td>
  </tr><tr id="Advantages and Skills">
    <td colspan="2">
      <table class="sticky list zebra">
        <tr>
          <th>Advantages & Disadvantages</th>
          <th>Pts</th>
          <th>Ref</th>
        </tr>
        @ADVANTAGES_LOOP_START
        <tr>
          <td class="left"@STYLE_INDENT_WARNING>@DESCRIPTION</td>
          <td>@POINTS</td>
          <td>@REF</td>
        </tr>
        @ADVANTAGES_LOOP_END
      </table>
    </td>
    <td colspan="2">
      <table class="sticky list zebra">
        <tr>
          <th>Skills</th>
          <th>SL</th>
          <th>RSL</th>
          <th>Pts</th>
          <th>Ref</th>
        </tr>
        @SKILLS_LOOP_START
        <tr>
          <td class="left"@STYLE_INDENT_WARNING>@DESCRIPTION</td>
          <td>@SL</td>
          <td>@RSL</td>
          <td>@POINTS</td>
          <td>@REF</td>
        </tr>
        @SKILLS_LOOP_END
      </table>
    </td>
  </tr><tr id="Spells">
    <td colspan="4">
      <table class="sticky list zebra">
        <tr>
          <th>Spells</th>
          <th>Class</th>
          <th>Mana Cost</th>
          <th>Time</th>
          <th>SL</th>
          <th>RSL</th>
          <th>Pts</th>
          <th>Ref</th>
        </tr>
        @SPELLS_LOOP_START
        <tr>
          <td class="left"@STYLE_INDENT_WARNING>@DESCRIPTION</td>
          <td class="left">@CLASS<div>@COLLEGE</div></td>
          <td>@MANA_CAST<div>@MANA_MAINTAIN</div></td>
          <td>@TIME_CAST<div>@DURATION</div></td>
          <td>@SL</td>
          <td>@RSL</td>
          <td>@POINTS</td>
          <td>@REF</td>
        </tr>
        @SPELLS_LOOP_END
      </table>
    </td>
  </tr><tr id="Melee Weapons">
    <td colspan="4">
      <table class="sticky cols zebra">
        <tr>
          <th>Melee Weapons</th>
          <th>Lvl</th>
          <th>Parry</th>
          <th>Block</th>
          <th>Damage</th>
          <th>Reach</th>
          <th>ST</th>
        </tr>
        @HIERARCHICAL_MELEE_LOOP_START
        <tr class="new-section">
          <td class="value left">@DESCRIPTION</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        @ATTACK_MODES_LOOP_START
        <tr>
          <td class="value left" style="padding-left: 12px;">@USAGE</td>
          <td class="value left">@LEVEL</td>
          <td class="value left">@PARRY</td>
          <td class="value left">@BLOCK</td>
          <td class="value left">@DAMAGE</td>
          <td class="value left">@REACH</td>
          <td class="value left">@STRENGTH</td>
        </tr>
        @ATTACK_MODES_LOOP_END
        @HIERARCHICAL_MELEE_LOOP_END
      </table>
    </td>
  </tr><tr id="Ranged Weapons">
    <td colspan="4">
      <table class="sticky cols zebra">
        <tr>
          <th>Ranged Weapons</th>
          <th>Lvl</th>
          <th>Acc</th>
          <th>Damage</th>
          <th>Range</th>
          <th>RoF</th>
          <th>Shots</th>
          <th>Bulk</th>
          <th>Rcl</th>
          <th>ST</th>
        </tr>
        @HIERARCHICAL_RANGED_LOOP_START
        <tr class="new-section">
          <td class="value left">@DESCRIPTION</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        @ATTACK_MODES_LOOP_START
        <tr>
          <td class="value left" style="padding-left: 12px;">@USAGE</td>
          <td class="value left">@LEVEL</td>
          <td class="value left">@ACCURACY</td>
          <td class="value left">@DAMAGE</td>
          <td class="value left">@RANGE</td>
          <td class="value left">@ROF</td>
          <td class="value left">@SHOTS</td>
          <td class="value left">@BULK</td>
          <td class="value left">@RECOIL</td>
          <td class="value left">@STRENGTH</td>
        </tr>
        @ATTACK_MODES_LOOP_END
        @HIERARCHICAL_RANGED_LOOP_END
      </table>
    </td>
  </tr><tr id="Carried Equipment">
    <td colspan="4">
      <table class="sticky list zebra">
        <tr>
          <th>Carried Equipment (@CARRIED_WEIGHT; @CARRIED_VALUE)</th>
          <th>√</th>
          <th>#</th>
          <th>$</th>
          <th>W</th>
          <th>∑ $</th>
          <th>∑ W</th>
          <th>Ref</th>
        </tr>
        @EQUIPMENT_LOOP_START
        <tr>
          <td class="left"@STYLE_INDENT_WARNING>@DESCRIPTION</td>
          <td>@STATE</td>
          <td>@QTY</td>
          <td>@COST</td>
          <td>@WEIGHT</td>
          <td>@COST_SUMMARY</td>
          <td>@WEIGHT_SUMMARY</td>
          <td>@REF</td>
        </tr>
        @EQUIPMENT_LOOP_END
      </table>
    </td>
  </tr><tr id="Stored Equipment">
    <td colspan="4">
      <table class="sticky list zebra">
        <tr>
          <th>Stored Equipment (@OTHER_EQUIPMENT_VALUE)</th>
          <th>√</th>
          <th>#</th>
          <th>$</th>
          <th>W</th>
          <th>∑ $</th>
          <th>∑ W</th>
          <th>Ref</th>
        </tr>
        @OTHER_EQUIPMENT_LOOP_START
        <tr>
          <td class="left"@STYLE_INDENT_WARNING>@DESCRIPTION</td>
          <td>@STATE</td>
          <td>@QTY</td>
          <td>@COST</td>
          <td>@WEIGHT</td>
          <td>@COST_SUMMARY</td>
          <td>@WEIGHT_SUMMARY</td>
          <td>@REF</td>
        </tr>
        @OTHER_EQUIPMENT_LOOP_END
      </table>
    </td>
  </tr><tr id="Notes">
    <td colspan="4">
      <table class="list zebra">
        <tr>
          <th>Notes</th>
        </tr>
        @NOTES_LOOP_START
        <tr>
          <td class="left">@NOTE</td>
        </tr>
        @NOTES_LOOP_END
      </table>
    </td>
  </tr><tr>
    <td colspan="2" style="text-align:left;">Created @CREATED_ON</td>
    <td colspan="2">Modified @MODIFIED_ON</td>
  </tr>
</table>