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

AI Wave Survival Mod Information

Scheduled Pinned Locked Moved Modding & Tools
162 Posts 22 Posters 30.1k 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.
  • R
    Rama
    last edited by 20 Aug 2023, 19:05

    After Slykar kept hosting games with well over 1000 unit waves, and stress testing the mod, I had to rework a number of things to reliably generate that big of waves. So far, after testing, mod can reliably generate 3000 unit waves. I would recommend all players have CPU scores under 200, and good thermal cooling, if playing with such massive waves. Idle units will now always redirect to new targets, usually in 10 to 30 seconds.

    Also, a few changes:
    -Tech Progression option has been made easier to understand. Limits have also been increased to +/- 50%.
    -Personal shields on HQ and 2nd HQ have been changed to shield bubbles. The personal shields were causing confusion on why buildings weren't taking damage.
    -Optional Wave Break has been moved from 70% of Hold Time to just before Endgame.
    -Stun and Salvation events will cycle through waves much faster now.
    -Storm Missiles have been buffed. Spawn 2 to 4 storms now. 62.5% chance for 3 storms and 6.25% chance for 4. Range increased by 10%, speed increased by 6%, missile hit points increased to 6, silo capacity increased to 5, silo now has a volitile death.

    1 Reply Last reply Reply Quote 0
    • R
      Retributer
      last edited by 20 Aug 2023, 19:58

      They had a personal shield? I never noticed
      That being said, we usually wait until the timer runs out and start building game enders when our bases are less threatened

      We've never been able to destroy the support bases before the endgame so I can't tell if Yolo bosses are a threat ; by the time they pop, we have dozens of Broadswords waiting for them. Maybe instead you could try making an airdrop wave, with a few Dropinentals landing near the players' bases (not in the bases, I feel that'd be unfair, unless you really want to make it difficult). You could have maybe ten of them transporting T3 units, and two or three with T4. Just an example, ofc

      btw, you ever thought about adding vocal messages during the mission? 5iver Survival did it and it was kinda nice
      just need to have HQ or anyone sending relevant voicelines when something important happens, like HQ saying "scratch one of the bases" if you destroy a support base.

      1 Reply Last reply Reply Quote 0
      • R
        Rama
        last edited by 20 Aug 2023, 20:35

        Personal shields were added recently.

        There already are airdrops triggered by killing support based, which increase in number per support base killed, and each transport has a 20% chance to drop T4's.

        I used to have the messages go to chat, which allowed players to check the messages if they missed one. But then an FAF update broke the mod. I switched to printtext messages after, because I didn't know if another FAF update would break messages again. Personally, I dislike the video alerts.

        1 Reply Last reply Reply Quote 0
        • S
          Slykar
          last edited by Slykar 21 Aug 2023, 05:12

          Hi, your Airdrop response to destroyed support bases are coming from the edges of the map.

          if possible, it should be happen from the same position we saved in the settings. Example: Center only.
          Once on the map Griffin, the transporter came from the edge of the map at the very top left, that is at Fort Clarke. It was shot down, of course, because our base was there. I liked the 10k Mass donation.

          I also made some notes to your Map and hope you have the time so give it a quick view.

          In the first Screenshot is the problem. Everything else is extra.

          Extra:
          For the 2nd Screenshot, i added my played and recommended meta. In total i recommend to change 3-4 spawn points.

          I do not like to give Slot 14 (AI Wave Survial in blue) the job to defend the beach, as it would be boring for the island player. Either Slot 14 survives and island ecos = free win or he dies and Island has no defenses built...
          I would only do it, if we have no full lobby.

          For Slot 15 and 3 i recommend to move it more to the center of the beach BUT far enough away from the AI-route to the island. Air units targting Slot 1 ans 2 (Island) should not swtich the targets mid flight.

          Slot 10 and 11 are unusable. i cant give it a player. Worse as slot 14.

          For Slot 10 i recommend to move it to the left area. The player will have a reason to fight for the 4 mexes and can help in a lot of ways. Navy, Def top left, Def south, Eco.

          Slot 11 would be the new main HQ slot. Maybe the slot position is fine but the north-, south-mountain range must change. West-East looks fine and should split land units going the water route and the land route to the top right player.

          Even if you do nothing. Thank you for your nice mod!

          Griffin - Ideas.png

          Griffin - Meta Adjustments.png

          1 Reply Last reply Reply Quote 1
          • S
            Slykar
            last edited by Slykar 21 Aug 2023, 22:27

            1 Reply Last reply Reply Quote 0
            • S
              Slykar
              last edited by Slykar 24 Aug 2023, 01:09

              Hello Rama,

              thanks again for all your hard work. It's always a joy to test your updates!

              I implemented everything you taught me and we enter the Endgame Stage after 30 min holdtime 🙂

              Unfortunately I don't have only good news for the v6 map. Some things worked well, others didn't.

              You can find all the details in the screenshot. Additionally, I would like to point out that the red text is an absolute game changer, as losing one base rapidly increases the attack strength on all other bases, making it first impossible overall and frustrating for affected players to have a slot with no chance of survival.

              Edit: For the Pink text, i want to add:

              I dont think the TML is a big deal. either he invests 200-500k mass into TML on THAT slot which is insane and he earned it, or he destroys 2nd HQ and can use Aeon Missile Ships and Battleships (and all player with access to water also).

              v6 first impression.png

              R 1 Reply Last reply 24 Aug 2023, 07:18 Reply Quote 0
              • R
                Rama @Slykar
                last edited by 24 Aug 2023, 07:18

                @slykar

                Wow, four runs already?

                Heh, I knew adding the back door to position 5 was probably going to completely screw the position. I'll change it back.

                Didn't know there were lunatics who liked the old spot 13. It was a high skill spot. You said a Doom pathed through the water to Spot 13? Only the Fatboy Doom can hover. I did leave that gap there as a vulnerability, because of the added walls protecting from the navy. Removing the walls would make the spot impossible to hold, as every naval ship would bombard the player while passing.

                1 Reply Last reply Reply Quote 0
                • S
                  Slykar
                  last edited by 24 Aug 2023, 20:53

                  All T4 and I believe Doom units can cross water. They don't need hovering, Amp is enough. You could change the water depth so that Amp units can't cross the water. That should work for slot 13. I don't know, if it will look good.

                  Navy for slot 13 - depending on settings, yes, it is impossible to hold. with my settings it's easy to defend as the old slot 13, as the navy is very weak early and scales hard (3 navy per player x2 in Late, I'll increase it once I find a way to hold the beach and the island is less pressured).

                  In any case, it's easy to counter if you have sub spam. Personally, I like that slot 13 dies in the T3 phase if the island doesn't help him with the navy.

                  Additionally, I recommend moving slot 13 further up so that only the 4 mex expansions are lost to the navy.


                  Today we did only 2 games.

                  We won with 4 player. and my standard settings. 100k HP HQ after it deployed scathis - we have been through hell

                  what i noticed:

                  1. HQ - Slot 16 will stuck with fatboys and other t4 units at the mountain to the top left area. Top right was dead.
                  2. 2nd HQ alive, Alternative HQ spawn destroyed, Support bases alive, HQ destroyed - AI kept spawning Doom waves - no victory, but score button was available.
                  3. We had a teleport chicken with rambo units. Chicken exploded and created a storm. Maybe my PD destroyed it idk. bug or feature?
                  R 1 Reply Last reply 25 Aug 2023, 05:12 Reply Quote 0
                  • R
                    Rama @Slykar
                    last edited by 25 Aug 2023, 05:12

                    @slykar

                    Only the Doom FatBoy hovers. This was to make it a greater threat to Naval players. The small Gap at position 13 can only be reached by hover units, as the underwater terrain is too steep for units that walk.

                    Though, mute point, I did move Position 13 back (you said some players really like that position) to the peninsula that is further north, and added a small wall (half the height of the current walls) to make the position a little more forgiving. Or should I keep 13 where it currently is? I did shrink the walls there as well.

                    Beach defense is always going to be difficult. I've tried to make it easier by switching the old artillery positions (the ones for the scripted coop) to work for defending the island. I moved 1 spawn from NW to the beach, so there are now 3 spawn positions for beach defense. They are grouped together on the West side of the beach, so they may provide support to each other. East side of beach/peninsula has no spawns, but is an optional expansion area for beach players. Difficult to hold if navy doesn't do their job well.

                    I did watch your replay and saw the traffic jam. Looks like it saved you. T4s were pathing through it, trying to go different ways and holding each other up. Can fix by opening up the area a little more.

                    The teleporting doom is not a feature. Seems that was a bug. Don't know if it was related to the game not properly ending. There are flags that should stop all scripts from running once HQ is detected as destroyed.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Slykar
                      last edited by Slykar 9 Feb 2023, 14:16 2 Sept 2023, 14:15

                      Hi Rama,

                      on v230 we won on Griffin after 1 week of loses.

                      what we noticed:

                      1. Endgame Boss Fatboy with vanilly HP spawned (once not every time)
                      2. all bases destroyed. Support, Alternative, 2nd, 1st HQ but - transporter spawned. dropped units and died. the land units kept moving
                      3. doom wave still gets deployed even after everything gets destroyed from your script / HQ down event.
                      4. no Score popup
                      5. game was slower then usualy since v230

                      If you want to check the game...

                      1 Hour 56 Min

                      02.09.2023

                      with 10 Player

                      R 2 Replies Last reply 3 Sept 2023, 06:13 Reply Quote 0
                      • R
                        Rama @Slykar
                        last edited by 3 Sept 2023, 06:13

                        @slykar

                        1. That can happen with any units that have their health boosted. Seems the engine just forgets the modified health and calls the health from the unit's file. I've tried various fixes, but I've no idea what causes it.
                        2. Sorry, I don't understand. The HQ's and bases were all destroyed, but transports continued to spawn, drop units, and die? And how many transports were spawning when this was happening?
                        3. The Dooms are on their own loop. Usually, the loop ends when everything is destroyed. But Dooms drop SACUs on death, which can cause game to continue. Added a check that will break the Doom Loop if HQ destroyed.
                        4. That is related to the Doom wave continuing to spawn.
                        5. Haven't really done any changes since v230 that would be causing slowdowns. I did add a longer delay to an action in the attack scripts to keep Navy from accidentally retargeting to new units too soon. It didn't impact performance on my host, but it may be a factor with the huge waves you like to host.
                        1 Reply Last reply Reply Quote 0
                        • R
                          Rama @Slykar
                          last edited by 4 Sept 2023, 05:32

                          @slykar

                          I did get around to running the replay.

                          -Replay ends when HQ is destroyed. No Dooms continue to spawn and no weird behavior seen with the transports.
                          -I have a i7-12700H (gets a CPU score under 100), replay speed reached 0 at 42 mins, then fluctuated at +1/+2 afterwards. Once 2nd HQ was destroyed, speeds went up to +2/+3. Checking Task Manager, CPU use for Supreme Commander never went above 20%.

                          Unfortunately, Lua does not support multithreading, so everything has to be done in sequence. The more units = more slow down. There was always a sudden drop in speed whenever ASF waves would spawn, which would continue from all the projectiles fired at the ASF swarms, then sim speed would go back up once the swarm was dead. Did you adjust settings to have large ASF Response waves now, when you host?

                          Large ASF swarms on Dual Gap always caused significant speed reductions for me on my older laptop, which had a CPU that scored around 220, but was closer to 250 when it started to get throttled. Don't know why air, particularly ASFs, seem to drop sim speeds so much. I'm guessing their high speed requires frequent calculation updates from the CPU, and since Supreme Commander doesn't really support multicores, this really slows things down.

                          Navy appears to still be spawning off map. Though this was only around 30 ships, not really enough to cause much issue. I'll have to figure out my error. Looked to only be affecting the X axis and not the Z.

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rama
                            last edited by 4 Sept 2023, 06:55

                            -Found the typo causing Navy to spawn off map on the X axis. Should, finally, be resolved.
                            -Spamming satellites will eventually trigger an artillery response against the satellites. Also increased the priority of Control Centers in targeting, so better have shields covering them.

                            Might have a way to increase sim speed a little, but have to do some testing.

                            1 Reply Last reply Reply Quote 0
                            • R
                              Rama
                              last edited by 4 Sept 2023, 14:46

                              Redid some of the targeting scripts, looks to give a noticeable speed improvement when spawning huge waves. I'd estimate around a 10% performance improvement. The improvement is more noticeable the larger the waves, and sim speed recovers faster after waves spawn in.

                              1 Reply Last reply Reply Quote 1
                              • S
                                Slykar
                                last edited by 7 Sept 2023, 19:18

                                Did you adjust settings to have large ASF Response waves now, when you host?

                                • no 0,5 asf response
                                • antiair response off (nomanders or so i guess)

                                Navy appears to still be spawning off map. Though this was only around 30 ships, not really enough to cause much issue. I'll have to figure out my error. Looked to only be affecting the X axis and not the Z.

                                • yes saw it a few times but didnt check for a few updates.

                                i will check it.

                                v234

                                1. we had a bug with the score button and my mate and i had to close via task manager / restart pc.
                                2. after a player leaves the acu dont blow up some times. they also keep buildings now and then.
                                3. a cybran t4 gunship from 2nd HQ didnt leave the spawn for 4-5 min
                                4. 10 player game. all but 1 died before nuke wave launched. we only saw 4-6 nukes. it should be 20+ to one player. but we didnt have full vision...
                                R 1 Reply Last reply 8 Sept 2023, 06:01 Reply Quote 0
                                • R
                                  Rama @Slykar
                                  last edited by Rama 9 Aug 2023, 06:04 8 Sept 2023, 06:01

                                  @slykar

                                  1. Score Board bug:
                                    -This seems to be an occasional occurrence caused by an FAF update. Some script goes into an infinite loop and the game doesn't end when it should. I've no idea how or why, and there is never anything in the logs. And on the occasions it has occurred, I haven't a clue what could be the trigger. Considering the game is already over when this does occur, it is mainly an annoyance.

                                  2. ACUs not Dying when Players Drop:
                                    -Randomly occurs. This also appears to be a bug related to FAF. The mod automatically sets the game victory conditions to Domination. I assume some bug involving the Domination/Full Share game code in FAF may be at fault for ACUs not dying when players drop.

                                  3. T4 Cybran Gunship not Attacking:
                                    -Sounds like the unit state wasn't getting updated. The reason it did start finally moving is I added a script that will eventually clears all commands, that randomly triggers after 4 to 5 minutes. This is so units don't actually get permanently stuck doing nothing. In larger waves, this check takes longer to run just because of the nature of how Lua operates. So, not a bad thing, means the fallback actually works.

                                  4. Limited Nukes versus Solo Survivor:
                                    Not a bug, but working as intended. In large team games, losing too many players almost always guaranteed defeat for teams, as it was usually impossible for a few players to replace the lost SMD while also fighting off the full strength of the waves. So, nuke waves scale to surviving player count. In maps with full share and players all next to each other, this could obviously be exploited. Usually, though, when a player is eliminated (not by losing connection), it is because of their base being overrun and any SMD destroyed.

                                  Edit:
                                  Forgot to add, if you missed the posts, the naval spawn issue is fixed and I did some code optimization that should help with sim speeds, especially with larger waves. In testing with bots, I was getting an extra +1 in sim speed with waves over 500 units in size.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Artane_974
                                    last edited by 15 Sept 2023, 21:30

                                    I installed the mod in maps.

                                    I have the map for you and I can play it but I can't activate the survival mod. Can you help me please

                                    R 1 Reply Last reply 17 Sept 2023, 00:31 Reply Quote 0
                                    • R
                                      Rama @Artane_974
                                      last edited by 17 Sept 2023, 00:31

                                      @artane_974

                                      Can you be more specific? What steps have you done? The mod only works in the FAF Client, not Vanilla Supreme Commander. It also will work on any map.

                                      Steps for Setting Up:

                                      1. When creating a game in FAF, enable the mod AI Wave Survival.
                                      2. Choose any map you want to play on.
                                      3. Once in hosting lobby, set at least two different Teams.
                                        -HQ Player can be any kind of AI (Uveso, M28, etc.). The included "AI_WaveSurvival" AI is just a placeholder. This AI builds nothing, but speeds up SIM speeds when used. It also does not over-ride the mods attack scripts, which other AIs may do.
                                      4. In Map Options, you can set the HQ Player. This is the player that will spawn the HQ and have control of the waves.
                                        -If you do not set an HQ Player manually, the mod will choose a RANDOM player from the smaller team to be the HQ player. Example, if you host a 3v2 game and don't manually set HQ Player, a random player from the two-player team would become HQ player.
                                        -If you are playing 1v1, make sure to set the HQ player manually, or you may end up spawning with the HQ and having control of the waves instead of your opponent.
                                      5. You DO NOT need to set a 2nd Spawn or Alt Spawn points. These are optional. If you do enable the optional spawns, you will need AIs/Players in the spots for those spawn points to work.
                                      6. In Map Options, configure the mod however you want. Naval waves are off by default. You can enable/disable pretty much anything the mod spawns. I've set the default mod settings to be a challenge for most players around an 800 level ranking.
                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Slykar
                                        last edited by Slykar 2 Apr 2024, 21:25 17 Sept 2023, 18:39

                                        UPDATE 04.02.2024
                                        Hello Everyone,

                                        as my lobbies gets full within 10 Min and we have a lot of cool mates to play it almost daily, i wanted to share my settings so everyone may enjoy the madness.

                                        If you like to see what you will face, i added my all time favorit match.
                                        https://replay.faforever.com/20802514

                                        If i missed something or it is incorrectly listed, please inform me.

                                        Map: Griffin v7 - only what is NOT default

                                        Slykar Settings:

                                        Share conditions - Fullshare
                                        Victory condition - Sandbox
                                        Reveal Civillian - no
                                        Prebuilt Units - on
                                        Score - on
                                        HQ Spawn Slot - 16
                                        HQ HP 2,5 Mio
                                        HQ ALT Spawn - 14
                                        HQ ALT HP 0,15 Mio
                                        HQ Schild XXXXX - AAA-Tier
                                        HQ PD XXXXX - A-Tier

                                        2nd HQ Spawn - Slot 15
                                        2nd HQ Schild XXXXX - C-Tier
                                        2nd HQ PD XXXXX - C-Tier
                                        1a. 2nd Spawn Land % - 0%
                                        1b. - 0%
                                        2a. - 30%
                                        2b. - 0%
                                        3a. - 100%
                                        3b. - 0%

                                        SALVATION PLAYERS - Off

                                        WAVE SETUP

                                        Build Time - 8 Min
                                        Delay between Waves - 2,5 Min
                                        Hold Time - (Rating full Lobby (10): +-5000 = 40 Min+, +-7500 35 Min+, +-10.000 30 Min+)
                                        Wave Tech Progression - 65% slower

                                        6a. - 20
                                        6b. - Amp
                                        6d (1). - 2x 1.75x 1.5x 1.25x 1x
                                        6d (2) - 80%
                                        7a. - 40
                                        7c. - 5x 4x 3x 2x 1x
                                        7d. - 20%
                                        8a. - 10
                                        8b. - 1x ------ 2x (Reverse 2x 1.75x 1.5x 1.25x 1x)
                                        8c. - 20%

                                        SPEED / HP SETTINGS:

                                        Boost Damage - 0x

                                        AIR DROPS:

                                        Airdrops on / off - every 2 - 3 Min
                                        Airdrops per Wave - 30
                                        Airdrop Wave multip. - 2x 1.75x 1.5x 1.25x 1x
                                        Airdrop Unit Types - all
                                        Airdrops Rambos - 30%
                                        Airdrop EXP - off
                                        Airdrop Spawn - Center only

                                        EXTRA WAVE / RESPONSE

                                        2a. - off
                                        2b. - 0,5x
                                        3a. - 0,50%
                                        4b. - on

                                        ENDGAME SETTINGS:

                                        1a. - Land, Air, Navy
                                        1b. - 0 Min
                                        2a. - 3 Units
                                        2b. - 10 Units
                                        2c. - 2 Min
                                        3c. - Scathis
                                        4a - 2
                                        4b. - 5%
                                        4c. - 2 Units +
                                        4e - off
                                        4g. - 0,50x
                                        5b. - 5x

                                        ECO SETTINGS:

                                        ECO 1 - 25
                                        ECO 2a - off
                                        ECO 4a - 240 Sec

                                        Nuke Strike Settings:

                                        Nuke Strike on / Off - Offensive
                                        Nuke Start Time - 0,60%
                                        Nuke Frequenzy - 5 - 6 Min
                                        Nuke per Strike - Regular
                                        Increase Nukes per Strike - +2

                                        Build Restrictions:

                                        100 Hives
                                        AI Unit Cap 2000

                                        In Lobby:

                                        Add 8 Mods

                                        Optional - 1,5 Build Range
                                        Optional - 50% Air Craash Damage
                                        Must have - AI Wave Survival created by AKarmy01 & Rama
                                        Optional - All Factions Quantum Gate
                                        Must have - Anti Nuke 50 Cost
                                        Must have - Hive Engineering Stations for all
                                        Must have - No Friendly Fire (Because of AOE PDs)
                                        Optional - 10% Particales

                                        Add 3x AI_Wavesurvial to slot 14, 15, 16

                                        Close but spawn Mex for Slot, 5, 9, 3

                                        Slot 3 is Optional but you must never start as 13. it will be too slow. 11 is doable.

                                        Dont let 200 CPU player play. If someone is slow but others not, ask him to close programms.

                                        CPU around 150 shouldnt slow down the game at all or -1 / -2 worst case. (Kill faster and reclaim more)

                                        1 Reply Last reply Reply Quote 1
                                        • R
                                          Rama
                                          last edited by 18 Sept 2023, 04:11

                                          Just updated Guide at start with images. Hope this helps people with understanding how to configure and host the mod successfully.

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