PDA

View Full Version : WIP Savage Fallout, need help with tables



nezzir
May 29th, 2012, 16:59
Greets,

I'm currently working on a module for my group and for the community. It's a Fallout module for the Savage Worlds ruleset.

Everything was going well until I hit the equipment tables. I can't seem to get them to drag/drop onto the character sheets. The links do not even appear to the left of the entries. Another symptom is that the 'close window X' doesn't appear on the pages I spawn. I've picked through the Savage Worlds files until I'm half blind and I can't see what I'm doing wrong.

Could a Savage Worlds guru take a look at my file and tell me what I'm missing?
(file attached)

Thanks,
Nez

Doswelk
May 30th, 2012, 19:24
Problem is that to have drag an drop tables you cannot use the formatted text options.

for example if you look at the special weapons table in SWEX the entry to call the window looks like this:


<listlink type="windowreference">
<class>reference_categorisedlist</class>
<recordname>reference.lists.specialweapons@SWEX Player Guide</recordname>
</listlink>

The following code creates the table for the drag and drop entries:


<specialweapons>
<name type="string">Special Weapons</name>
<catname type="string">Special Weapons</catname>
<itemclass type="string">weapon</itemclass>
<source type="string">reference.weapons@SWEX Player Guide</source>
<width type="number">850</width>
<order type="string">Cannon,Rocket Launchers,Mines,Flamethrowers,Grenade</order>
<columns>
<col_001>
<name type="string">name</name>
<heading type="string">Weapon</heading>
<type type="string">tablestringfield</type>
<width type="number">140</width>
</col_001>
<col_002>
<name type="string">range</name>
<heading type="string">Range</heading>
<type type="string">tablestringfield</type>
<width type="number">90</width>
<center />
</col_002>
<col_003>
<name type="string">damage</name>
<heading type="string">Damage</heading>
<type type="string">tablestringfield</type>
<width type="number">70</width>
<center />
</col_003>
<col_004>
<name type="string">rof</name>
<heading type="string">RoF</heading>
<type type="string">tablestringfield</type>
<width type="number">30</width>
<center />
</col_004>
<col_005>
<name type="string">cost</name>
<heading type="string">Cost</heading>
<type type="string">tablestringfield</type>
<width type="number">45</width>
<center />
</col_005>
<col_006>
<name type="string">minstr</name>
<heading type="string">Min Str.</heading>
<type type="string">tablestringfield</type>
<width type="number">50</width>
<center />
</col_006>
<col_007>
<name type="string">weaponnotes</name>
<type type="string">tablestringfield</type>
<heading type="string">Notes</heading>
</col_007>
</columns>
</specialweapons>

Then you need to code the weapons in, all the weapons are kept together:


<weapons static="true">
<id-0001>
<name type="string">Dagger</name>
<group type='string'>Medieval - Blades</group>
<catname type="string">Melee Weapons</catname>
<type type="number">0</type>
<damage type="string">Str+d4</damage>
<wpweight type="number">1</wpweight>
<cost type="string">25</cost>
<weaponnotes type="string"></weaponnotes>
</id-0001>
..
<id-0034>
<name type="string">Spear</name>
<group type='string'>Medieval</group>
<catname type="string">Ranged Weapons</catname>
<type type="number">2</type>
<range type="string">3/6/12</range>
<damage type="string">Str+d6</damage>
<rof type="string">1</rof>
<cost type="string">100</cost>
<wpweight type="number">5</wpweight>
<minstr type="string">d6</minstr>
</id-0034>
..
<id-0076>
<name type="string">Cannon (shot)</name>
<group type='string'>Cannon</group>
<catname type="string">Special Weapons</catname>
<type type="number">1</type>
<range type="string">50/100/200</range>
<damage type="string">3d6+1</damage>
<rof type="string">1</rof>
<cost type="string">Military</cost>
<weaponnotes type="string">AP 4, See notes, HW</weaponnotes>
</id-0076>
</weapons>

"catname" is used to "decide" which weapons are placed in which table.
"group" is used to group similar items on the table
"type" is used to specify if the weapon is melee, ranged or thrown (and therefore which skill is used):

0 - melee
1 - ranged
2 - thrown

Hope that helps... it confused me to bits when I started (even more when half-way through PW re-wrote it! - serves me right for play-testing :o )

nezzir
May 30th, 2012, 20:31
Man - thanks so much. I'll wrap this up as soon as I get done with the creature section.

I'm nearly done with the Savage Fallout module. This has been on my "To do" list since I the Savage Worlds ruleset was first announced.