• 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!

.:: Revolution Mod 13 ::.

gonzaga

Reserve Team
Scouser, I still continiue having this problem with the ball assignments. My ball.lua file is updated, I'm putting the files in the right folder, regenerating and still no result. The balls for Champions league and Europa league are working fine. But when I try to assign a ball for Serie A for example, nothing changes. I even unticked the ball N'154 in FHL BH editor. Its just continiues to show up the same ball. And when I open FHL BH editor again, I see that the files of ball N'154 are ticked again.
Maybe this assignment is only for tournaments and not leagues?
 

scouser09

Senior Squad
xPr0metheus;3340509 said:
is or will it be possible to assign winter assessories to one player only so he will always wear them not only in winter/rain mode (but just he, not all the others, otherwise I know that I could just assign winter assessories to all weather options)

I looked at the code and I think you can actually already do this. If you put the winter accessory code into the sleeve length option with setSleeveLength, it should appear as the default when winter accessories are disabled. I have not tested this myself though.


armos;3340526 said:
Hi mates, I'm new on this and I was reading and editing stuff but I have a problem...

I know that in CM12 we can't change numbers and color of them because we can't save there, only regenerate bh after editing something...

So I use Revolution Mod 13 to edit it with notepad... but when I add this line:

assignKitDetails(team,kit,namefont,namecolour,lay,numberset,numbercolourshirt,numbercolourshort,fit,collar)

and Change the codes to this:

assignKitDetails(1876,1,5,-1,1,40,1,2,0,8)

I have problems with the namefont (the number 5)... What should I put there!? I thought it was a 5 because in CM12 it says that namefont is 5... but I get this:



with Home Jersey of River I have the same problem as Away Jersey..



The number is okay, but I get a half number below instead of namefont :( any idea?

-----------------
This is what my PLAYER.LUA file says:

assignKitDetails(1876,1,5,1,1,40,2,-1,0,8) >>>> THIS IS AWAY JERSEY
assignKitDetails(1876,0,5,2,1,40,2,1,1,0) >>>> THIS IS HOME JERSEY

Thank you very much.

With:

assignKitDetails(1876,1,5,1,1,40,2,-1,0,8) >>>> THIS IS AWAY JERSEY
assignKitDetails(1876,0,5,2,1,40,2,1,1,0) >>>> THIS IS HOME JERSEY

The namecolour must be a hexcode not an integer, try also setting the namecurve to -1.


k_h_a_n;3340692 said:
hey scouser, having great time with ur mod man, one question, can I change the color of the socks by writing statement in lua files..

For eg: I want to change the black socks of home kit of Sunderland to white..is it possible..If yes what statement should I use

You can not, you must edit the sock texture.


matheuzinho;3340928 said:
Great mod!!

But do you know how to get it working in xbox 360 version?

I already added kits and its working well... but revolution mod doesn't work =(

I am currently working on this with red".


Ronson;3340978 said:
Still cant change generic GK kit. I have gk kit in rx3, saved as kit_121_2_0.rx3 and kit_121_32_0.rx3.
In kit.lua is this code:
assignGKKit(121,0,1,{2,32})
assignKitDetails(121,32,-1,0xFF000000,269,2,2,-1) --GK White
assignGKKit(121,1,12)
assignGKKit(121,0,22)
assignGKKit(121,3,22)
assignGKKit(121,4,32)

in assets:
addExternalFile("player.lua")

And GK kit is still generic pink:facepalm:

In addition to k_h_a_n's found problems, assignGKKit(121,0,1,{2,32}) has too many paramters. In fact, since you have already assigned a GK kit to the home kit, you should remove this line.

Ronson;3341164 said:
Maybe something is wrong with my laptop, this makes no sense anymore. Im going by the manual.
assignGKKit(1,0,{2,12,13}) This is example for Arsenal in manual.
I have this: assignGKKit(121,0,{2,22,32})
121= Crewe, 0 = homekit, 2,22,32 are suposed to be GK kits. I have them in rx3 saved as kit_121_2_0.rx3 , ...22, and ....32. But nothing hapens, just dont get it.

You did use assignSpecificGKKit right? Also, any errors will result in the script not working.


The Danish;3341427 said:
I would just like to hear if you would be working on implementing my suggestion from the FIFA 12 forum:

I already added it. The parameter newkittype in assignGameKit can be entered as a list.


root4rulez;3341503 said:
can i assign 3th kit without touch the db

You can not. The game decides how may kits to show in the kit selection screen by reading the DB.


gonzaga;3341504 said:
Scouser, I still continiue having this problem with the ball assignments. My ball.lua file is updated, I'm putting the files in the right folder, regenerating and still no result. The balls for Champions league and Europa league are working fine. But when I try to assign a ball for Serie A for example, nothing changes. I even unticked the ball N'154 in FHL BH editor. Its just continiues to show up the same ball. And when I open FHL BH editor again, I see that the files of ball N'154 are ticked again.
Maybe this assignment is only for tournaments and not leagues?

Did you update your game? EA fixed this in the last update. However, I need to check if EA's fix involved updating ball.lua, I will need to update my code if so.
 

AcidPT

Club Supporter
Scouser quick question do you know the tournament id to Uefa Euro? It's not in the manual, just the world cup... thanks
 

gonzaga

Reserve Team
scouser09;3341672 said:
Did you update your game? EA fixed this in the last update. However, I need to check if EA's fix involved updating ball.lua, I will need to update my code if so.

No, I didn't update anything conserning EA fixes. What is included in this fix and where I can have a look at it? To be honest I wouldn't like to use patches from EA as my game couldn't start after that. And with all the changes I made so far in DB and stuff I don't know what would be the outcome of that.
 

lonewolf08

Club Supporter
gonzaga;3341504 said:
Scouser, I still continiue having this problem with the ball assignments. My ball.lua file is updated, I'm putting the files in the right folder, regenerating and still no result. The balls for Champions league and Europa league are working fine. But when I try to assign a ball for Serie A for example, nothing changes. I even unticked the ball N'154 in FHL BH editor. Its just continiues to show up the same ball. And when I open FHL BH editor again, I see that the files of ball N'154 are ticked again.
Maybe this assignment is only for tournaments and not leagues?

does fhl bh editor work?...never worked for me...try to regenerate using iard68's regenerator....just give a try
 

lonewolf08

Club Supporter
gonzaga;3341813 said:
No, I didn't update anything conserning EA fixes. What is included in this fix and where I can have a look at it? To be honest I wouldn't like to use patches from EA as my game couldn't start after that. And with all the changes I made so far in DB and stuff I don't know what would be the outcome of that.

If you have modded your fifa, edited your database...then updating from ea patches could overwrite your editing...be careful
 

lonewolf08

Club Supporter
Ronson;3341164 said:
Maybe something is wrong with my laptop, this makes no sense anymore. Im going by the manual.
assignGKKit(1,0,{2,12,13}) This is example for Arsenal in manual.
I have this: assignGKKit(121,0,{2,22,32})
121= Crewe, 0 = homekit, 2,22,32 are suposed to be GK kits. I have them in rx3 saved as kit_121_2_0.rx3 , ...22, and ....32. But nothing hapens, just dont get it.

You have not mentioned clearly where have you written this statement - in player.lua or kit.lua. According to ur earlier post these statements are written in kit.lua, if it is so then it will not work because the statement u have used:
assignGKKit(1,0,{2,12,13})
is a randomisation statement. According to scouser09's manual [on page 5 bottom line] u cannot add randomisation statement to an external lua file. Try adding it in player.lua which is integral lua file of the mod.
 

xPr0metheus

Reserve Team
I looked at the code and I think you can actually already do this. If you put the winter accessory code into the sleeve length option with setSleeveLength, it should appear as the default when winter accessories are disabled. I have not tested this myself though.

Works =) thank you

