• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

Exocyst's Career Mode Tweaks

Djigi

Club Supporter
It's my first post, I still can't open a thread, so I'll post here as I think is appropriate.
I apologize to all involved if I pollute the discussion.

MATCHEXPERIENCEPOINTS_INJURED_BASE = 0 , is a line from playergrowth.ini
As far as I have noticed player attributes don't change while injured (Growth is stalled). If this is changed to a positive or a negative value (Which is correct?) will it make att decrease over time? I've seen a few times young players to lose stats but I thinks is due to following ...
PHYS_P1_X = 16
PHYS_P1_Y = 45
PHYS_P2_X = 21
PHYS_P2_Y = 110
PHYS_P3_X = 27
PHYS_P3_Y = 110
PHYS_P4_X = 39
PHYS_P4_Y = 65
from the same file. meaning their initial stats are higher than they should be, considering their potential. Even though growth actually works this year, considering Fifa 12, my lousy guess is that the curves keep them constrained.
So even though players grow differently in-game(meaning only numbers), it might be that a low 65 with potential of 88 grows the same as a 74 with potential of 82. Its hard to determine whether match experience , form and so forth account for a decent variation, though I've seen players exceed their potential.
For example, you may notice that certain players grow for a few points up to November, and then growth is stalled until next season.
Is it possible to add more Xs and Ys, I guess the x denotes age, that the game can read. More importantly what would you suggest as to increase the influence of match experience, injuries and other factors over these curves as to make the growth more dynamic and responsive to immediate circumstances in the ongoing season , resulting in a lot more variation in player overall.
Exo I hope you dont mind the wall of text , I apoloize once again.
regards
 

Djigi

Club Supporter
One more thing , since I already did the damage. In the youthplayerattribute table in the db there is a column for age, 16 and 17, and double the lines for every type of player. I'm rather stupid, why is that? whats the purpose of the age thingy?
 

Ivsa

Youth Team
Hy Exocyst, i will not bother to start any career without your mods, i used all of your mods in FIFA 12, they ware perfect, kudos to you, and congrats on the new adition to your family!?

I some random thread i saw that its possible to disable the transfers in the ini files, and then when you come to the winter transfers you can enable it in ini, regenerate and that the transfer will now be enabled in your existing career, if some one could test this, since i yet don have FIFA 13, that mod could avoid transfers on the start of the new career so that we would have identical team until the winter transfers?!
 

Exocyst

Youth Team
x119;3325710 said:
1) Wow, congrats man! So we'll have another great mind of modding soon! (Y)
2) Sounds very very difficult...

Thanks I appreciate it.

Surprisingly, editing tables in memory is easy with a lua script is easy, but the hard part is initializing the db into temporary memory. The even more difficult part is commiting the changes into the career mode save file. However, if we figure this out we could write a backdoor to edit careermode settings, formations, tacicts, players in already started careers. I'll make a detailed post of the approach when my daughter (and me by extension) starts sleeping more at night.

BTW. I have no problem with any one posting their career mode tweaks here, I am in favor of a free exchange of ideas, but I am not critical of those who prefer a more individual approach.

Cheers,
Exo
 

Ivsa

Youth Team
Ivsa;3327484 said:
I some random thread i saw that its possible to disable the transfers in the ini files, and then when you come to the winter transfers you can enable it in ini, regenerate and that the transfer will now be enabled in your existing career, if some one could test this, since i yet don have FIFA 13, that mod could avoid transfers on the start of the new career so that we would have identical team until the winter transfers?!

Just to confirm this, i the other thread where i read this, they confirmed that this work, so you can disable the transfer on the start of the career and when you come to winter transfer you can enable it, and it wont mess up your existing career!?

This is the mini-tutorial:

1. put file "cmsettings.ini" in "your Fifa13 folder\Game\dlc\dlc_FootballCompEng\dlc\FootballCo mpEng\data"

2. Open file "cmsettings.ini" with notepad and change string "Transfer = 1" to zero and save

3. open the program "FHL-BH-Editor", select "data1".

4. search the string "dlc\dlc_FootballCompEng\dlc\FootballCompEng\data\ cmsetting.ini" and UNTICKED!!!!

5. Click su "Save Bh-File"

6. That's all
 

Exocyst

Youth Team
Database editing from lua scripts

Okay fellow modders, I have been digging into scripts of the game trying to figure out how to make lua scripts access and alter the SQL fifa-ng-db from within career mode. Here is what I have found so far.

