SFRPG.com

For Street Fighter: The Storytelling Game

  • Facebook
  • RSS
  • Twitter
  • YouTube
  • Table Of Contents
  • Get The Game
  • My Supplement: The G-File
  • Combat Chart Generator
  • Combat Card Web App
  • My Blog
  • Links
  • Appendix I: Blanks & Fonts

Updated the Combat Chart Generator (v7)

January 2, 2012 By Webmaster 7 Comments

Updated the Combat Chart Generator in the Downloads area to Version 7.

  • Updated the old URL and email listed, with my new ones
  • Fixed the “Back” button, which didn’t work anymore in newer browsers
  • Changed layout for usability
  • Added title tags to focus moves for reference and usability
  • Combined the javascript file and the html file into one, so that only a single file is needed
  • Tested in IE, Firefox, Chrome, Opera and Safari

Filed Under: Site Updates

Comments

  1. TheMOELANDER says

    September 22, 2016 at 4:53 pm

    I totally forgot that exchange ever happened…

    Reply
  2. MOELANDER says

    January 12, 2012 at 2:37 pm

    Hey, would it be possible to explain to me how to add new Maneuvers? I want to add my own into the mix for personal use, cause this is a really useful app. I won’t give it to anyone else, I promise.

    Oh and I suck at programming, I tried to figure it out myself, but failed.

    Also great work on the Redesign! I really dig your work! Used your conversions already a lot!
    The MOELANDER

    Reply
    • Webmaster says

      January 12, 2012 at 4:04 pm

      Glad you like my site, thanks!

      No secrets here, all the code is viewable.

      Lines 9-23 (no change) are the variables you will use later to test if they have the prerequisites.

      Lines 24-32 (no change) are used for calculating damage later, they are some of the variables from above added together. stpu = st + pu (strength plus punch)

      Lines 33-1337 (add stuff), you need to add 3 or 4 lines for each new maneuver (speed, damage, move, text). Like so:

      You should be able to tell how the variables from above are used here. Speed for dashing punch = de (variable for dexterity), Damage is stpu (variable for strength + punch)+4 and move is at (variable for athletics) +2
      As you can see in my code this must be done 3 different times for focus moves, so they can be calculated using the cybernetics background and physical, or cybernetics and mental.

      Lines 1389-2316 (change) check to see if the checkbox on the form is checked when you submit. If it is that move will appear on your sheet. You will need to make new code for each new move you add:

      Change the output to write your new maneuver’s speed, damage, move, and text which you defined in the last step.

      Line 6296 onward (change) you will add the checkbox to the form. For this to work you need to be sure you name the checkbox on the form the right NAME=”” for it to read, like so:

      Make sure it’s the same name you checked in the previous step:

      Lines 2425-6063 (change) are where prerequisites are checked. You will need to add yours if you want the prerequisite checker to work, like so:

      This will be triky depending on what your prerequisites are but you should be able to copy off the other moves. As you can see above if dashing punch is checked (document.chargen.dashingpunch.checked) and your punch rating is less than 4 (document.chargen.punch.value < 4) then change their punch rating to 4 (document.chargen.punch.value = 4) and tell them ('You just got punch 4, as a prerequisite for Dashing Punch.') So to recap: Step 1 – add stats for your maneuver like lines 33-1337
      Step 2 – write the maneuver to the chart if the checkbox is checked like lines 1389-2316
      Step 3 – make a checkbox on your form for the move like lines 6296+, make sure the NAME=”” of the checkbox matches what your code looks for in step 2
      Step 4 – check for prerequisites like lines 2425-6063

    • Webmaster says

      January 12, 2012 at 4:18 pm

      Also FYI, testing the Beta for version 8.

      https://sfrpg.com/2012/01/12/testing-version-8-beta-for-combat-chart-generator/

    • MOELANDER says

      January 13, 2012 at 1:57 am

      Wow! Thanks a lot! I actually got it to work!

      Grrrrrreat!

    • Webmaster says

      January 13, 2012 at 9:46 am

      That’s good to know I can explain things correctly, lol. I wasn’t sure if I did.

  3. Webmaster says

    January 2, 2012 at 12:50 am

    Made a slight tweak just now that doesn’t warrant a whole new version.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Featured Content

SFVI
G-File Update!
SF:20 Release! (Anniversary Edition)
Punho do Guerreiro
Shadows Over The Sun
Yahoo! Group Archive
Interview with John Robey
Andrew J Lucas Interview
Buy the Books!
World Warrior Podcast
Capcom World Tournament Lives?
Illuminati Pankration
Bojutsu 棒術
Dalyell Baronet
Sennin
SFV
Ultra SF2
Original Cover Art For Sale

Search

Recent Posts

  • Updated the Combat Chart Generator (v11)
  • Street Fighter VI
  • G-File Update
  • Punho do Guerreiro Translations by: Batjutsu
  • G-File Update

Recent Comments

  • Skyrock on Links
  • Al on Welcome
  • Gustavo Torres on Combat Chart Generator
  • Jordan Brewer on Welcome
  • John Smith on Street Fighter: The Storytelling Game

Menu

  • Table Of Contents
  • Get The Game
  • My Supplement: The G-File
  • Combat Chart Generator
  • Combat Card Web App
  • My Blog
  • Links
  • Appendix I: Blanks & Fonts

Last Updated: 3/30/22 Posts: 1/5/2 Comments: 3/0/4 © Matt Meade: 1999 | Privacy