PDA

Click to See Complete Forum and Search --> : Help!!!


pogester
Mar 5th, 2001, 02:15 PM
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

plenderj
Mar 6th, 2001, 03:49 AM
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 :


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

Jotaf98
Mar 7th, 2001, 04:15 AM
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 .