another thing: how to assign fingertapes?
 

gonzaga

Reserve Team
k_h_a_n;3341969 said:
If you have modded your fifa, edited your database...then updating from ea patches could overwrite your editing...be careful

Yes, thats what I thing. I won't do it after all.
About FHL BH - everytime I regenerate with it, it turns my DB back over to the original one and my editings are no more. Thats why I'm using i68 regenerator.
 

Ronson

Club Supporter
k_h_a_n;3341980 said:
You have not mentioned clearly where have you written this statement - in player.lua or kit.lua. According to ur earlier post these statements are written in kit.lua, if it is so then it will not work because the statement u have used:
assignGKKit(1,0,{2,12,13})
is a randomisation statement. According to scouser09's manual [on page 5 bottom line] u cannot add randomisation statement to an external lua file. Try adding it in player.lua which is integral lua file of the mod.

I have only this code, in player.lua:
--------------------------------------------------------------------------------------------------------------
--PLACE CUSTOM ASSIGNMENTS BELOW HERE
--------------------------------------------------------------------------------------------------------------

assignGKKit(121,1,12)
assignGKKit(121,0,22)
assignKitDetails(121,12,-1,-1,269,1,1,-1) --GK Purple
assignKitDetails(121,22,-1,-1,269,1,2,-1) --GK Grün

--------------------------------------------------------------------------------------------------------------
--PLACE CUSTOM ASSIGNMENTS ABOVE HERE
--------------------------------------------------------------------------------------------------------------
end
 

TanMak

Club Supporter
xPr0metheus said:
is or will it be possible to assign winter assessories to one player only so he will always wear them not only in winter/rain mode (but just he, not all the others, otherwise I know that I could just assign winter assessories to all weather options)