1st, the global declaration of gSportsRNA was already made on boot in boot.lua (this line):
Code:
gSportsRNA = SportsRNA:new()

2nd, we need to initialize a local gSportsRNA handler for all of our new requests to: SportsRNA::new():
Code:
local as = gSportsRNA

3rd, we need to define lua objects for each table of the database we want to use:
Code:
local formationsTable = as:GetTable("formations", idx)
local teamsTable = as:GetTable("teams", idx)
This obviously requires further description:
So, our Lua command has an SQL Command equivalent of 'SELECT RECORD FROM TABLE'. In other words, select record by 'idx' from table. Now, each time we call formationsTable in Lua, a command is passed to the game engine:
Code:
SportsRNA::GetTable("formations", idx)
So, importantly, 'formationsTable' is not a proper Lua table and is incompatible with the functions of the Lua tables library.

4th, Here are examples of the syntax for a Lua request of a specific SQL table record:
Code:
stringValue = as:GetString(formationsTable, "formationname")
floatValue = as:GetFloat(formationsTable, "offset0y")
intValue = as:GetInt(teamsTable, "buspassing")
This too requires further description:
Remember, formationsTable is an idx-dependent lua object which describes a specific SQL record in the SQL table "formations". "formationname" and "offset0y" are specific columns in SQL table "formations", and "buspassing" is a column in SQL table "teams". The game engine will actually execute this command, which in this case, returns a string:
Code:
SportsRNA::GetString( SportsRNA::GetTable("formations", idx), "formationname")

5th, Here are examples of the syntax for a Lua request to update SQL table records:
Code:
as:SetString(formationsTable, "formationname", "4-4-2(1)")
as:SetFloat(formationsTable, "offset0y", 0.1500)
as:SetInt(teamsTable, "buspassing", 35)
Further elaboration of what is going on:
Remember, formationsTable is an idx-dependent lua object which describes a specific SQL record in the SQL table "formations". "formationname" is a specific column in SQL table "formations". Finally, we supply a "string" which will replace the current value in column "formationname", row "idx" of SQL table "formations".

The game engine will actually execute this command:
Code:
SportsRNA::SetString( SportsRNA::GetTable("formations", idx), "formationname", "4-4-2(1)")

So, this is where I am at presently in understanding how to make Lua functions communicate with the formations and teams tables of the database from within a career mode Lua script. If we can get this working, the sky is truly the limit for career mode editing. I hope this generates the basis for some interesting game modifications in the future.
 

stingo

Club Supporter
Exocyst;3330731 said:
So, this is where I am at presently in understanding how to make Lua functions communicate with the formations and teams tables of the database from within a career mode Lua script. If we can get this working, the sky is truly the limit for career mode editing. I hope this generates the basis for some interesting game modifications in the future.

These are great findings. I wonder how hard it would be to modify player attributes instead of editing db in excel everytime. Db is copied when you start career or a tournament afaik.
 

techneek

Club Supporter
@Exocyst: any idea how I can edit the suspension feature in career mode? Every time I get a straight red card the player only gets a 1 match ban. I tried editing settings.txt: I changed 0,rule_numgamesbanredmax,1 and 0,rule_numgamesbanredmin,1 to 0,rule_numgamesbanredmax,3 and 0,rule_numgamesbanredmin,2, regenerated, but I still only get 1 match ban for a direct red card.

Please help
 

Exocyst

Youth Team
techneek;3331245 said:
@Exocyst: any idea how I can edit the suspension feature in career mode? Every time I get a straight red card the player only gets a 1 match ban. I tried editing settings.txt: I changed 0,rule_numgamesbanredmax,1 and 0,rule_numgamesbanredmin,1 to 0,rule_numgamesbanredmax,3 and 0,rule_numgamesbanredmin,2, regenerated, but I still only get 1 match ban for a direct red card.

Please help

You should check and see if there is a league specific line in setting.txt

The "0,rules" govern all games unless they have a specific rule applied. So each competition may also have its own specific red card suspension settings.

Search for the string:

rule_numgamesbanredmin

You should find other instances with numbers besides '0'. Now, see if your league has its own rule set.
 

techneek

Club Supporter
Exocyst;3331322 said:
You should check and see if there is a league specific line in setting.txt

The "0,rules" govern all games unless they have a specific rule applied. So each competition may also have its own specific red card suspension settings.

