1. Hey Guest, looking for Virtua Fighter 5: Ultimate Showdown content? Rest assured that the game is identical to Virtua Fighter 5: Final Showdown so all current resources on here such as Command Lists with frame data, Combo Lists and the Wiki still apply. However, you can expect some VF5US specific changes to come soon!
    Dismiss Notice

Idea for a skript

Discussion in 'Site News, Questions and Feedback' started by MystD, Sep 16, 2007.

  1. MystD

    MystD Well-Known Member

    Well I thought about it while changing 236P to /forums/images/%%GRAEMLIN_URL%%/d.gif/forums/images/%%GRAEMLIN_URL%%/df.gif/forums/images/%%GRAEMLIN_URL%%/f.gif/forums/images/%%GRAEMLIN_URL%%/p.gif
    Dono if its possible but it just has to change the different strings like 236P to : d : : df : : f : : P : or directly link the pictures.

    I've done it with frontpage search & repalace: search: 236P and replace with:

    <img alt="d" src="http://virtuafighter.com/forums/images/graemlins/default/d.gif" border="0">
    <img alt="df" src="http://virtuafighter.com/forums/images/graemlins/default/df.gif" border="0">
    <img alt="f" src="http://virtuafighter.com/forums/images/graemlins/default/f.gif" border="0">
    <img alt="p" src="http://virtuafighter.com/forums/images/graemlins/default/p.gif" border="0">

    I can't programm but I think it shouldn't be too hard to script.
    It also could be made in form of a button to change the view on demand or as alternative for inputting the smileys one for one.
     
  2. Myke

    Myke Administrator Staff Member Content Manager Kage

    PSN:
    Myke623
    XBL:
    Myke623
    Re: Idea for an skript

    I don't agree with automatically replacing text, and would prefer to leave it up to the user to format their commands.

    How can you tell the difference between 2P for a low punch, and 2P for Player 2?

    Eventually, all the command markup on this site will support the numeric format so that [2]/forums/images/%%GRAEMLIN_URL%%/p.gif will eventually render into /forums/images/%%GRAEMLIN_URL%%/d.gif/forums/images/%%GRAEMLIN_URL%%/p.gif. Hopefully this will work by next upgrade.

    Finally, I would hope users will eventually memorise the command markup so that they can just type out /forums/images/%%GRAEMLIN_URL%%/d.gif/forums/images/%%GRAEMLIN_URL%%/df.gif/forums/images/%%GRAEMLIN_URL%%/f.gif without going to the smiley menu! /forums/images/%%GRAEMLIN_URL%%/smile.gif
     
  3. MystD

    MystD Well-Known Member

    Re: Idea for an skript

    I don't mean as complete replace more as babelfish local (temporary) replace for viewing purposes.

    And more as option while writing a post.
    It's easier to write 41236P *press convert button* than [4][2][3][6][ P ] or in germany alt+8 for [ and alt+9 for ].
    I bet in other countries its simmilar with the keyboard layout.

    It would really speed up the process. Think about your kage maru black book combo post. How long would it have taken if you just pressed the numbers and + on the num pad and the p k g on the other side of the keyboard and then just press convert for the whole post. I bet it would have taken a lot less time. Of course it wouldn't differentiate between 2P for 2 Player but if the combos are written first and then the rest is added it wouldn't be a problem.
     
  4. Myke

    Myke Administrator Staff Member Content Manager Kage

    PSN:
    Myke623
    XBL:
    Myke623
    Re: Idea for an skript

    Ah OK, so you're suggesting a new button will convert the commands. But this still causes a problem in that any type of number could get converted. If I write a combo that does 63pts of damage, it could end up looking like /forums/images/%%GRAEMLIN_URL%%/f.gif/forums/images/%%GRAEMLIN_URL%%/df.gif/forums/images/%%GRAEMLIN_URL%%/p.gifts /forums/images/%%GRAEMLIN_URL%%/smile.gif

    I'm sorry that typing ['s is not so easy. Alternatively, you can use : to surround the markup, but I'm not sure if that makes it better for you.

    As another alternative, I will look into including a permanent joystick/button display. So instead of always opening the smiley menu, it's always available and ready for you to click on it.
     
  5. MystD

    MystD Well-Known Member

    Re: Idea for an skript

    Yes thats why I've written: "if the combos are written first and then the rest is added it wouldn't be a problem. "

    And its possible to work with exceptions like for 63Pts, if anything is followed by pts don't convert it.

    Well it's just a suggestion...

    About the joystick menu, how about overriding the num pad keys?
    Dono if thats possible with html php ...
    But if it is: Numbers for directions, except 5 for + and / for P, * for K, - for G
     
  6. Myke

    Myke Administrator Staff Member Content Manager Kage

    PSN:
    Myke623
    XBL:
    Myke623
    Re: Idea for an skript

    For now, I've added the command icons to all new posts and reply forms.
     
  7. MystD

    MystD Well-Known Member

    Re: Idea for an skript

    I've thought of another way to realize such a script. If it checks strings if there is anything other than 12346789+pkg and if there is it won't convert it like: 41236P Is a Punch
    it checks 41236P <- convert, Is <- do not convert, a <- do not convert, Punch <- do not convert. Of course this isn't totally error free but it's the best method I can think of.
     
  8. Myke

    Myke Administrator Staff Member Content Manager Kage

    PSN:
    Myke623
    XBL:
    Myke623
    Re: Idea for an skript

    I probably should have told you that I already know how to write the script. In fact, I have several written in various scripting languages (perl, php) that I've used in the past, and still use today.

    But to integrate this converter of sorts into the forums I don't think is so necessary right now.

    I have always agreed that using the smiley menu for commands was cumbersome. So, I've customised all new post and reply forms to include the command markup icons for instant accesss.

    That's about all I will do with command markup until the next major forum upgrade.
     
  9. MystD

    MystD Well-Known Member

    Re: Idea for an skript

    Yes you should have... If you have such a script already, then there is no point writing more suggestion on how it could work ^-^
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice