Starfleet
November 27th, 2007, 14:10
I've started work on a cyberpunk 2020 ruleset for me and my gaming group and ran into a few problems.. So far modifying the actual Graphics is easy I know how to do that backwards.. but I've been trying to work on the character sheet and I've ran into a few small problems that I just can't seem to work out.
I've so far managed to get all the attributes in ie:
<abilityscore name="int" source="abilities.int.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>100,23</offset>
</anchored>
<tabtarget>
<next>ref</next>
<prev>weight</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ref" source="abilities.ref.score">
<anchored>
<to>int</to>
</anchored>
<tabtarget>
<next>ref1</next>
<prev>int</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ref1" source="abilities.ref1.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>135,50</offset>
</anchored>
<tabtarget>
<next>tech</next>
<prev>ref</prev>
</tabtarget>
</abilityscore>
<abilityscore name="tech" source="abilities.tech.score">
<anchored>
<to>ref</to>
</anchored>
<tabtarget>
<next>cool</next>
<prev>ref1</prev>
</tabtarget>
</abilityscore>
<abilityscore name="cool" source="abilities.intelligence.score">
<anchored>
<to>tech</to>
</anchored>
<tabtarget>
<next>attr</next>
<prev>tech</prev>
</tabtarget>
</abilityscore>
<abilityscore name="attr" source="abilities.attr.score">
<anchored>
<to>cool</to>
</anchored>
<tabtarget>
<next>luck</next>
<prev>cool</prev>
</tabtarget>
</abilityscore>
<abilityscore name="luck" source="abilities.luck.score">
<anchored>
<to>attr</to>
</anchored>
<tabtarget>
<next>ma</next>
<prev>attr</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ma" source="abilities.ma.score">
<anchored>
<to>luck</to>
</anchored>
<tabtarget>
<next>body</next>
<prev>luck</prev>
</tabtarget>
</abilityscore>
<abilityscore name="body" source="abilities.body.score">
<anchored>
<to>ma</to>
</anchored>
<tabtarget>
<next>emp</next>
<prev>body</prev>
</tabtarget>
</abilityscore>
<abilityscore name="emp" source="abilities.emp.score">
<anchored>
<to>body</to>
</anchored>
<tabtarget>
<next>emp1</next>
<prev>body</prev>
</tabtarget>
</abilityscore>
<abilityscore name="emp1" source="abilities.emp1.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>135,238</offset>
</anchored>
<tabtarget>
<next>run</next>
<prev>emp</prev>
</tabtarget>
</abilityscore>
<abilityscore name="run" source="abilities.run.score">
<anchored>
<to>emp</to>
</anchored>
<tabtarget>
<next>leap</next>
<prev>emp1</prev>
</tabtarget>
</abilityscore>
<abilityscore name="leap" source="abilities.leap.score">
<anchored>
<to>run</to>
</anchored>
<tabtarget>
<next>lift</next>
<prev>run</prev>
</tabtarget>
</abilityscore>
<abilityscore name="lift" source="abilities.lift.score">
<anchored>
<to>leap</to>
</anchored>
<tabtarget>
<next>waiting</next>
<prev>leap</prev>
</tabtarget>
</abilityscore>
<abilitylabel>
<anchored>
<to>int</to>
</anchored>
<static>INT</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>ref</to>
</anchored>
<static>REF</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>tech</to>
</anchored>
<static>TECH</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>cool</to>
</anchored>
<static>COOL</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>attr</to>
</anchored>
<static>ATTR</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>luck</to>
</anchored>
<static>LUCK</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>ma</to>
</anchored>
<static>MA</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>body</to>
</anchored>
<static>BODY</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>emp</to>
</anchored>
<static>EMP</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>run</to>
</anchored>
<static>RUN</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>leap</to>
</anchored>
<static>Leap</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>lift</to>
</anchored>
<static>Lift</static>
</abilitylabel>
and the associated DB updating for them in the lua file.. however i'm stumped when i got to adding in a field that did NOT exist in the d20 ruleset (i'm using it as a basis to modify from).. what I want to do is add a new frame (that part works) called Armor so i did this:
<!-- Armor -->
<genericcontrol name="armorframe">
<bounds>210,90,350,200</bounds>
<frame>
<name>sheetgroup</name>
</frame>
</genericcontrol>
that part creates the frame all nicely for me (ok it's not perfect atm but hey it'll do until i get this next part working) within that section I want to add the armor entry box's so i thought all i'd have to do is something like this
<armorfield name="head" source="armor.head">
<anchored>
<to>armorframe</to>
<position>insidetopleft</position>
<offset>10,23</offset>
</anchored>
<tabtarget>
<next>ref</next>
<prev>weight</prev>
</tabtarget>
</armorfield>
however no box appears what am I doing wrong or what am I missing?
any help be greatful
-Rob
I've so far managed to get all the attributes in ie:
<abilityscore name="int" source="abilities.int.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>100,23</offset>
</anchored>
<tabtarget>
<next>ref</next>
<prev>weight</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ref" source="abilities.ref.score">
<anchored>
<to>int</to>
</anchored>
<tabtarget>
<next>ref1</next>
<prev>int</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ref1" source="abilities.ref1.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>135,50</offset>
</anchored>
<tabtarget>
<next>tech</next>
<prev>ref</prev>
</tabtarget>
</abilityscore>
<abilityscore name="tech" source="abilities.tech.score">
<anchored>
<to>ref</to>
</anchored>
<tabtarget>
<next>cool</next>
<prev>ref1</prev>
</tabtarget>
</abilityscore>
<abilityscore name="cool" source="abilities.intelligence.score">
<anchored>
<to>tech</to>
</anchored>
<tabtarget>
<next>attr</next>
<prev>tech</prev>
</tabtarget>
</abilityscore>
<abilityscore name="attr" source="abilities.attr.score">
<anchored>
<to>cool</to>
</anchored>
<tabtarget>
<next>luck</next>
<prev>cool</prev>
</tabtarget>
</abilityscore>
<abilityscore name="luck" source="abilities.luck.score">
<anchored>
<to>attr</to>
</anchored>
<tabtarget>
<next>ma</next>
<prev>attr</prev>
</tabtarget>
</abilityscore>
<abilityscore name="ma" source="abilities.ma.score">
<anchored>
<to>luck</to>
</anchored>
<tabtarget>
<next>body</next>
<prev>luck</prev>
</tabtarget>
</abilityscore>
<abilityscore name="body" source="abilities.body.score">
<anchored>
<to>ma</to>
</anchored>
<tabtarget>
<next>emp</next>
<prev>body</prev>
</tabtarget>
</abilityscore>
<abilityscore name="emp" source="abilities.emp.score">
<anchored>
<to>body</to>
</anchored>
<tabtarget>
<next>emp1</next>
<prev>body</prev>
</tabtarget>
</abilityscore>
<abilityscore name="emp1" source="abilities.emp1.score">
<anchored>
<to>abilityframe</to>
<position>insidetopleft</position>
<offset>135,238</offset>
</anchored>
<tabtarget>
<next>run</next>
<prev>emp</prev>
</tabtarget>
</abilityscore>
<abilityscore name="run" source="abilities.run.score">
<anchored>
<to>emp</to>
</anchored>
<tabtarget>
<next>leap</next>
<prev>emp1</prev>
</tabtarget>
</abilityscore>
<abilityscore name="leap" source="abilities.leap.score">
<anchored>
<to>run</to>
</anchored>
<tabtarget>
<next>lift</next>
<prev>run</prev>
</tabtarget>
</abilityscore>
<abilityscore name="lift" source="abilities.lift.score">
<anchored>
<to>leap</to>
</anchored>
<tabtarget>
<next>waiting</next>
<prev>leap</prev>
</tabtarget>
</abilityscore>
<abilitylabel>
<anchored>
<to>int</to>
</anchored>
<static>INT</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>ref</to>
</anchored>
<static>REF</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>tech</to>
</anchored>
<static>TECH</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>cool</to>
</anchored>
<static>COOL</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>attr</to>
</anchored>
<static>ATTR</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>luck</to>
</anchored>
<static>LUCK</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>ma</to>
</anchored>
<static>MA</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>body</to>
</anchored>
<static>BODY</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>emp</to>
</anchored>
<static>EMP</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>run</to>
</anchored>
<static>RUN</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>leap</to>
</anchored>
<static>Leap</static>
</abilitylabel>
<abilitylabel>
<anchored>
<to>lift</to>
</anchored>
<static>Lift</static>
</abilitylabel>
and the associated DB updating for them in the lua file.. however i'm stumped when i got to adding in a field that did NOT exist in the d20 ruleset (i'm using it as a basis to modify from).. what I want to do is add a new frame (that part works) called Armor so i did this:
<!-- Armor -->
<genericcontrol name="armorframe">
<bounds>210,90,350,200</bounds>
<frame>
<name>sheetgroup</name>
</frame>
</genericcontrol>
that part creates the frame all nicely for me (ok it's not perfect atm but hey it'll do until i get this next part working) within that section I want to add the armor entry box's so i thought all i'd have to do is something like this
<armorfield name="head" source="armor.head">
<anchored>
<to>armorframe</to>
<position>insidetopleft</position>
<offset>10,23</offset>
</anchored>
<tabtarget>
<next>ref</next>
<prev>weight</prev>
</tabtarget>
</armorfield>
however no box appears what am I doing wrong or what am I missing?
any help be greatful
-Rob