1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. While the majority of active discourse on D20PRO has moved to our Discord Channels, this forum is still active and checked-in on regularly by our staff. However, for the very latest information, conversation and/or immediate support, please join us on Discord here: http://discord.gg/Ph38ckM
    Dismiss Notice

Modern Path Plug In

Discussion in 'User Created Content' started by Frodie, Feb 10, 2013.

  1. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    I want to make a "Plug In" for the Modern Path, but I am new to this. Where is the best place to start?
     
  2. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    What do you mean by "Plug in"? Do you want to make a custom rule set that includes: classes, feats, spells, skills, markers, status icons? Or, do you want to make an extension (developed in Java) that plugs-in to d20Pro providing some elements you can send to the game log? Or something completely different?

    Here are the links

    classes.txt VIEW

    feats.txt VIEW

    skills.txt VIEW

    spells.txt VIEW
     
  3. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    A rule set is what I want to do. I have been looking around and I don't know if it's possible because the way the base class is set up. I made it for Hero Labs, but I really don't know where to start.

    Here is the SRD

    http://www.d20modernpf.com/
     
  4. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Take a look at our help documentation to custom develop your own rule set:
    http://www.d20pro.com/help/UGCPClass.php
    http://www.d20pro.com/help/UGCPSkill.php
    http://www.d20pro.com/help/UGCPFeat.php
    http://www.d20pro.com/help/UGCPSpell.php

    Also take a look at the current standard rule set to see how it is organized under ManuallySpecified directory inside your campaign folder. Then after you create a base rule set, we can host it on Google Code where the community can help keep it updated.
    http://code.google.com/p/d20pro-rules/source/browse/#svn/trunk
     
  5. Wesley Gorby

    Wesley Gorby Production/Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,443
    Likes Received:
    140
    I have a pretty solid data set already done for PF:modern if you'd like it

    actually there should be a thread on here with the skills, feats already..
     
  6. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    That would be very cool, Thank you everyone! Hopefully it wont be to difficult and we can post it here, correct?
     
  7. Wesley Gorby

    Wesley Gorby Production/Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,443
    Likes Received:
    140
    possibly..

    might need some tweaking, but its a good start
     

    Attached Files:

  8. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Very cool, Thank You!

    Just took a look and wow, that is very cool. I am new to coding this, hopefully I wont mess it up, lol
     
  9. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Hey, sorry but here comes the first question, lol

    What is the best way to do this:

    Heroics
    The Modern Hero picks an advancement path based on the six attributes. His chosen attribute has various effects on class advancement and his Hero Point score.
    Path of Heroes
    The chosen attribute will provide his Hit Dice, Skill Ranks per Level, Base Attack Bonus, and Saving Throws to the Modern Hero class.


    This is what I started with, is this correct?

    ## CLASS: MODERNHEROPATHOFSTRENGTH
    CreatureClass=ModernHeroPathofStrength
    AttackRate=1
    GoodSaves=Fort

    I have the Hero Lab dataset working for the Modern Path. When you export it to d20pro, will the above script understand the Hero Lab export?

    This is what the Hero Lab Export looks like:

    <?xml version="1.0" encoding="UTF-8"?>
    <document signature="d20Pro Import File">
    <importer version="2" game="pathfinder"/>
    <hero active="yes" heroname="Unnamed Hero">
    <keyvalue id="Size" value="Medium"/>
    <keyvalue id="Space" value="5"/>
    <keyvalue id="Reach" value="5"/>
    <keyvalue id="Speed" value="30"/>
    <keyvalue id="NumHands" name="Number of Hands" value="2"/>
    <keyvalue id="Experience" name="Total Experience" value="0"/>
    <keyvalue id="Class" value="Modern Hero 1"/>
    <keyvalue id="Race" value="No Race"/>
    <keyvalue id="Alignment" value="No Alignment"/>
    <keyvalue id="CurrentHP" name="Current Hit Points" value="10"/>
    <keyvalue id="MaxHP" name="Maximum Hit Points" value="10"/>
    <keyvalue id="ACTotal" name="Total Armor Class" value="10"/>
    <keyvalue id="ACArmor" name="AC from Armor"/>
    <keyvalue id="ACShield" name="AC from Shield"/>
    <keyvalue id="ACDexMod" name="AC from Dexterity Modifier"/>
    <keyvalue id="ACNatural" name="AC from Natural"/>
    <keyvalue id="ACDeflect" name="AC from Deflection"/>
    <keyvalue id="ACDodge" name="AC from Dodge"/>
    <keyvalue id="ACMisc" name="AC from Miscellaneous"/>
    <keyvalue id="CMBTotal" name="Total CMB" value="+1"/>
    <keyvalue id="CMDTotal" name="Total CMD" value="11"/>
    <keyvalue id="CMDFlat" name="Flat-Footed CMD" value="11"/>
    <keyvalue id="PP" name="Total PP" value="0"/>
    <keyvalue id="GP" name="Total GP" value="150"/>
    <keyvalue id="SP" name="Total SP" value="0"/>
    <keyvalue id="CP" name="Total CP" value="0"/>
    <background age="0" height="0'" weight="0lb." hair="" eyes="" skin=""/>
    <types/>
    <attributes>
    <keyvalue id="aSTR" name="Strength" value="10"/>
    <keyvalue id="aDEX" name="Dexterity" value="10"/>
    <keyvalue id="aCON" name="Constitution" value="10"/>
    <keyvalue id="aINT" name="Intelligence" value="10"/>
    <keyvalue id="aWIS" name="Wisdom" value="10"/>
    <keyvalue id="aCHA" name="Charisma" value="10"/>
    </attributes>
    <saves>
    <keyvalue id="svFort" name="Fortitude Save" value="2"/>
    <keyvalue id="svRef" name="Reflex Save" value="0"/>
    <keyvalue id="svWill" name="Will Save" value="0"/>
    </saves>
    <attacks>
    <attack id="wUnarmed" name="Unarmed strike" attack="0" damage="1d3" critical="x2" multiattacks="no" class="light" equipped="" melee="true" ranged="false" thrown="false" finesse="false" damagetype="B"/>
    </attacks>
    <feats>
    <keyvalue id="fSimple" name="Simple Weapon Proficiency - All"/>
    </feats>
    <skills>
    <skill id="skAcrobat" name="Acrobatics" ranks="0" misc="0" classskill="no"/>
    <skill id="skAppraise" name="Appraise" ranks="0" misc="0" classskill="no"/>
    <skill id="skBluff" name="Bluff" ranks="0" misc="0" classskill="no"/>
    <skill id="skClimb" name="Climb" ranks="0" misc="0" classskill="no"/>
    <skill id="skDiplo" name="Diplomacy" ranks="0" misc="0" classskill="no"/>
    <skill id="skDisable" name="Disable Device" ranks="0" misc="-2" classskill="no"/>
    <skill id="skDisguise" name="Disguise" ranks="0" misc="0" classskill="no"/>
    <skill id="skEscape" name="Escape Artist" ranks="0" misc="0" classskill="no"/>
    <skill id="skFly" name="Fly" ranks="0" misc="0" classskill="no"/>
    <skill id="skHandleAn" name="Handle Animal" ranks="0" misc="0" classskill="no"/>
    <skill id="skHeal" name="Heal" ranks="0" misc="0" classskill="no"/>
    <skill id="skIntim" name="Intimidate" ranks="0" misc="0" classskill="no"/>
    <skill id="skLinguist" name="Linguistics" ranks="0" misc="0" classskill="no"/>
    <skill id="skPercep" name="Perception" ranks="0" misc="0" classskill="no"/>
    <skill id="skRide" name="Ride" ranks="0" misc="0" classskill="no"/>
    <skill id="skSenseMot" name="Sense Motive" ranks="0" misc="0" classskill="no"/>
    <skill id="skSleight" name="Sleight of Hand" ranks="0" misc="0" classskill="no"/>
    <skill id="skSpellcr" name="Spellcraft" ranks="0" misc="0" classskill="no"/>
    <skill id="skStealth" name="Stealth" ranks="0" misc="0" classskill="no"/>
    <skill id="skSurvival" name="Survival" ranks="0" misc="0" classskill="no"/>
    <skill id="skSwim" name="Swim" ranks="0" misc="0" classskill="no"/>
    <skill id="skUseMagic" name="Use Magic Device" ranks="0" misc="0" classskill="no"/>
    <skill id="lCommon" name="Speak Common" ranks="1" misc="0" classskill="no"/>
    </skills>
    <gear>
    <item id="gGround" name="Dropped to ground (empty)" quantity="1"/>
    </gear>
    <spellsknown/>
    <spellsmemorized/>
    <specialabilities/>
    <userimages/>
    </hero>
    </document>
     
  10. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    The Class value in this line is what the ##CLASS and CreatureClass must equal or you will get an importer error in the creature's notes and the Base Attack Bonus will not be calculated correctly.
     
  11. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    hum, well that's kind of a bummer. The class has a user choice of attack and saves. IDK if it will work then.

    IDk, but maybe I can get Hero Lab to out a different class name based on what is chosen. Let me see if that might work.
     
  12. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Well, I couldn't get HL to rename the class. So will this work: Just have the class set up with all the attacks and saves as low and if a character is imported, it can be adjusted within d20pro. I know that's not ideal, but I don't see another way at this moment.
     
  13. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Trying a few more things in Hero Lab, hopefully something will work.
     
  14. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Got it!
    What I did was make a new archetype with just the name and bootstrapped it to the custom ability and it works with no errors for two archetypes!

    This the output, so it should work! Yea!

    <keyvalue id="Class" value="Modern Hero Path of Strength 1"/>

    So should the script be:

    ## CLASS: MODERNHEROPATHOFSTRENGTH
    CreatureClass=ModernHeroPathofStrength
    AttackRate=1
    GoodSaves=Fort
     
  15. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    I think I have the class done. I believe I will have to go back and add the archetypes with spell casting. I also made the changes in the Hero Lab dataset, but before I upload the update, I want to get all the d20pro info working in case I need to change something else.
     

    Attached Files:

  16. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Still going through and comparing the Hero Lab dataset and the d20pro txt file. I think I got all the skills and languages done.
     

    Attached Files:

  17. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Same with feats
     

    Attached Files:

  18. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    Same for spells
     

    Attached Files:

  19. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    There was a bug with the skills, here is the updated file.
     

    Attached Files:

  20. Frodie

    Frodie New Member

    Joined:
    Sep 10, 2012
    Messages:
    22
    Likes Received:
    0
    more skill bugs
     

    Attached Files:

Share This Page