So I have talked in the past about my displeasure with respect to the heights of generated rookies. Specifically, the 6'1 SGs and 6'8 centers. This got me thinking of a way to solve the problem, and I came up with what might be a solution. Don't know how plausible it is, because I have no idea how to make batch files, and don't know what instructions are available. I also don't have cdbflite, which seems to be a requisite file for those batch thingys.
First things first: How do I get my hands on cdbflite?
Now, unto the possible solution for the heights.
++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++
Similar stuff could be done for SGs and SFs. The 'X' in [Player ID > X] is the smallest player ID number for players in the upcoming draft.
For C/C:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 0 ] AND [Secondary position = 0] AND [Player ID > X] AND [Height < 84]
- Give them a random height between 84 and 90
For C/PF:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 0 ] AND [Secondary position = 1] AND [Player ID > X] AND [Height < 82]
- Give them a random height between 83 and 86
For PF/C:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 1 ] AND [Secondary position = 0] AND [Player ID > X] AND [Height < 82]
- Give them a random height between 82 and 84
For PF/PF:
- Search in players.dbf for players who satisfy the following criteria:
[Primary position = 1 ] AND [Secondary position = 1] AND [Player ID > X] AND [Height < 81]
- Give them a random height between 81 and 83
+++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++
The Difficulties:
- As I mentioned before, I have no idea about creating batch files, so I have no idea if this is at all plausible.
- More specifically, I don't know if it is pausible to make a batch file that searches simultaneously through multiple .dbf files. This is a problem because to find those players with particular heights, the batch would have to first search the players.dbf to find the player positon(0, 1, 2, etc), then search the appearance.dbf file to find their heights. Don't know if there are instructions in batch files that could do this?
- Don't know if it is at all possible to give an instruction that gives a random number? Because this is necessary in order to randomly give a height between, say 84 and 89.
There's probably more difficulties I'm overlooking, but this post is long enough already as is...
What I really want to get is the opinions of all you excellent patchers of this community, whether this is at all plausible. Also, how do I get my hands on Cdbflite, so I can try this out myself?