Search for the string:

rule_numgamesbanredmin

You should find other instances with numbers besides '0'. Now, see if your league has its own rule set.

I did what you said and I didnt find any other string like that. I did however find several "rule_suspension" strings. Maybe this is the cause? The problem is, I started several careers in leagues like Premier League, Championship, Ligue 1 and Bundesliga and they all seem to work under the 1 match ban for a red card rule, which is unrealistic (I know for a fact that the EPL rules are 3 matches ban for a direct red card). Do you know what should I do to make it 3 games ban? I looked all over for the suspension rule and I couldnt find the settings for specific leagues so I can edit them.
 

fifaCCitiu.com

Senior Squad
if dowsn't exist that string just add, see how is structured the settings.txt and add it. I think you have to search for asset_id,13 and add near that
 

techneek

Club Supporter
fifaCCitiu.com;3331592 said:
if dowsn't exist that string just add, see how is structured the settings.txt and add it. I think you have to search for asset_id,13 and add near that

Im no modder, I have no idea how to do that kind of stuff. Wish I did :)
 

goldfinger

Youth Team
Two interesting things I found:
storylinestuning.lua - FOREIGN INVESTOR - cpuBudget = 100.000.000 -- Funds added to the purchased cpu team (I have lowered it to 40 mil)
trainingevents.ini - MAX_TRAINING_INJURIES_PER_MONTH = (I have increased it to 3)
PER_OF_INJURIES_OCCURING_PER_MONTH = (I have increased it to 90)
 

mixed_boy

Reserve Team
Exocyst;3314789 said:
I like to tweak the career mode files to improve my game experience. In this thread I will provide the tweaks I have made to improve my own personal experience.

See posts below for more info:

Collected posts:
Reduced Transfers
Expanded friendlies w/ 11 substitutions
Updated fitness model

Collected files:
transfers.ini: Increased failed transfer negotiations.
transferteamdescision.ini: Reduced Transfers settings
settings.txt: expanded (11) substitutions during friendlies (simulation only)
cmsettings.ini: expanded (6) friendlies and default fitness model
cmsettings.ini: expanded (6) friendlies and updated fitness model
cmsettings.ini: default (3) friendlies and updated fitness model

Installation instructions:
1. Install files to correct directory:
cmsettings.ini
C:\Program Files\Origin Games\FIFA 13\Game\dlc\dlc_FootballCompEng\dlc\FootballCompEng\data​
transfers.ini
C:\Program Files\Origin Games\FIFA 13\Game\dlc\dlc_FootballCompEng\dlc\FootballCompEng\data​
transferteamdecision.ini
C:\Program Files\Origin Games\FIFA 13\Game\dlc\dlc_FootballCompEng\dlc\FootballCompEng\data​
settings.txt
C:\Program Files\Origin Games\FIFA 13\Game\dlc\dlc_FootballCompEng\dlc\FootballCompEng\data\compdata​

2. Check out iar68's tools thread, and download the excellent i68regenerator

3. Run the i68regenerator in your FIFA/Game directory. This program will search your fifa directory for custom files and remove them from the data1.bh header file. This way the game will know to use the file in your directory and not in the data1.big storage file.

do i delete the transfer.ini (not transferS) that was already in the folder?
 

Exocyst

Youth Team
mixed_boy;3334404 said:
do i delete the transfer.ini (not transferS) that was already in the folder?

Yes, if you wish to try a new transfer.ini and you already have one in that folder, then you will need delete the old one. Use the i68Regenerator you are done and the changes will be included in the game
 

Desaan

Club Supporter
When using these files is just running the i68 regen tool from the game directory enough? I don't see any other instructions, are you supposed to select any kind of operation from the drop down menu and click go?

Forgive my ignorance :)
 

demiurgous

Club Supporter
hy exocyst, i'm using a collection of your files...

They're working smoothly as butter, simply fantastic!

But i got a bug, everytime i wanna change team into the carrer mode as a manager, EVERY single team i ask for, refuse me saying they have looked at my CV and they're going on another candidate :bwtf:

It's like that if i'm going very well (won Maisterschale and went on the final of Uefa Champions League with Borussia Dortmund) and i'm asking for any kind of team, from Friburgo, OL, to ManUTD! ! !

I think that the only file i've installed which changed something and created that bug, can be your cmsetting.ini, i've searched in it, but i cannot find anything related to job offers...could you look at it?
 


Top