Extra Fields

Maximum-Football 2.0 is the latest and greatest release from the acclaimed sports management video game studio, Wintervalley Software. Bringing a whole host of new features like full Xbox 360 controller support, full DirectX 9.0 utilization, and scores of other upgrades and improvements, Maximum-Football 2.0 delivers on gameplay and fun like a bullet pass through double coverage. Like its predecessor, Maximum-Football 2.0 allows players to experience the thrill of managing a team in any league!

Moderator: David Winter

Post Reply
User avatar
Brodie
Posts: 145
Joined: Thu May 05, 2005 10:33 pm

Extra Fields

Post by Brodie »

Are you going to keep the extra fields in the player attributes database .
What effect does hight and weight have on the game?
User avatar
David Winter
Posts: 5158
Joined: Tue Nov 23, 2004 10:51 pm
Location: Vancouver, BC
Contact:

RE: Extra Fields

Post by David Winter »

There are a few. .they've always been there. Height and Weight effect the physics.
"They're not dolls. They're action figures. Valuable Action figures!"
User avatar
Brodie
Posts: 145
Joined: Thu May 05, 2005 10:33 pm

RE: Extra Fields

Post by Brodie »

Okay thanks
For the random name generator how will the names look
Earl The Pearl Windfield
EARL THE PEARL WINDFIELD
Earl The PEARL WINDFIELD

A program is being built to randomly generate colleges .Is there a need for this or will the game generate colleges.I am going with the game can`t because of copy right laws.
Also the reason for the name question theres going to be a section in the program to generately purely french Canadian names so need to know the format of that also.
Also in the program there is a equation when generating collages to put in the extra fields players weights and height in Metric.

Private Sub Command1_Click()
Dim result
Text4 = Label7 * 2.54
Text6 = Label8 * 0.45359
Randomize

result = Int((203 - 1 + 1) * Rnd + 1)
Select Case Val(result)

Case Is = 1
Text5 = "Weber State"

Case Is = 2
Text5 = "Toronto "

Case Is = 3
Text5 = "Waterloo"

^^^^^^^^^^^^^^^^^^^^^^^

Case Is = 202
Text5 = "York"

Case Is = 203
Text5 = "Sherbrooke"

End Select
End Sub
User avatar
David Winter
Posts: 5158
Joined: Tue Nov 23, 2004 10:51 pm
Location: Vancouver, BC
Contact:

RE: Extra Fields

Post by David Winter »

Random names are generated from a list of male first names and surnames. There are about 15000 surnames in the database from all nationalities.

BTW, some comments on the code above.

1. You should never declare a variable without a datatype. The result is a declaration of variable as a variant datatype and, not only is that not best coding practice, but it also leads to bad things happening in code. In the code snippet above, use Dim lngResult as Long.

2. You also might want to look at object names more appropriate than Command1 and Text4

3. Don't rely on the default properly for an object to assign a value to that object. Text4 = "Something is bad. Text4.Text = "Something" is much better, faster to execute by the system, and is upgradeable to .Net platform code that doesn't understand default properties like VB6 does.

Just an FYI...
"They're not dolls. They're action figures. Valuable Action figures!"
Post Reply

Return to “Maximum-Football 2.0”