Results 1 to 3 of 3

Thread: I'm In Disguise...

  1. #1

    Thread Starter
    Addicted Member scotty85_2000's Avatar
    Join Date
    Feb 2001
    Posts
    198

    Cool

    Ha! Got your attention then huh? lol, j/k...
    You may be familiar with me annoying people on this board, trying to get help with finishing off my game, or you may not... either way, i have a problem!!! Below is a process quoted by some guys who tried to help last time, but seemed unkeen to expand on their ideas... could anyone else just take the time to illustrate how i'd do this? I'd be the most grateful person who ever landed here from the greatest planet in the great galaxy: Grateful...
    Here's hoping...

    "You could write all your comments into a plain text file (or even a binary, if you want), and then load them in an array when the game starts. Every match could have it's own comments file and you could split comments so that, for eg. 1-10 are for bad playing, 11-20 for good playing, etc. Then, when you want to display them, generate a random number and display that comment...

    However, you should have more than one text file (maybe 10) with names like:

    final.txt - The final match of the season
    superb.txt - Superbowl
    match.txt - Just a one game season, a custom game
    season.txt - A regular season
    training.txt - In training for the new season
    ...
    ...
    ...
    etc.

    Your format should follow this:

    Whoa! What a wondeful pass from #T to #C!
    Ouch, #PP going to feel THAT one in the morning!
    etc, etc...

    #T - thrower
    #C - catcher, reciever
    #P - player (eg. McFari)
    #PP - player plural (eg. McFari's)
    #TN - team name (eg. the Eskimos)
    #M - manager's name (eg. Davi)
    #MP - manger plural (eg. Davi's)
    ...and other things.

    These signs will be translated when found in text in your VB program. So a line could be:

    Whoa! What a wonderful pass from Rockett to Gremier!
    Ouch, Gremier's going to feel THAT one in the morning!
    Touchdown! A touchdown, scored by Gremier!
    Rockett kicks the ball...
    Kinglenton of the Eskimos recieves!

    You get the point. It will make for a pretty good commentary. Of course, you will have to have a lot of .wav files (or .mod files, if you use that format) for the player names. If you want, you can either use their position (eg. A person created a player called Mike Gremier, and he's the quarterback. You can say:

    Whoa! What a wonderful pass from the quarterback to Rockett!

    Or, you can attempt to use text-to-speech to get the computer to say his name. (It will sound horrible))"

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Hmm... the text looks oddly farmiliar....

    I thought that I had gotten the point down when I had posted that. Or did you want code?

    In that case, (I hope you know) you must read and write to the file, and that pretty much covers it. I'm not exactly sure what you wanted.

    I'm too lazy to do some code at the moment but maybe somebody else could code ya one...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3

    Thread Starter
    Addicted Member scotty85_2000's Avatar
    Join Date
    Feb 2001
    Posts
    198
    thanks for trying, i realise that to type coding would take a while for this... i posted a shorter post in the general forum with less description now that i realise what i want help with...
    thanks anyways...

Posting Permissions

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



Click Here to Expand Forum to Full Width