Results 1 to 3 of 3

Thread: Help!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    Nottingham, England
    Posts
    5

    Angry

    I am creating a Wrestling Simulator Game, for all those who do not know this is a wrestling game in similar style to football manager type games.

    The problem I am having is with the Roster. I have created a database with all the wrestlers info in. I have set up the page that can display each wrestler and their stats seperatly using the DATA Control, my problem has come with writing the match engine.

    I am trying to write the match engine so that it can read values from the databse and include them, such as the wrestlers hometown or finishing move, however I cannot get it to display the information.

    Can anyone help, alternatively if you know of a better way of doing the roster rather than a database let me know. Plus if anyone knows where I can find any codes for wrestling sims I would appreciate it.

    Cheers
    POGESTER

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    I would stick all the info into text files, so as to keep the overall size of the add down.
    Its quite easy if you do it that way. Something like :

    Code:
    Open App.Path & "\data.dat" For Input As #1
        Do Until Eof(1)
            DoEvents
            Line Input #1, var_string
            'Do Something
        Loop
    Close #1
    Thats what I would do.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Well, if all you see is the result of the fight, you can make it turn-based.

    Make a loop until one of them is dead, each of them makes a different attack in each turn based on some probabilities.

    It's called fuzzy logic, you can find a code sample on it at http://www.planet-source-code.com .
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

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