Revolution Mod 16

Discussion in 'FIFA 16 Mods, Patches and Total Conversions' started by scouser09, Sep 8, 2015.

  1. pe pe

    pe pe Club Supporter

    Joined:
    Apr 30, 2006
    Messages:
    314
    Likes Received:
    168
    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

    [​IMG]

    And La Liga - curved layout:
    [​IMG]

    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.
     
  2. Linki_20

    Linki_20 Club Supporter

    Joined:
    Jan 13, 2011
    Messages:
    225
    Likes Received:
    132
    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?
     
  3. pe pe

    pe pe Club Supporter

    Joined:
    Apr 30, 2006
    Messages:
    314
    Likes Received:
    168
    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.
     
  4. Linki_20

    Linki_20 Club Supporter

    Joined:
    Jan 13, 2011
    Messages:
    225
    Likes Received:
    132
    Thanks for the reply. And how do I do it via CM16?
     
  5. pe pe

    pe pe Club Supporter

    Joined:
    Apr 30, 2006
    Messages:
    314
    Likes Received:
    168
    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.
     
  6. Linki_20

    Linki_20 Club Supporter

    Joined:
    Jan 13, 2011
    Messages:
    225
    Likes Received:
    132
    I assumed it should be done like you said, but I wasn't sure about it. Thank you for the explanation.
     
  7. scouser09

    scouser09 Senior Squad

    Joined:
    Feb 21, 2002
    Messages:
    1,884
    Likes Received:
    530
    Location:
    Liverpool, England
    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.
     
    RobbieD_PL and pe pe like this.
  8. pe pe

    pe pe Club Supporter

    Joined:
    Apr 30, 2006
    Messages:
    314
    Likes Received:
    168
    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 ; )
     
  9. pe pe

    pe pe Club Supporter

    Joined:
    Apr 30, 2006
    Messages:
    314
    Likes Received:
    168
    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
     
  10. scouser09

    scouser09 Senior Squad

    Joined:
    Feb 21, 2002
    Messages:
    1,884
    Likes Received:
    530
    Location:
    Liverpool, England
    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.
     
  11. AndaleO

    AndaleO Club Supporter

    Joined:
    Dec 2, 2018
    Messages:
    11
    Likes Received:
    3
    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
     
  12. scouser09

    scouser09 Senior Squad

    Joined:
    Feb 21, 2002
    Messages:
    1,884
    Likes Received:
    530
    Location:
    Liverpool, England
    Nothing to do with this mod. Compare your league structure to other leagues in CM16 and look for any differences.
     
  13. Necrotigra

    Necrotigra Club Supporter

    Joined:
    Aug 15, 2018
    Messages:
    16
    Likes Received:
    4
    Hey scouser, I have this code in psg team lua file:

    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?
     
  14. Jimboni66

    Jimboni66 Club Supporter

    Joined:
    Aug 17, 2015
    Messages:
    185
    Likes Received:
    107
    You have to add a fourth jersey via Creation Master first.. If there is no entry in the Database, the Parameters wont work...
     
  15. Necrotigra

    Necrotigra Club Supporter

    Joined:
    Aug 15, 2018
    Messages:
    16
    Likes Received:
    4
    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?
     
  16. Jimboni66

    Jimboni66 Club Supporter

    Joined:
    Aug 17, 2015
    Messages:
    185
    Likes Received:
    107
    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.
     
  17. ovide

    ovide Club Supporter

    Joined:
    Nov 5, 2016
    Messages:
    2,915
    Likes Received:
    2,131
    mate the revolution mod is not about that, please reas all the functions it has
     
  18. Aymane

    Aymane Club Supporter

    Joined:
    May 5, 2018
    Messages:
    140
    Likes Received:
    39
    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 ?
     
  19. scouser09

    scouser09 Senior Squad

    Joined:
    Feb 21, 2002
    Messages:
    1,884
    Likes Received:
    530
    Location:
    Liverpool, England
    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)
     
  20. Jimboni66

    Jimboni66 Club Supporter

    Joined:
    Aug 17, 2015
    Messages:
    185
    Likes Received:
    107
    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
     
      

Share This Page