Drones!

Discussion in 'Planets & Playfields' started by ZzzSmileYzzZ, Nov 8, 2017.

  1. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    I'm working on a scenario for my clan and hit a snag with drones. Every time our base get attack by drones it's always in a single wave of 2 drones. I tried increasing the setting in the playfield files but no success, regardless if the difficulty it's set to 5, 6 or 7 it's always one wave of 2 drones we get, even after 10 waves still the same. Is it possible to increase the amount of drone per wave to 3-5 drones each wave?

    This is the setting I'm using on the playfield file of the planet:

    Code:
    - GroupName: DroneBaseSetup
              DronesMinMax: [ 2, 3 ]
              ReserveCount: 5
              DroneProb: 1.0
              Difficulty: 7
              PresetStyle: 4
              # BaseAttack: DroneSmallAttackBase
              Stock:
                  - Name: DroneSmallFast01Rocket 
                    Amount: 100                   
                    Extra: 0                     
    
                  - Name: DroneSmallFast01Minigun
                    Amount: 300
                    Extra: 0
    
                  - Name: DroneSmallSlow01Cannon
                    Amount: 200
                    Extra: 0
    
                  - Name: DroneSmallAttackBase   
                    Amount: Infinite
                    Extra: 1                 
    
                  - Name: DroneTroopsTransport
                    Amount: Infinite
                    Extra: 2
    
                  - Name: ZiraxMale
                    Amount: 500
                    Extra: 3
    
                  - Name: ZiraxRocket
                    Amount: 500
                    Extra: 3
    
                  - Name: Crawler
                    Amount: 150
                    Extra: 3
    
                  - Name: AlienAssassinGrey
                    Amount: 300
                    Extra: 3
    
    
    Also if I increase the DronesMinMax: [ 2, 3 ] to DronesMinMax: [ 3, 5] the drones don't attack the base at all. Is there another source code that affect the drones attacking the players base? That I'm missing.


    Cheers,
     
    #1
  2. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    Well never mind I fix the problem. The only issue I got with drones atm is the troop transport, there's one that spawn always at the same place and hug the mountain cliff, flipping around. Anyone got that issue?

    Cheers,
     
    #2
  3. Ipurgepeople

    Ipurgepeople Lieutenant

    Joined:
    Aug 10, 2015
    Messages:
    15
    Likes Received:
    6
    Okay, how? For future reference.
     
    #3
  4. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    There were 3 drone bases on the playfield, there was a conflict with all 3, remove 2 bases and the drone work as intended.

    Cheers,
     
    #4
  5. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    Yes, only ONE drone base is allowed. but increase the drone amount, get attacked by 10 drones each wave, no problem!
    (still there seems a hardcoded max count of ~26 drones per playfield, I couldn't get more spawned...)
     
    #5
  6. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    That's the reason why some POI's don't have drone protection then, even if it set to have drone protection?

    Also I got a wondering troop transport that spawn on the map always at the same location, it those nothing more then sitting there on the ground trying to take off. You know what could do that?

    If I kill it, it get replace by another one but the new transport will spawn from underground then go up in the air for about 250m then slam back on the ground, at that point it will do the same as the other transport trying to liftoff.

    Cheers,
     
    #6
    Last edited: Nov 11, 2017
  7. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    1) yep, I think so (as I have the same problem as you here)
    - only way is to eliminate any Drones you encounter, as Drones will only spawn at POIs when you come near them - but there is an amount of Drones swarming around.
    - you can always check the amounts of Drones via "ents" in the Console... ;-)
    2) ;-) yes I know that problem too, and no solution as of yet. But that only is at the DroneBase.
    - I've seen there is no "TroopTransport: True" line in the yaml for the DroneBase... perhaps this could be the solution, but haven't tested that.
     
    #7
  8. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,819
    Likes Received:
    4,112
    Where do you send the troop transport? Does it have any POI as destination?
     
    #8
  9. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    I don't know where it is going. The transport is in the playfield where the player start. When you spawn in the pod you see the transport apparently stuck on the surface of the ground. It do not attack you, nor deploying troops, to be honest it look like inoffensive, more annoying then anything you may say and as I said, if you kill it it get replace by another one.

    I didn't test anything out yet about it, was waiting to get more info. But @rucky give me an idea that I want to test. Some of the POI that I add to the playfield didn't have the code for the transport: " TroopTransport: True "

    It's possible that one of those POI create this issue, I will have to test it out by removing the code and see if it disappear.

    Cheers,
     
    #9
  10. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    @rucky

    Can you explain more on how to increase drone wave up to ten, the ones that attack your base, the max I saw so far was 6 drones attacking the base. You mention to increase the drone count, is it on the DroneBaseSetup or the Drone base itself?

    Cheers,
     
    #10
  11. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    Nah, you're right, 6 is the - obviously hardcoded - limit. If you go higher, only 2 will show up...
     
    #11
  12. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    ok, ty.

    Cheers,
     
    #12
  13. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    also up your drone count:

    DronesMinMax: [ 20, 30 ]

    for a challenge
     
    #13
  14. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    #14
  15. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    #15
  16. rucky

    rucky Rear Admiral

    Joined:
    May 29, 2017
    Messages:
    935
    Likes Received:
    2,626
    where exactly?
    I have:

    Code:
            # Spawn DroneBase far away from STARTER  
            - GroupName: DroneBaseAkuaX
              DroneBaseSetup: DroneBaseSetup
              CountMinMax: [ 1, 1 ]
              DroneProb: 1
              DronesMinMax: [ 5, 6 ]
              ReserveCount: 6
    
    Code:
    DroneBaseSetup:
        Random:
            - GroupName: DroneBaseSetup
              DronesMinMax: [ 5, 6 ]    
              ReserveCount: 6            
              DroneProb: 1.0            
              Difficulty: 7              
              PresetStyle: 2            
    
    as far as I know the "6" is the max setting in both (haven't seen more Drones patroulling, and if you setup more then 6 at the BaseAttack-number, the below code block, only 2 are shoing up always...)

    Code:
    # Patrol drones on whole planet
    # Type determined by stock of drone base
    DroneSpawning:
        Random:
            - DronesMinMax: [ 5, 15 ]
              CenterX: -2500          
    
            - DronesMinMax: [ 5, 15 ]
              CenterX: 2500
    
    this number doesn't do anything I've seen too...
    (had increased it to 35,50 but no more Drones anywhere...)

    Edit:
    not even that, I had setup a few more POIs with corresponding Drone Defense, but then NO MORE DRONE ATTACKS were showing up again - no matter what values I had increased above.
    So there must be a hard coded MAX amount of Drones we don't can customize...
     
    #16
    Last edited: Nov 20, 2017
  17. SilvRav

    SilvRav Moderator

    • Moderator
    Joined:
    Jan 13, 2017
    Messages:
    539
    Likes Received:
    882
    I will have to check my exact code for you.

    but here was the result, and they kept coming

    https://cdn.discordapp.com/attachments/355714006520037386/360542722450391040/20170921223044_1.jpg
     
    #17
    binhthuy71 likes this.
  18. binhthuy71

    binhthuy71 Rear Admiral

    Joined:
    Oct 17, 2016
    Messages:
    1,072
    Likes Received:
    2,788
    #18
  19. ZzzSmileYzzZ

    ZzzSmileYzzZ Lieutenant

    Joined:
    Oct 7, 2017
    Messages:
    46
    Likes Received:
    7
    I support @rucky on this, try the same thing as he did and he is right, also it seems that the max drone on a playfield is 40 including drone attack base, so you got to put your setting so the max drone count on the planet will be 34 max, so you can have wave of 6 drones attacking your base for a total of 40 drones. If you set it up for 36 drone max, the drone base will sent only 4 drone to attack your base, since the max is 40 and if you set it up to 40 max the drone base will only sent 1 maybe 2 drones to attack your base since the limit is already at max (40 drones).

    Cheers,
     
    #19
    MEKNET1977 and rucky like this.

Share This Page