Main Site | Forum | Rules | Downloads | Wiki | Features | Podcast

NLSC Forum

Talk about NBA Live 07 here.
Post a reply

So, anyone knows more about playbook editing?

Wed Nov 29, 2006 7:49 pm

I'm trying to work out a patch that dynamically, based on what players a team has in their roster, changes the plays the team is using. Currently it seems that when team changes players in the game, nothing changes (aka if Kobe is traded the Lakers, according to dbf files, keep still using the very same plays).

There are three plays related database files from what I know. plays dbf, teams.dbf and playmap.dbf.

Now, teams.dbf includes one that uses both. It has PBOOK_ID that relates to playmap.dbf, PRIM_OFF and SECON_OFF and ALT_1-4 which all relate to plays.dbf. It also has OPMAIN and DPMAIN which akwardly relates directly to playmap.dbf, while other defensive plays listed are all from plays.dbf. Also, every team seems to have by default the exact same defensive plays.

I tried to see whether changing the plays.dbf related ID's actually changes anything or not, and gave them values not existing in plays.dbf, but it did not seem to change gameplay.

I especially focused on New Jersey, where I'm always seeing 95% of the shots being taken by Carter, then Kidd, then Jefferson and am trying to find a way to -force- them to play for forwards more (unrealisitcally, but I want to see if it's possible)

According to teams.dbf and plays.dbf Nets primary offense should be an inside focused play from PG to PF, yet that's not the case (or is not the case often enough). Their secondary play seems to be purely PG focused, same with the rest.

Anyone has found a clear way how AI performs the plays in game and what it uses for that?

I'm trying to work out a patch that gathers information from players.dbf, takes into account the best two players in every team, then takes into account teams success in teams.dbf, and then patches plays/playmap and teamsdbf with fitting plays and homecourt advantages and the like settings which currently seem to be static in dynasty. Anyone who knows more about this issue and could perhaps point me in the right direction in how the plays are called by AI would be a great help.

Thanks

Thu Nov 30, 2006 2:32 pm

Sounds like an interesting project.

Do you know how plays.dbf works? The only plays in there, according to the names, are plays like Inside Triangle and Utah which no longer appear in the game.

I've tried playing with the three fields that list position, but cannot determine what those three fields do. For example, removing PG from any of them, replacing with C. I thought that would make plays more center oriented, but that isn't the case.

Someone wrote, and it seems true, that the game determines whether a player should shoot based on a circle around that player. If there is no defender within that radius, the player is likely to shoot. That means whoever gets the ball or whoever the human player guards is most likely to shoot, because the human just can't stick close enough.

BTW, simmed games have nothing to do with any of those files that deal with plays.

Thu Nov 30, 2006 3:25 pm

Actually, after thorough testing it seems that CPU does not use playmap nor teams-dbf to run plays. it does use plays.dbf however, but I've yet to understand the depths of that file, it's quite confusing in how it exactly works..


And yeah I know that simmed games have nothing to do with plays.
Post a reply