scouser09;3341672 said:
I looked at the code and I think you can actually already do this. If you put the winter accessory code into the sleeve length option with setSleeveLength, it should appear as the default when winter accessories are disabled. I have not tested this myself though.

I was also interested in setting winter accessories to one player through all seasons or conditions and when i setSleeveLength to 3 for a particular player, all players were suddenly invisible. Would be nice if it were possible I must say.
 

xPr0metheus

Reserve Team
TanMak;3342805 said:
I was also interested in setting winter accessories to one player through all seasons or conditions and when i setSleeveLength to 3 for a particular player, all players were suddenly invisible. Would be nice if it were possible I must say.

For me it worked :X
 

scouser09

Senior Squad
AcidPT;3341679 said:
Scouser quick question do you know the tournament id to Uefa Euro? It's not in the manual, just the world cup... thanks

Sorry, I do not. When I get the full version I will try to find the missing IDs.


root4rulez;3341700 said:
scouser, then how to add 3th kit in to database

New record in teamkits table, teamtechid = team id, teamkittypetechid = kit type, teamkitid must have unique value.


gonzaga;3341813 said:
No, I didn't update anything conserning EA fixes. What is included in this fix and where I can have a look at it? To be honest I wouldn't like to use patches from EA as my game couldn't start after that. And with all the changes I made so far in DB and stuff I don't know what would be the outcome of that.

The update features are listed here:
http://www.fifa-infinity.com/fifa-13/fifa-13-news-7/

You should still update your game, just be cautious. Backup your DB, squad files, ect. Also, maybe wait a few days before updating, if other users have problems then they will post about it.


xPr0metheus;3341981 said:
Works =) thank you

another thing: how to assign fingertapes?

I have not added support for accessories yet. It will only be possible to substitute accessories, not to add them.


Ronson;3342801 said:
I have only this code, in player.lua:
--------------------------------------------------------------------------------------------------------------
--PLACE CUSTOM ASSIGNMENTS BELOW HERE
--------------------------------------------------------------------------------------------------------------

assignGKKit(121,1,12)
assignGKKit(121,0,22)
assignKitDetails(121,12,-1,-1,269,1,1,-1) --GK Purple
assignKitDetails(121,22,-1,-1,269,1,2,-1) --GK Grün

--------------------------------------------------------------------------------------------------------------
--PLACE CUSTOM ASSIGNMENTS ABOVE HERE
--------------------------------------------------------------------------------------------------------------
end

Both of your assignKitDetails statements do not have enough parameters. You are reading the manual from V1.1 right?
 

Ronson

Club Supporter
yes, i'm going by the manual but I added all kind od Gk statments trying to make it work. Now I have only those four.
I downloaded some random gk kits, I think Mainz (Id 169). Then renamed the kits from 169_12_0.rx3 into 121_12_0.rx3. I can try later again. If only I could see one kit working I would figure it all out from there. Just can't brake the ice with first kit:-(

Just updated the code to:
assignGKKit(121,1,12)
assignGKKit(121,0,32)
assignKitDetails(121,12,18,"FFFFFF ",16,-1,1,1,-1,0) --GK white
assignKitDetails(121,32,18,"FFFFFF ",16,-1,1,1,-1,0) --GK Grün

This is the example from manual:
assignKitDetails(9,12,18, "FFFFFF ",16,-1,1,1,-1,0)
This assigns a GK kit (type 12) to Liverpool’s away kit. This kit is then assigned white Premier League style name and numbers, also collar 0. The new kit is kit_9_12_0.rx3

Not working.
 

AcidPT

Club Supporter
New problem, I added a generic league adboard for both spanish leagues - the id is 5 for both. This is the default adboard for the league. All teams that don't already have custom adboards should display this new generic one, but they display the EA default. I don't want to use assigntournamentadboard because that would replace all adboards for all teams... wat do?
 

V.K

Starting XI
Any chance for 'assignTournamentStadium' or 'assignTournamentStadiumFinal' feature?
Would be very nice for career mode tournament finals.
 

xPr0metheus

Reserve Team
So I hope you can add the accessory feature in future version of your mod :)

another question: is there a way to change a players body? (from thick to slim, e. g.)
 

gonzaga

Reserve Team
scouser09;3341672 said:
Did you update your game? EA fixed this in the last update. However, I need to check if EA's fix involved updating ball.lua, I will need to update my code if so.

I think these fixes even if they have something to do with the .lua files, would not fix the problem. I don't know if anyone else has suffered the same issue, but I've noticed that this only happens if I try to assign a ball to a league format. For tournament formats it works well.

20:50, today. I assigned the balls I want to each team from their respective leagues. It's the only way that could work for me. Now everything seems to be ok. I'm almost convinced that there is some connection between league ball and team ball, which is preventing to assign a different balls to a team and to its league.
 


Top