Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Need football game comments

Need football game comments

Scheduled Pinned Locked Moved C#
game-devquestion
10 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leone
    wrote on last edited by
    #1

    Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.

    D P F B 4 Replies Last reply
    0
    • L leone

      Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Uhhh, you need WHAT?? "Written comments"?? What's that supposed to mean?? What you posted doesn't make any sense at all.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • L leone

        Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        It's a game of two halves. The boy done good. Hoof the ball down for the big man. The referee's a .... (I can't finish that one here) He dived ref.

        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

        Richard DeemingR 1 Reply Last reply
        0
        • P Pete OHanlon

          It's a game of two halves. The boy done good. Hoof the ball down for the big man. The referee's a .... (I can't finish that one here) He dived ref.

          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          Pete O'Hanlon wrote:

          The referee's a ....

          Merchant banker? I can't believe you missed "Sick as a parrot"! Also, "(Random career-ending racist and/or sexist slur)!"


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          P Richard DeemingR 2 Replies Last reply
          0
          • Richard DeemingR Richard Deeming

            Pete O'Hanlon wrote:

            The referee's a ....

            Merchant banker? I can't believe you missed "Sick as a parrot"! Also, "(Random career-ending racist and/or sexist slur)!"


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            That's the one, and I got bored at that point. I was tempted to link Colemanballs for him.

            *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

            "Mind bleach! Send me mind bleach!" - Nagy Vilmos

            CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

            1 Reply Last reply
            0
            • L leone

              Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.

              F Offline
              F Offline
              fjdiewornncalwe
              wrote on last edited by
              #6

              "Looks like he said something about his opponent's ", but then your game needs to include headbutting as a player action.

              I wasn't, now I am, then I won't be anymore.

              1 Reply Last reply
              0
              • L leone

                Hi friends. I have made a small football season game program. But now i need some written comments like "excellent shoot from Xavi", "hit the crossbar" ... Has anybody worked on sth like this before? Or do you have any idea to share.

                B Offline
                B Offline
                BobJanova
                wrote on last edited by
                #7

                Try playing Championship Manager, Football Manager etc and seeing the type of messages they give you. Typically a comment is associated with an 'event' in your simulation: a shot, save, corner, tackle, pass etc (what level of event you choose to associate comments with is part of your design and depends on the speed and detail of the game). A single event can have several possible comments associated with it, for variety, and a single 'comment' can be a chain of parts (e.g. 'Suarez receives the ball from Sterling', 'he turns', 'Suarez shoots towards the far post', 'He hits the post!').

                L 1 Reply Last reply
                0
                • Richard DeemingR Richard Deeming

                  Pete O'Hanlon wrote:

                  The referee's a ....

                  Merchant banker? I can't believe you missed "Sick as a parrot"! Also, "(Random career-ending racist and/or sexist slur)!"


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  Richard DeemingR Offline
                  Richard DeemingR Offline
                  Richard Deeming
                  wrote on last edited by
                  #8

                  OK, why was this reported as a "spam or abusive message"? :confused:


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                  1 Reply Last reply
                  0
                  • B BobJanova

                    Try playing Championship Manager, Football Manager etc and seeing the type of messages they give you. Typically a comment is associated with an 'event' in your simulation: a shot, save, corner, tackle, pass etc (what level of event you choose to associate comments with is part of your design and depends on the speed and detail of the game). A single event can have several possible comments associated with it, for variety, and a single 'comment' can be a chain of parts (e.g. 'Suarez receives the ball from Sterling', 'he turns', 'Suarez shoots towards the far post', 'He hits the post!').

                    L Offline
                    L Offline
                    leone
                    wrote on last edited by
                    #9

                    Yes i need sth like this but it seems something complicated. Do you have a simple code snippet?

                    B 1 Reply Last reply
                    0
                    • L leone

                      Yes i need sth like this but it seems something complicated. Do you have a simple code snippet?

                      B Offline
                      B Offline
                      BobJanova
                      wrote on last edited by
                      #10

                      No sorry all my experience in this sector comes from playing games, not writing them :)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups