• 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 12 ::.

The Danish

Reserve Team
I'm having some problems assinging kitfont and numbers using the mod.

I'm using this code:
assignRandomGKKit(269,0,{2,11,12,13})
assignRandomGKKit(269,1,{2,11,12,13})

assignKitDetails(269,0,269,0xFF1A2648,269,13,1,9)
assignKitDetails(269,1,269,0xFFCCF04C,269,15,1,7)
assignKitDetails(269,2,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,11,269,0xFF1A2648,269,13,1,0)
assignKitDetails(269,12,269,0xFF232323,269,2,1,0)
assignKitDetails(269,13,269,0xFFDCDCDC,269,1,1,7)

And I have the following files in the "sceneassets"-folder:

\kit:
kit_269_0_0.rx3 , kit_269_1_0.rx3 , kit_269_2_0.rx3 , kit_269_11_0.rx3 , kit_269_12_0.rx3 , kit_269_13_0.rx3

\kitnumbers:
kitnumbers_269_1.rx3 , kitnumbers_269_2.rx3 , kitnumbers_269_13.rx3 , kitnumbers_269_15.rx3

\jerseyfonts:
font_269.ttf

The game crashes as soon as I'm going to select the team kits in the menu. I don't see the problem, if someone does, please let me know, thanks :)

EDIT:

I solved the problem my self :) Apperently the problem was the kitnumbers which I had created using CM12, but there was something wrong with them, so instead I used CM to export a working kitnumber set and replaced the textures using Texture Editor and voila, everything works perfectly! :D
 

The Danish

Reserve Team
I know that I'm probably pushing it a bit too far, but would it be possible to assign probabilities to the different goalkeepers kit in the "assignRandomGKKit"-command? :) eg. keeper1 80%, keeper2 15%, keeper3 5%

... and another thing that might be easier: would it be possible to add the different font and number options from CM12 to the mod? eg. font case (UPPER, lower, Mixed Case), Layout (Curved, Straight), Name curvature, position/size etc.? :)
 

scouser09

Senior Squad
::..Federico Debla..::;3256909 said:
Yeah, homie!!!!!! It worked!. I changed every "assignplayerface" to "assignPlayerFace", then regenerated using CM12 and it worked! Can't believe I went through so much trouble and it was this easy! You should put a huge sign saying REVOLUTION MOD'S STATEMENTS ARE CASE SENSITIVE!!!

One more question: Is there anything wrong with this statement?: assignKitDetails(243,1,-1,-1,-1,-1,-1,7) I'm trying to change Real Madrid's home kit collar to fit the new kit I downloaded... but in came it still shows a different collar.

I forgot to add that to the manual.


The Danish;3257056 said:
I don't know if you already knows this, but when I was testing the mod regarding adboards I noticed that in the "Town Park" stadium (used by eg. the Danish team SønderjyskE) you only see the top 8 of the 16 different adboards. I don't know if this could help you if you are still trying to be able to change the kinds of adboards used in a stadium (if this is in any way possible?).

Thanks for a great mod that works perfectly regarding the things I have been able to test so far :) Keep up the good work! :D

I think this is because the stadium model only uses 8 of the textures.


ForzaMilan;3257183 said:
Is it possible to assign player to team with RM? For examlpe Vaclav Pilar who was in older version.

This is not possible.


sahib;3257333 said:
@scouser: I tried changing boots using players.lua for dlc 2012...It changed in fifa 12 but not for euro 12...regenerated as well...but no change

Thanks.


cheironHH;3257382 said:
@scouser09:

i only edited my stadium.lua, not my player.lua...

some examples:

assignAdboard(110456,62)
assignAdboard(226,61)
assignTournamentAdboard(223,10)
assignTournamentAdboard(224,20)

it doesn't work...
but i want to play version 1.5 with dlcs and euro2012.
i will wait for your solution.

thank you for your efforts!

Do any assignments from your stadium.lua show in the main game? If you can not find a problem with any assignments and have regenerated with CM12, upload your stadium.lua.


The Danish;3259054 said:
I know that I'm probably pushing it a bit too far, but would it be possible to assign probabilities to the different goalkeepers kit in the "assignRandomGKKit"-command? :) eg. keeper1 80%, keeper2 15%, keeper3 5%

... and another thing that might be easier: would it be possible to add the different font and number options from CM12 to the mod? eg. font case (UPPER, lower, Mixed Case), Layout (Curved, Straight), Name curvature, position/size etc.? :)

You can create bias for the random GK kit selection by entering the kit ID multiple times in the array.

For example:
assignRandomGKKit(269,0,{2,2,2,2,11,11,12,13})

The font case and curvature can be done. The size and positions are contained in the kit file, not the database.
 

FormotioN 94

Starting XI
scouser09 if you remember, I said some time ago about the problem with name color for random gk kit, and you said, that you could fix that bug! Maybe you could say when you release update?:)
 

The Danish

Reserve Team
scouser09;3259759 said:
I think this is because the stadium model only uses 8 of the textures.

Yes ok, but is it possible to change that?

scouser09;3259759 said:
You can create bias for the random GK kit selection by entering the kit ID multiple times in the array.

For example:
assignRandomGKKit(269,0,{2,2,2,2,11,11,12,13})

The font case and curvature can be done. The size and positions are contained in the kit file, not the database.

That's great!! :D and so simple as well ;) Thanks! :)

Actually... one more thing... I would like to be able to use different numbers for the shirt and shorts. That should be possible, or?

Thanks again for a great mod! :)
 

pao4ever

Starting XI
Scous, I tested RM with the Euro DLC and some things, like players' boots and tattoos and also referees kits collar assignements were working really nice! although, player faces were not assigned with RM...
 

ChelseaFC21

Club Supporter
Having two of the same statement won't cause a problem, will it? Will it just read them both and only apply it once? Example:

Say I'm adding facepacks, and two different packs contain a player included in both. Is it okay to have a duplicate of the assign face assignment in the lua, or do I need to verify there aren't any duplicates?

Hope I made sense lol.
 

cheironHH

Youth Team
scouser09;3259759 said:
Do any assignments from your stadium.lua show in the main game? If you can not find a problem with any assignments and have regenerated with CM12, upload your stadium.lua.

No, and i am referring to the main-game all the time, euro-2012-mode is irrelevant, its default-adboards are very good. :)

Before this i play only a gameversion 1.0 and your mod worked very fine for me.
Now i have installed an all-in-one version (gameversion 1.5, inclusive maingame-dlc and inclusive euro2012-addon/dlc).

I use the same path like before (C:\Program Files (x86)\EA Sports\UEFA EURO 2012\Game\data\fifarna\lua\assets).

And i only modified the stadium.lua...

http://www.mediafire.com/?83cs9tooi0m4hav

I tried EVERYTHING, believe me.
You are my last hope. :)
 

The Danish

Reserve Team
I have found some new problem with the assigning of fonts and numbers, this time regarding the colours.

I have added some new Silkeborg kits to the game (a third kit, and 5 different keeper kits) using the following code:

--Silkeborg IF
assignRandomGKKit(270,0,{2,2,2,11,12,13,14})
assignRandomGKKit(270,1,{2,2,11,11,12,13,14})
assignRandomGKKit(270,3,{2,12,14})

assignKitDetails(270,0,270,0xFFDCDCDC,270,1,4,0)
assignKitDetails(270,1,270,0xFFDCDCDC,270,1,1,0)
assignKitDetails(270,3,270,0xFFDCDCDC,270,1,4,0)

assignKitDetails(270,2,270,0xFFDCDCDC,270,1,1,0)
assignKitDetails(270,11,270,0xFFDCDCDC,270,1,1,0)
assignKitDetails(270,12,270,0xFF232323,270,2,2,0)
assignKitDetails(270,13,270,0xFFDCDCDC,270,1,1,0)
assignKitDetails(270,14,270,0xFFDCDCDC,270,1,1,0)

The problem is that both the home, away and third kit are supposed to have white names and numbers and they are white for the away and third kit, but for some reason they are black for the home kit, I have NO idea why?!?! :confused:

The same kind of problems exist with a lot of the other teams I have edited actually only for the keeper kits. The colours ingame don't match the colours in the code...
I don't know if an explanation could be the way I have made the extra keeper kits? I have copied the first one which I made with CM12, and then renamed the file and replaced the textures using Texture Editor. (Another way could be to make one keeper kit at a time, each time renaming the newly created keeper kit.


Another problem I have is that the collarchange does not show up ingame: eg. Sønderjyske:
assignKitDetails(270,0,270,0xFF232323,270,2,2,8)
assignKitDetails(270,1,270,0xFFDCDCDC,270,1,1,8)
...
assignKitDetails(270,2,270,0xFF232323,270,2,1,7)

The keeper kit is made from the away kit (collar 8) using CM12, but I changed the collar to 7 using the mod. But the collar for the keeperkit is still 8 ingame... and again I am mystified... :confused:
 

scouser09

Senior Squad
FormotioN 94;3259769 said:
scouser09 if you remember, I said some time ago about the problem with name color for random gk kit, and you said, that you could fix that bug! Maybe you could say when you release update?:)

I remember the problem, I have not found a soloution so far but I intend to keep trying. I can not say when the next update will be, I do not have much time at the minute to work on it. I do intend to make an update though.


The Danish;3259803 said:
Yes ok, but is it possible to change that?



That's great!! :D and so simple as well ;) Thanks! :)

Actually... one more thing... I would like to be able to use different numbers for the shirt and shorts. That should be possible, or?

Thanks again for a great mod! :)

If I am right then you would need to edit the stadium model, I do not think anyone has found how to do this. The different number types for shirts and shorts is possible. I will look at the Silkeborg and Sønderjyske assignment problem soon.


pao4ever;3259836 said:
Scous, I tested RM with the Euro DLC and some things, like players' boots and tattoos and also referees kits collar assignements were working really nice! although, player faces were not assigned with RM...

Thanks, this confirms at least some assignments work in Euro 2012 mode!


ChelseaFC21;3259917 said:
Having two of the same statement won't cause a problem, will it? Will it just read them both and only apply it once? Example:

Say I'm adding facepacks, and two different packs contain a player included in both. Is it okay to have a duplicate of the assign face assignment in the lua, or do I need to verify there aren't any duplicates?

Hope I made sense lol.

This should not cause a problem.


cheironHH;3260032 said:
No, and i am referring to the main-game all the time, euro-2012-mode is irrelevant, its default-adboards are very good. :)

Before this i play only a gameversion 1.0 and your mod worked very fine for me.
Now i have installed an all-in-one version (gameversion 1.5, inclusive maingame-dlc and inclusive euro2012-addon/dlc).

I use the same path like before (C:\Program Files (x86)\EA Sports\UEFA EURO 2012\Game\data\fifarna\lua\assets).

And i only modified the stadium.lua...

http://www.mediafire.com/?83cs9tooi0m4hav

I tried EVERYTHING, believe me.
You are my last hope. :)

Your stadium.lua looks fine to me, the problem must be your game not reading the file. Your path seems strange to me, should the "UEFA EURO 2012" folder be "FIFA 12" instead?
 

The Danish

Reserve Team
scouser09;3261123 said:
If I am right then you would need to edit the stadium model, I do not think anyone has found how to do this. The different number types for shirts and shorts is possible. I will look at the Silkeborg and Sønderjyske assignment problem soon.

This is a bit embarrassing... I found a solution to the collar-assignment problem. As you can see in my original post on my problem I have used the same team id for both Silkeborg and Sønderjyske (Thanks to my copy-paste skills ;)), which caused both that the Silkeborg home font and numbers were black and the collar of the Sønderjyske keeper was the wrong one.

BUT there's still some problems. I don't know if it could be that the colours are randomly assigned to the different keeper kits? I started a match with both teams being HB Køge and the colour of the name of the light green keeper shirt was wrong. I then went back into the menu and started the same match up again (still between two HB Køge teams), but with the two alternative kits) and the same light green keeper kit was used but this time with the jerseyname in the right colour! :confused:

If you are in need of beta-testers I'm more than willing ;) You are also more than welcome to send me an pm if you are a bit bothered by my very long explanations ;)

My HB Køge code (the colours in the comments are the colours of the kit: Jersey, Shorts, Socks):
--HB Køge
assignRandomGKKit(826,0,{2,2,11,11,12})
assignRandomGKKit(826,1,{2,2,11,11,13})
assignRandomGKKit(826,3,{2,2,11,11,12})
assignRandomGKKit(826,4,{2,2,11,11,13})
assignKitDetails(826,0,826,0xFFDCDCDC,826,1,1,7) --Home: Blue, Black, Blue
assignKitDetails(826,1,826,0xFF232323,826,2,1,0) --Away: Orange, Black, Orange
assignKitDetails(826,3,826,0xFFDCDCDC,826,1,2,7) --Home: Blue, White, White
assignKitDetails(826,4,826,0xFF232323,826,2,2,0) --Away: Orange, White, Orange
assignKitDetails(826,2,826,0xFFDCDCDC,826,1,1,7) --Keeper1: Dark green, Dark green, Dark green
assignKitDetails(826,11,826,0xFF232323,826,2,1,7) --Keeper2: Light green, Grey, Lightgreen
assignKitDetails(826,12,826,0xFFDCDCDC,826,1,1,7) --Keeper3: Red, Red, Red
assignKitDetails(826,13,826,0xFFDCDCDC,826,1,1,7) --Keeper4: Blue, Blue, White
 

scouser09

Senior Squad
The Danish;3261527 said:
This is a bit embarrassing... I found a solution to the collar-assignment problem. As you can see in my original post on my problem I have used the same team id for both Silkeborg and Sønderjyske (Thanks to my copy-paste skills ;)), which caused both that the Silkeborg home font and numbers were black and the collar of the Sønderjyske keeper was the wrong one.

BUT there's still some problems. I don't know if it could be that the colours are randomly assigned to the different keeper kits? I started a match with both teams being HB Køge and the colour of the name of the light green keeper shirt was wrong. I then went back into the menu and started the same match up again (still between two HB Køge teams), but with the two alternative kits) and the same light green keeper kit was used but this time with the jerseyname in the right colour! :confused:

If you are in need of beta-testers I'm more than willing ;) You are also more than welcome to send me an pm if you are a bit bothered by my very long explanations ;)

My HB Køge code (the colours in the comments are the colours of the kit: Jersey, Shorts, Socks):
--HB Køge
assignRandomGKKit(826,0,{2,2,11,11,12})
assignRandomGKKit(826,1,{2,2,11,11,13})
assignRandomGKKit(826,3,{2,2,11,11,12})
assignRandomGKKit(826,4,{2,2,11,11,13})
assignKitDetails(826,0,826,0xFFDCDCDC,826,1,1,7) --Home: Blue, Black, Blue
assignKitDetails(826,1,826,0xFF232323,826,2,1,0) --Away: Orange, Black, Orange
assignKitDetails(826,3,826,0xFFDCDCDC,826,1,2,7) --Home: Blue, White, White
assignKitDetails(826,4,826,0xFF232323,826,2,2,0) --Away: Orange, White, Orange
assignKitDetails(826,2,826,0xFFDCDCDC,826,1,1,7) --Keeper1: Dark green, Dark green, Dark green
assignKitDetails(826,11,826,0xFF232323,826,2,1,7) --Keeper2: Light green, Grey, Lightgreen
assignKitDetails(826,12,826,0xFFDCDCDC,826,1,1,7) --Keeper3: Red, Red, Red
assignKitDetails(826,13,826,0xFFDCDCDC,826,1,1,7) --Keeper4: Blue, Blue, White

There is a known bug with the name colours of randomly assigned kits. I have been investigating this and have a theory about what causes it.

My theory is that FIFA runs the script twice, first time to load assets such as kit and number textures, the second time is to get the name colour to generate textures for the names (you can see these with texmod). When the script is run to get the name colour, it will randomly select a new GK kit and give the name colour of that kit.

I can fix the problem, but it will mean the GK kit selection will be less random.
 

hockeysauce

Club Supporter
This mod looks amazing and will help tremendously when I get started with my career mode. This is exactly why I got FIFA for PC. Thanks!!!
 

The Danish

Reserve Team
scouser09;3261574 said:
There is a known bug with the name colours of randomly assigned kits. I have been investigating this and have a theory about what causes it.

My theory is that FIFA runs the script twice, first time to load assets such as kit and number textures, the second time is to get the name colour to generate textures for the names (you can see these with texmod). When the script is run to get the name colour, it will randomly select a new GK kit and give the name colour of that kit.

I can fix the problem, but it will mean the GK kit selection will be less random.

Ok good to now that it's not a mistake in my code :) Hope you can solve this. As long as there is some randomness I'm happy :)
 

Randev

Club Supporter
Hi Guys, I'm new here, so greetings to you all.. :)

I come with a problem. Please bear with me, and I'm sorry if it's already been asked before. So I first installed Zlatan87's TV Popups Changer mod, and it was working perfectly. Wipes, Scoreboards, Popups, everything.. Then I installed the revolution mod so I could add in Adboards and Kits. The first time I did that, the wipes stopped working, but i re-installed Zlatan's mod and it was back to normal. However the second time I added more adboards, the same thing happened, and now even the scoreboards and popups don't work anymore. Tried re-installing, tried regenerating, nothing seems to work.. Please help? :blush:
 

scouser09

Senior Squad
I have recently started work on the next version. I have found a solution to the random GK name bug, but it needs to be improved to give a more random selection. I do not have a lot of time to work on it so I can not add every suggestion which can be done. I will anounce new features when they are complete. It will be the last version for FIFA 12, I plan to adapt it to FIFA 13 if possible.


Mdjim;3262336 said:
What about parameter to activate front number on jersey?

Sorry, this can not be done.


Randev;3262386 said:
Hi Guys, I'm new here, so greetings to you all.. :)

I come with a problem. Please bear with me, and I'm sorry if it's already been asked before. So I first installed Zlatan87's TV Popups Changer mod, and it was working perfectly. Wipes, Scoreboards, Popups, everything.. Then I installed the revolution mod so I could add in Adboards and Kits. The first time I did that, the wipes stopped working, but i re-installed Zlatan's mod and it was back to normal. However the second time I added more adboards, the same thing happened, and now even the scoreboards and popups don't work anymore. Tried re-installing, tried regenerating, nothing seems to work.. Please help? :blush:

Zlatan's mod includes Revolution Mod. Install his mod and then add your statements.
 

cheironHH

Youth Team
scouser09;3261123 said:
Your stadium.lua looks fine to me, the problem must be your game not reading the file. Your path seems strange to me, should the "UEFA EURO 2012" folder be "FIFA 12" instead?

I am going crazy!

After trying a lot more, i deinstall the game, delete all folders, delete all fifa registry-keys, install the game new in path C:\Program Files (x86)\EA Sports\FIFA 12, patch with revolution mod 1.2 and insert the custom assignments in the new stadium.lua (http://www.mediafire.com/?mj2st12jtiaz932) installed in path C:\Program Files (x86)\EA Sports\FIFA 12\Game\data\fifarna\lua\assets and then i inserted the respective adboard rx3-files in here C:\Program Files (x86)\EA Sports\FIFA 12\Game\data\sceneassets\adboard.

Finally i regenerate without any problems and exit the tool with the first option (take care of edited file stored directly in folders) at the end of the regenerating-process.

I try running game as admin and not as admin...

and it doesn't work!! I'm so angry about, cause i don't understand why the f***... with my old gameversion (1.0-reloaded) it always worked without any problems... and now (1.5-skidrow)... big sh**.

Are there any possible reasons, why the .lua-files don't have an effect ingame? All sceneassets-.rx3-files (balls, kits, stadiums, banners) are working without any problems and if i change the adboard-graphics in the default-IDs they are working too, but any lua-assignment to an other ID has no effect.

Please think about it again, there most be a logical reason why especially the lua-assignments doesn't work ingame like they did for me in gameversion 1.0.

Thanks in advance scouser09!!
 

The Danish

Reserve Team
scouser09;3263127 said:
I have recently started work on the next version. I have found a solution to the random GK name bug, but it needs to be improved to give a more random selection. I do not have a lot of time to work on it so I can not add every suggestion which can be done. I will anounce new features when they are complete. It will be the last version for FIFA 12, I plan to adapt it to FIFA 13 if possible.

Sounds good that you are close to a solution regarding the random GK bug, and I really hope you are able to keep up your fantastic work with FIFA 13 :)

I found another small bug it would be nice if you could solve. It is regarding the goalnets. If you have two different teams who both have teamspecific goalnet, but both have the same home stadium, then the goalnet doesn't change if you first play one match with the first team as home team, and after that a new game with the other team as home team.
 


Top