scouser09
Senior Squad
I have found a small bug. This fix will allow special mode to work correctly if enabled (it will only show the special adboard ID at present, not the assigned ID in career mode league matches). Replace the line "if specialAdboardsEnabled == true) then" with "if ((db.stadium[idx].adboardID == 1) and specialAdboardsEnabled) then" This line is near the end of the file, originally line 464.
38 is the highest ID assigned in the database. I do not know if there is an upper limit.
Yes, you will need to make the following edits:
-Delete the line "initAdboardArray()", which was line 85 initially.
-Replace the line "return 1" with "return ad". This line is near the end of the file, initially line 466.
Did you regenerate after adding the mod? Have you imported the same texture to ID 1 as you imported to ID 9? Based on what you have told me, you should see ID 1 in all matches. If you apply the fix at the start of this post then you should see ID 47 in career mode league matches, ID 1 in all others.
V.K;3176835 said:one question - what are unused adboard IDs whic can be used for new adboards?
38 is the highest ID assigned in the database. I do not know if there is an upper limit.
Cesc Fabregas;3176895 said:One question, how can I delete the preassignements, I only want them to use a specific ID if I
assign it in
Friendly mode. For non assigned teams I still want to use the default adboard ID 1 in Friendly mode. Possible?
Yes, you will need to make the following edits:
-Delete the line "initAdboardArray()", which was line 85 initially.
-Replace the line "return 1" with "return ad". This line is near the end of the file, initially line 466.
ledatcr2;3177222 said:My problem :
1) I charge : specialAdboardsEnabled = true
specialAdboardsID = 1
2) assignAdboard(47,47) (ID Team : Milan, adboard : 47)
3) Save file stadium.lua
4) I go to CM12 and add texture for adboard for ID 47
but ingame Milan's adboard is still is defaut ID=9 ?
What's wrong ?
Did you regenerate after adding the mod? Have you imported the same texture to ID 1 as you imported to ID 9? Based on what you have told me, you should see ID 1 in all matches. If you apply the fix at the start of this post then you should see ID 47 in career mode league matches, ID 1 in all others.