FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    [MOD] PJ Infrastructure Pack for play with AIx

    Scheduled Pinned Locked Moved Modding & Tools
    44 Posts 8 Posters 4.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UvesoU
      Uveso
      last edited by Uveso

      @foxy_pj said in Need help with Ai to upgrade buildings.:

      WARNING: *AIExecuteBuildStructure: TECH1 Unit "euebest3" is assigned to build TECH3 buildplatoon! ("EnergyStorage")

      This error is caused by customunits files.

      EnergyStorage = {
             UEF = {'euebest3', 50},
         },
      

      The unit euebest3 is assigned to the buildingtemplate EnergyStorage.
      EnergyStorage is a tech 1 buildingtemplate and will be assigned to a TECH1 engineer.

      T2EnergyStorage = {
         },
      

      T2EnergyStorage is an non existing buildingtemplate. This will not work.

      The custom unit tables can only add buildings to an existing buildingtemplate.
      you can't create new names like T2EnergyStorage.

      If you want to add new buildingtemplates then you need to hook this file:
      https://github.com/FAForever/fa/blob/7542596ea1c16be28615fdc40cc9bf9c8bb5481a/lua/BuildingTemplates.lua

      Have in mind the AI will not build those new buildingtemplates until you add a seperate platoonbuilder for it.


      Did you read the rules for maps/mods on FAF ?
      https://forum.faforever.com/topic/607/faf-mod-vault-rules-regulations

      Repackaging the work of another author, or multiple authors, into one modification is not permitted unless you are the explicit owner of all content involved.

      1 Reply Last reply Reply Quote 0
      • F
        foxy_pj
        last edited by foxy_pj

        @Uveso Thank you for explaining all of this. I've learned alot during this time.
        What if mod autor can't be contacted as all this mods what i used as base are very old mods?
        I'm going to redo this mod to use only base game assets.
        Thank you.
        Regards.

        1 Reply Last reply Reply Quote 0
        • UvesoU
          Uveso
          last edited by

          I have several old mods updated (antares unitpack as example) and can't upload them
          because i can't reach the original author.
          So there is nothing you can do if you are not the owner or creator of an unit/script/mod.

          I got the written permission from the original Authors for all mods i uploaded
          except Black ops. This was added to FAF as featured mod and i bugfix it for FAF.

          Using modified unit scripts from other mods are mostly considered as learning LUA coding.
          So this is mostly not a problem. just don't exaggerate it.

          1 Reply Last reply Reply Quote 0
          • F
            foxy_pj
            last edited by

            @Uveso Thank you for your help and guidance. I think this could be closed.

            1 Reply Last reply Reply Quote 0
            • UvesoU
              Uveso
              last edited by

              @foxy_pj ,

              you are welcome.

              1 Reply Last reply Reply Quote 0
              • F
                foxy_pj
                last edited by foxy_pj

                Hi.
                After many month modding and testing, public release date arrived.

                Mod description:
                AI Upgradeable T2 & T3 E/M-Storage, T2+ & T3+ PGens, T2 & T3 & Exp HC Plant, T3+ MEX & T4 Shields
                This mean that all pleyers will get more resources including AI. Base siege will be more dificalt and each resource building will be more valuable but more protected.
                I recommend to play against AIx with BlackOps mod (fully compatible).

                Mod details:
                All below is AI upgrageble.
                T2 Power Gen are upgradeble to T2+ shielded Power Gen with x2 output.
                T3 Power Gen are upgradeble to T3+ shielded Power Gen with x2 output.
                T1 Energy storage upgradable to T2 and then to T3 (proper balansed).
                T1 Mass storage upgradable to T2 and then to T3 (proper balansed).
                T1 HC plant upgradable to T2 shielded and then to T3 shielded and than to Exp shielded.
                T3 MEX upgradable to T3+ shielded with bit biger output (proper balansed).
                T3 shields upgradable to Exp shields with unique features for each nation.

                Download: [https://drive.google.com/file/d/10llGCG54_Ps0z5ZzRtPIoWADJbDg0ULJ/view?usp=sharing](link url)

                Please note, all units based on original game assets.

                Big thank you to Uveso and whole modding community

                Kind regards
                PJ

                1 Reply Last reply Reply Quote 1
                • S
                  Shamble
                  last edited by

                  hey pj i love this mod thanks for taking the time to create it and debug it.

                  Any chance in the future of an alternate version with added t3 eng stations ? this would make it a great mod for survival games ^ ^, as the current t3 eng stations mods break the blackops unit icons.

                  1 Reply Last reply Reply Quote 0
                  • F
                    foxy_pj
                    last edited by

                    Hi @Shamble.
                    I'm not planing to add T3 eng stations at this moment. There is new mod released tody in mod vault "AutoReclaim". It is bit buggy (autor need to fix few things) and AI not using this units, but it is working.
                    Regards.
                    PJ

                    1 Reply Last reply Reply Quote 0
                    • S
                      splitice
                      last edited by

                      I assume you mean "AutoReclaim (splitice)" which is mine.

                      It's based off dwm's variant. I mainly set out to fix the performance (it was horrible late-game).

                      I've observed AIs using it (it's the T1 kenel) at-least for Cybran and UEF. Although probably not upgrading it.

                      Any fixes you want to contribute (now that you understand the upgrading logic are welcome and can be contributed).

                      1 Reply Last reply Reply Quote 0
                      • F
                        foxy_pj
                        last edited by foxy_pj

                        @splitice Do you have permission from original author of this mod? As if you don't, FAF rules are against editing work of other authors without permission.
                        I can see it has been removed from vault. Reason could be above.

                        1 Reply Last reply Reply Quote 1
                        • S
                          splitice
                          last edited by splitice

                          @foxy_pj

                          News to me.

                          The dwm variant has been removed too, leaving only the original unmaintained in 7 years version. Don't you just love it when good content is removed for pointless reasons?

                          Before anyone asks, no I don't have a backup copy of dwm's version of the mod and since mines (supposedly?) against the rules I'll just say PM me for a copy.

                          FYI to any staff the rules links a 404 (https://forum.faforever.com/topic/607/faf-mod-vault-rules-regulations) so anyone confirming they have read the linked rules is confirming they have read a page not found error.

                          It is funny to me considering that:

                          1. 4 of the 15 most recent mods are modifications
                          2. my mod is an improvement of an existing modification (dwm) for the existing modification by Mavr390 (published 8 years ago) and thats largely a copy of the Supcom lua files with a few additional lines of logic (claim copywrite on that? ha)

                          It's what mods are, modifications.

                          Anyway doesnt matter me, it was for the communities benefit I uploaded. I don't need to, and now I won't.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sheikah
                            last edited by

                            Just as an FYI the link in the client is correct in the most up to date client version 2021.12.0 and the rules can be found here https://wiki.faforever.com/en/Vault-Rules

                            1 Reply Last reply Reply Quote 0
                            • RoweyR
                              Rowey
                              last edited by

                              AFAIK auto reclaim mods have always been against faf rules .

                              "The needs of the many outweigh the needs of the few" - Spock

                              1 Reply Last reply Reply Quote 0
                              • F
                                foxy_pj
                                last edited by foxy_pj

                                Hi @splitice
                                It wasn't me who removed this mod. I really like improvement what you did.
                                I'm agree with you on everything what you said. SC moding community released many great mods but many of them are not usable (lost to players) as original authors are not updating them for whatever reason (personal life, no longer playing, etc). And on many cases there are not possible to contact them.
                                This is a shame that modder who can improve/update/maintaine old mods, can't do this without prmission of original author as it is against rules. Becouse of this many great mods are lost to comunity (author can't be contacted). Maybe some compromise needed?
                                On other hand, i can understand copywrite part and why it is done. It should be a really valid reason for that.
                                But still it is a shame that many great mods has been lost becouse of this.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  splitice
                                  last edited by

                                  @foxy_pj aware. Gripe directed at whomever involved, not you sorry if that was unclear.

                                  Not exacty against rules explicitly or how copyright or takedown works (e.g us supreme court finding re; right to modify software). But hey nothing I can do about it other than not upload content to the vault.

                                  If faf staff were concerned about legality they would look into the legal models used by similar services e.g:

                                  • github
                                  • fanfiction (e.g otw)
                                  • other moddb sites all of which deal with derivative works (most of the mods in the vault would be infringing on GPG if not for that supreme court finding)
                                  • or; even force appropriate licencing

                                  This is kind of off topic for this thread (sorry), so I'll leave it here.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    foxy_pj
                                    last edited by

                                    Updated to the latest version, and made it compatible with the recent version of FAF and a few famous mods. Fixed a few bugs. The latest version is in the mod vault or first post.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post