Page 1 of 3 123 LastLast
Results 1 to 30 of 67

Topic: How to Make a Fighting Game Script -- Video Tutorial with MK11

  1. #1
    GOLD NOVA IV

    User Info Menu

    How to Make a Fighting Game Script -- Video Tutorial with MK11

    With the release of MK11 and its custom variations, I decided it was time to try and make a guide on how to make fighting game scripts. Since custom variations allow for potentially thousands of different combinations, there's no guarantee your favorite variation will ever get its own script, so I thought now would be a better time than ever to try and help people learn how to make their own. This is my first time ever trying to make a video of any kind, so I apologize in advance for the amateur quality.

    I'd like to briefly go over who this tutorial is for first. I intended it to be used by people who already have a basic understanding of GPC. By that I mean that you know things like:
    - what the main and combo sections are
    - basic GPC commands like get_val, combo_run, event_press, set_val, etc. and what they do
    - know what an "if" statement is
    That should be all you need to know to follow along with the video. If you are a complete beginner and don't know any of those things, there are several other resources you can use to get there:

    The CronusMax 'GPC Script Programming Support' subforum has many tutorials posted in its stickies:
    https://cronusmax.com/forums/forumdi...amming-Support

    The CronusMax manual also has a GPC guide. This gives an in-depth guide to everything you can do with GPC (the programming language used by the CronusMax), and provides example scripts for you to play with as well:
    https://cronusmax.com/manual/gpc_gui...%3D%3D&mw=MzIw



    Here are the two example combo start/stop expressions I mentioned in the video:


    And finally, here is the script I made in the video itself:


    Enjoy! If you've never made a script before, hopefully this will help you to make your first. If you have any questions about the process not mentioned in the video, ask them below.

  2. The Following 14 Users Say Thank You to justframe For This Useful Post:


  3. #2
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Great video. Hopefully this teaches more people 'how to fish' so they don't keep asking for fishes, and everyone benefits.

  4. The Following 3 Users Say Thank You to KS212 For This Useful Post:


  5. #3
    The GPC Godfather



    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by justframe View Post
    With the release of MK11 and its custom variations, I decided it was time to try and make a guide on how to make fighting game scripts. Since custom variations allow for potentially thousands of different combinations, there's no guarantee your favorite variation will ever get its own script, so I thought now would be a better time than ever to try and help people learn how to make their own. This is my first time ever trying to make a video of any kind, so I apologize in advance for the amateur quality.
    Outstanding job justframe

  6. #4
    Senior Support Staff


    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Great thread, deserve to be sticky!

  7. The Following User Says Thank You to LEX LOST For This Useful Post:


  8. #5
    GOLD NOVA III

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    thank you so much for this video should help this fighting community grow the more scrips the better.

  9. #6
    GOLD NOVA III

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    how do u make it so instead of pressing forward and the combo button to make the combo work, that u press back instead. this was done in injustice combos and it was a lot easier because your going to be blocking (back) more than moving forward. so u can still hold the block button to counter the players and wont get punished too much for moving forward before the combo risking a hit from the other player did i make any sense lol.

  10. #7
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    This is just brilliant from start to finish... You Sir are a saint.

  11. #8
    The GPC Godfather



    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by madmax4 View Post
    how do u make it so instead of pressing forward and the combo button to make the combo work, that u press back instead. this was done in injustice combos and it was a lot easier because your going to be blocking (back) more than moving forward. so u can still hold the block button to counter the players and wont get punished too much for moving forward before the combo risking a hit from the other player did i make any sense lol.
    Reverse this part from:

    // Determine Back and Forward
    if(get_val(RIGHT)) {
    back = LEFT; forward = RIGHT;
    } else if(get_val(LEFT)) {
    back = RIGHT; forward = LEFT;
    }//----------------------------------------------

    To:

    // Determine Back and Forward
    if(get_val(RIGHT)) {
    back = RIGHT; forward = LEFT;
    } else if(get_val(LEFT)) {
    back = LEFT; forward = RIGHT;
    }//----------------------------------------------

  12. The Following 2 Users Say Thank You to Batts For This Useful Post:


  13. #9
    Community Boss

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    This is what the Cronus Community is all about!!!

    Bravo Sir

  14. #10
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Thank you for the tutorial it is exactly what I have been looking for. I have 1 question when I am in the GPC compiler and go to transfer the script to the programmer I get the message ERROR: Syntax error, unexpected IF ('if'), expecting ')' on line 2 column 0. I see in the video you have this error as well. However, when I go to transfer the script it will not let me and I get a error sound. Is there something in the settings I need to change to allow me to transfer it over as you do to test? Thanks again!

  15. #11
    GOLD NOVA III

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Batts View Post
    Reverse this part from:

    // Determine Back and Forward
    if(get_val(RIGHT)) {
    back = LEFT; forward = RIGHT;
    } else if(get_val(LEFT)) {
    back = RIGHT; forward = LEFT;
    }//----------------------------------------------

    To:

    // Determine Back and Forward
    if(get_val(RIGHT)) {
    back = RIGHT; forward = LEFT;
    } else if(get_val(LEFT)) {
    back = LEFT; forward = RIGHT;
    }//----------------------------------------------
    thank you man appreciate it

  16. The Following User Says Thank You to madmax4 For This Useful Post:


  17. #12
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    Thank you for the tutorial it is exactly what I have been looking for. I have 1 question when I am in the GPC compiler and go to transfer the script to the programmer I get the message ERROR: Syntax error, unexpected IF ('if'), expecting ')' on line 2 column 0. I see in the video you have this error as well. However, when I go to transfer the script it will not let me and I get a error sound. Is there something in the settings I need to change to allow me to transfer it over as you do to test? Thanks again!
    Do you mean the combo start/stop commands I posted? those only work in a script that has already been converted to data. Once you've converted a script to data, copy/paste those in the places I mention in the video. Otherwise, when first creating a script you should use the standard "if(get_val() combo_run (mycombo)" format to start and stop your combos.

  18. #13
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    I mean when I am transferring the gpc combo to test the timings. It wont let me upload the combo to the memory slot. Nothing happens and I just get the windows error sound. I am assuming it is because of the syntax error?

  19. #14
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    I mean when I am transferring the gpc combo to test the timings. It wont let me upload the combo to the memory slot. Nothing happens and I just get the windows error sound. I am assuming it is because of the syntax error?
    are you putting the combo run/stop commands inside the main section? like this:

  20. #15
    SILVER III

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    okay been at this for like 5 hours im on ps4 did all the steps fine and everything the combo works up until the last button which is r1, the combo worked perfectly fine r1 and all until i converted it into data now theres never an r1 input in data and instead it presses share button, i cannot figure out why its doing this for anything in the world been at it for hours trynna figure it out the problem seems to be around line 92 .please help



  21. #16
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by aye_richard View Post
    okay been at this for like 5 hours im on ps4 did all the steps fine and everything the combo works up until the last button which is r1, the combo worked perfectly fine r1 and all until i converted it into data now theres never an r1 input in data and instead it presses share button, i cannot figure out why its doing this for anything in the world been at it for hours trynna figure it out the problem seems to be around line 92 .please help
    Next time you post a script, make sure to put GPC wrappers around it so its easier to copy/paste. Just click the icon marked "GPC" above the message box and paste the script in-between the wrappers.

    The problem is the wait times you are using. If you go into CronusPro and look through all the warnings given at the bottom of the screen, you'll see these errors:
    WARNING: The value (280) of the data entry found on line 92 column 2 is 16-bit, this causes the indexes to be slightly off after this point (+1)
    WARNING: The value (1000) of the data entry found on line 95 column 2 is 16-bit, this causes the indexes to be slightly off after this point (+1)
    WARNING: The value (280) of the data entry found on line 151 column 2 is 16-bit, this causes the indexes to be slightly off after this point (+1)
    WARNING: The value (1000) of the data entry found on line 153 column 0 is 16-bit, this causes the indexes to be slightly off after this point (+1)
    Simply put these wait times (2.8 seconds and 10 seconds) are too long. I didn't mention this since it rarely comes up in fighting game scripts but wait times longer than 2 seconds won't work when you convert to data. If you need them to be this long, there is a simple fix. Just put several smaller wait times right next to each other like this:
    2,DOWN,BACK,
    3,
    1,BACK,
    4,
    2,BACK,
    BTN1,
    3,
    1,BTN1,
    7,
    0,100,
    0,100,
    0,80,
    1,BTN5,
    4,
    0,100,
    0,100,
    0,100,
    EOC,
    Here I only set it to wait for 3 seconds at the end of the combo instead of 10, but if you had it set to 10 seconds for a specific purpose, just add 7 more "0,100," lines at the end of the combos.

    Here's your script with the errors removed:

  22. The Following User Says Thank You to justframe For This Useful Post:


  23. #17
    SILVER III

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    lol wooooow thanks so much bro! im a dumbass lmao appreciate that alot man keep up the good work!

  24. #18
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Ha nope, I was using the wrong bracket for part of it, I feel slow now lol. thanks man.

  25. #19
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    how do I make a script to hold forward while I press a button then let go of forward. for example if I wanted to walk forward then press 4 then stop walking forward.

  26. #20
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    The video is down :-( anyone have a backup?

  27. #21
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    It's down because the channel I used to upload it was banned for some reason(Google won't tell me why). I'm trying to appeal the ban so hopefully the video will come back but if not I will see about reuploading it to a different site. Does anyone know of any other good sites for uploading videos?

  28. The Following 2 Users Say Thank You to justframe For This Useful Post:


  29. #22
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    how do I make a script to hold forward while I press a button then let go of forward. for example if I wanted to walk forward then press 4 then stop walking forward.
    Something like that?


  30. The Following 2 Users Say Thank You to Mr Fwak For This Useful Post:


  31. #23
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Thank you,

    I made my first frost combo (future legend variation) mind giving it a try and telling me what you guys think?
    right stick right is mid screen that pushes into the corner and right stick left is a corner combo


  32. #24
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    Thank you,

    I made my first frost combo mind giving it a try and telling me what you guys think?
    right stick right is mid screen that pushes into the corner and right stick left is a corner combo

    No problem.

    Sure, give me a moment to test it, I'll report back shortly.
    Also, what Variation is it you used?

    EDIT: Just tried it and they are good!, though the ending bit of your corner combo was dropping a bit against lighter chars (I tried it against D'Vorah).
    so just a little tip, maybe in future test your combos against a female char, that way it'll most likely work against the heavier chars too.
    but very good sir.

  33. #25
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    ah sorry future legend I will make an edit

  34. #26
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    ah makes sense, I will go back and test against her and see if I can get the timing on her. I appreciate your input/help.

  35. The Following User Says Thank You to Juice6121 For This Useful Post:


  36. #27
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11


  37. The Following User Says Thank You to Juice6121 For This Useful Post:


  38. #28
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    Nope, seems all good to me, nice work.

  39. #29
    SILVER ELITE

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    I have one more question, sorry. I am trying to add down on the right stick to add another corner combo. I have gotten it all timed and working and figured out how to add the stick but the combo only goes part way through then stops. Any idea why this is? I have a decimal on line 202 in the timing is this what is causing it?


  40. #30
    GOLD NOVA IV

    User Info Menu

    Re: How to Make a Fighting Game Script -- Video Tutorial with MK11

    Quote Originally Posted by Juice6121 View Post
    I have one more question, sorry. I am trying to add down on the right stick to add another corner combo. I have gotten it all timed and working and figured out how to add the stick but the combo only goes part way through then stops. Any idea why this is? I have a decimal on line 202 in the timing is this what is causing it?

    No it's not because of the decimal, because it's just gets rounded up or down anyways (I think).

    but i think it's because you have so much wait time, try not to go over 200MS or something like that but if you need all that wait time do in increments of 100MS
    like..


    so i went ahead and adjusted it for you anyways.


  41. The Following User Says Thank You to Mr Fwak For This Useful Post:


Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new topics
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •