Revolution Mod 16

pe pe

Club Supporter
As you have already figured out, adding extra options to some things will cause crashes in some or all circumstances. I will try though.
So I was investigating it a little bit further, and basically there is no problem with separating kityear and tournamentassetid from most of the automated statements: kitnumbers, jerseyfont, kitoverlay etc. (with adboards being only problematic one, but it works if I am replacing precedence instead of adding).

But the real challenge is to make it work with standard statements that are declared directly via lua files in assignements/teams/ directory. Would it be possible to assign something like this: for team kit with defined kityear assign different namelayout and kitnumbers colors according to tournament id?

For example, Real Madrid 2019 standard numbers - straight layout



And La Liga - curved layout:


Also sometimes other teams use different coloring etc.

As I said earlier, I figured out automated statements, so loading different assets based on kityear and tournament assets id is done. But if it comes to altering default DB values I'm completely clueless.
 

Linki_20

Club Supporter
Guys, can someone help me.

What is the correct line to put in the tema lua file if I want to use a classic kit? For example I've made a 1908 kit for Germany and want to use it as a classic kit?
 

pe pe

Club Supporter
Guys, can someone help me.

What is the correct line to put in the tema lua file if I want to use a classic kit? For example I've made a 1908 kit for Germany and want to use it as a classic kit?
There is no way to do this via lua file, you need to directly edit Database or use Creation Master 16 to create new classic kit.
 

pe pe

Club Supporter
Open up CM16, go to the Kits Tab, search for Germany, click "Clone" icon - the prompt window will show up asking you to choose slot (home, away, third etc.) and tournament. Choose 1 for "home" and in tournament field type "1908" and save. Now you have new record in db, and CM16 has created new file container kit_1343_1_1908.rx3 for textures in data/scenassets/kit/ directory that you can edit now with your custom made 1908 texture either via CM16 or via CG File Explorer or File Master.

Sorry if my description seems chaotic, Im sure once you fire up CM16 everything will be self explanatory.
 

Linki_20

Club Supporter
Open up CM16, go to the Kits Tab, search for Germany, click "Clone" icon - the prompt window will show up asking you to choose slot (home, away, third etc.) and tournament. Choose 1 for "home" and in tournament field type "1908" and save. Now you have new record in db, and CM16 has created new file container kit_1343_1_1908.rx3 for textures in data/scenassets/kit/ directory that you can edit now with your custom made 1908 texture either via CM16 or via CG File Explorer or File Master.

Sorry if my description seems chaotic, Im sure once you fire up CM16 everything will be self explanatory.
I assumed it should be done like you said, but I wasn't sure about it. Thank you for the explanation.
 

scouser09

Senior Squad
So I was investigating it a little bit further, and basically there is no problem with separating kityear and tournamentassetid from most of the automated statements: kitnumbers, jerseyfont, kitoverlay etc. (with adboards being only problematic one, but it works if I am replacing precedence instead of adding).

But the real challenge is to make it work with standard statements that are declared directly via lua files in assignements/teams/ directory. Would it be possible to assign something like this: for team kit with defined kityear assign different namelayout and kitnumbers colors according to tournament id?

For example, Real Madrid 2019 standard numbers - straight layout



And La Liga - curved layout:


Also sometimes other teams use different coloring etc.

As I said earlier, I figured out automated statements, so loading different assets based on kityear and tournament assets id is done. But if it comes to altering default DB values I'm completely clueless.
I had already realized if tournament versions of classic kits are added, things like this will be needed. I will try to add support for it in all relevant assignments.
 

pe pe

Club Supporter
I had already realized if tournament versions of classic kits are added, things like this will be needed. I will try to add support for it in all relevant assignments.
That is great to hear! Your ongoing support is incredible and I can't appreciate it enough. Please don't take it as if I'm pressuring you because I can wait for it as long as EA will keep releasing FIFA on Frostbite engine, and that is probably happening for a couple more years at least ; )
 

pe pe

Club Supporter
I had already realized if tournament versions of classic kits are added, things like this will be needed. I will try to add support for it in all relevant assignments.
Hey, after a couple hours of trials and errors I managed to do it. I didn't want to alter any current statements to not loose compatibility, so I simply created another function called "assignKitYearTournamentDetails" which works exactly like assignTournamentKitDetails, but takes extra parameter "kityear" and has its own statements like kitYearNameCurveTournament, kitYearNumberColourShirtTournament etc. I altered also helper functions like getKitNameCurve, getKitNameColour, getKitNumberColourShort with said parameter, imported kityear statements in rm_common and it seems to work.

Here is altered player.lua, I'm not a programmer so it can probably be done cleaner and more efficiently but maybe it will save you some work?

https://pastebin.com/ccm5dDWK
 

scouser09

Senior Squad
Hey, after a couple hours of trials and errors I managed to do it. I didn't want to alter any current statements to not loose compatibility, so I simply created another function called "assignKitYearTournamentDetails" which works exactly like assignTournamentKitDetails, but takes extra parameter "kityear" and has its own statements like kitYearNameCurveTournament, kitYearNumberColourShirtTournament etc. I altered also helper functions like getKitNameCurve, getKitNameColour, getKitNumberColourShort with said parameter, imported kityear statements in rm_common and it seems to work.

Here is altered player.lua, I'm not a programmer so it can probably be done cleaner and more efficiently but maybe it will save you some work?

https://pastebin.com/ccm5dDWK
I have already started to add the feature in my own style, I have not finished yet as I have been busy with other projects.
 

AndaleO

Club Supporter
When I create a new league with a new id I do not see a trophy presentation when I win the league ... does anyone know what this may be?

Thanks
 

scouser09

Senior Squad
When I create a new league with a new id I do not see a trophy presentation when I win the league ... does anyone know what this may be?

Thanks
Nothing to do with this mod. Compare your league structure to other leagues in CM16 and look for any differences.
 

Necrotigra

Club Supporter
Hey scouser, I have this code in psg team lua file:

--Paris Saint-Germain
assignTeamTournament(73,16) --France Ligue 1 (1)
assignGKKit(73,0,2)
assignKitDetails(73,0,-1,"DCDCDC",-1,-1,1,1,-1,0)
assignKitDetails(73,1,-1,"192641",-1,-1,13,13,-1,7)
assignKitDetails(73,2,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,3,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,4,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,8,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,12,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,13,-1,"121212",-1,-1,2,2,-1,0)
assignKitDetails(73,14,-1,"121212",-1,-1,2,2,-1,0)
When I open the game, I can choose between 3 kits which are 0, 1 and 3 (2 is gk kit). So apparently there's something wrong, even though all these files exist in sceneassets\kit. Do I have to activate something for these kits to appear in the selection before the match? Or is there some sort of assignment missing?
 

Jimboni66

Club Supporter
You have to add a fourth jersey via Creation Master first.. If there is no entry in the Database, the Parameters wont work...
 

Necrotigra

Club Supporter
Hi Jimboni, you'll never believe me but I have done this at least 20 times. I feel stupid for forgetting the db thing, brainfart I guess. Thanks mate

Just another small thing: there are rx3 kit files that aren't used in game (kit numbers 8 to 14). Is there a way of adding these to the db?
 

Jimboni66

Club Supporter
Hey. Is there a possibility do to the following:

that for example In Premier League , the game loads the normal Kit files with kit_1_1_0 ( including numbers/names ect via "kitnumbers" and "font" ) and in Cups ( League Cups, European Cups ect ) the individual kit files kit_1_20002_0.rx3 to kit_1_20020_0.rx3 without the "kitnumbers" and "font" )

Is there a statement for this or isnt this possible? For Example in 95/96 the European Clubs started to using Names in their Leagues but in the European Contests there still was the 1-11 Squad Number System.
 

Aymane

Club Supporter
Hey Guys I have a problem, I added the Moroccan league but the game crashes at accepting or declining the preseason tournament, the game crashes only if I choose a Moroccan team if I choose another team the game works fine I also added the Russian league and the game works just fine with a Russian Team

- I assigned the Id tournament in Creation Master
- I added a preseasontour.csv (I modify it by adding African clubs in it)

Any suggestions please ?
 

scouser09

Senior Squad
Hey. Is there a possibility do to the following:

that for example In Premier League , the game loads the normal Kit files with kit_1_1_0 ( including numbers/names ect via "kitnumbers" and "font" ) and in Cups ( League Cups, European Cups ect ) the individual kit files kit_1_20002_0.rx3 to kit_1_20020_0.rx3 without the "kitnumbers" and "font" )

Is there a statement for this or isnt this possible? For Example in 95/96 the European Clubs started to using Names in their Leagues but in the European Contests there still was the 1-11 Squad Number System.
I think this setup should work. Set the 1-11 number kits as CL kits.

eg. kit_1_20002_223.rx3

Use the copyTournamentKitAssets statement to use CL kits in other tournaments as needed.

eg.
copyTournamentKitAssets(224,223)
copyTournamentKitAssets(232,223)
copyTournamentKitAssets(201,223)
copyTournamentKitAssets(202,223)
 

Jimboni66

Club Supporter
I think this setup should work. Set the 1-11 number kits as CL kits.

eg. kit_1_20002_223.rx3

Use the copyTournamentKitAssets statement to use CL kits in other tournaments as needed.

eg.
copyTournamentKitAssets(224,223)
copyTournamentKitAssets(232,223)
copyTournamentKitAssets(201,223)
copyTournamentKitAssets(202,223)
thanks
worked!

Another problem

assigned kitoverlay_0_0_223_1.png for all teams in CL
and
assigned kitoverlay_0_0_223_3.png for the final.. but instead of the "3".png the game loads the "1".png texture in the CL Final...so no special texture for the final is loaded
 


Top