POI support

Discussion in 'General Discussion' started by kkin形影, Jul 26, 2023.

  1. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    23
    Likes Received:
    0
    I'm a server admin, please save a question. When a POI is defeated, how can there be another POI to support it? I have tried various codes to no avail.
    - Type: BA_Alien
    Name: [SDS_Tovera1]
    DisplayName: 777.Boss
    Faction: Alien
    Mode: Survival
    CountMinMax: [ 1, 1 ]
    Probability: 1
    SpaceDefenseOverrideDefaults: True
    InitPower: True
    Position:
    PosXZMinMax: [500, 2500]
    PosYMax: 2500
    Properties:
    - Key: RegenAfter
    Value: 720
    - Key: MapDistance
    Value: 2500

    Name:[opvziraxRG]
    Faction: zirax
    CountMinMax:[3,4]
    Probability:1
    CanNotBeControlledByMasterAI:False
    FixedMaxSpeed:[75,81]
    Mission:SpacePatrol
    MissionDescription:
    DelayBetweenRespawnMinMax:[3600,3600]
    DelayBeforeSelfDestructionMinMax:[3600,3600]
    IsRespawnAfterDestruction: False
    RadiusMinMax:[5000,10000]
    # POINameAsPositionRef: [RBAO XenuShipyard, RBAO GhystShipyardi]
    Position:
    PosxzminMax:[1000, 10000]
    PosYMax:3500
    StockDescription:
    Name:[SpaceDroneLaser,SpaceDronePlasma]
    AmountMinMax:[2,4]
    ExtraMinMax:[0,0]
    Type: FighterDrone
    Properties:
    - Key:AIManPatrolFactions
    Value:"zirax,Rados,Ghyst,Epsilon,Xenu"
    - Key:AIManMaxPursuitRange
    Value: 12000
     
    #1
  2. Vermillion

    Vermillion Rear Admiral

    Joined:
    Jul 15, 2018
    Messages:
    3,262
    Likes Received:
    8,935
    If POI regeneration is setup on the server, they will automatically regenerate after no player has touched it for the designated time.

    Patrol vessels like you're trying to get to respawn will never respawn. They just don't work with POI regeneration. There's nothing you can do aside from wiping the entire playfield.
     
    #2
  3. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    23
    Likes Received:
    0

    Hello! I am a Chinese player and I am using Google Translate. This is what I extracted from the game."Sensors detected a distress signal being broadcasted from the station. Reinforcements will arrive in {0:F0} minutes."
     
    #3
  4. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,287
    Likes Received:
    11,939
    Reinforcements have nothing to do with poi regeneration. They are patrol vessels that will spawn in to defend the poi. They will leave when you defeat the poi or self destruct if you disable them.
     
    #4
  5. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    23
    Likes Received:
    0
    How is this Reinforcements POI realized?
     
    #5
  6. imlarry425

    imlarry425 Captain

    Joined:
    Jan 10, 2019
    Messages:
    465
    Likes Received:
    340
    From PDA.csv ...

    pda_Wm44H,"While an attacked POI will always call for reinforcements, they do not always appear. This depends on several factors such as playfield level and so on.\n\nIf the call is successful, a message will appear that informs you when to expect the arrival of reinforcements. If you manage to destroy all the reinforcements another message will inform you about your victory!\n\nCreators Information:\nThe SBD is configured in the FactionWarfare.ecf file located in the /Content/Configuration game folder.\n\nThere is also an override syntax to manage SBD per POI. Add the following entry to the POI in the space_dynamic.yaml:\n\nSpaceDefenseOverrideDefaults: True\nSpaceDefenseProbability: 0\nSpaceDefensePriceMinMax: [ 30, 60 ]\n\nNote: The SpaceDefenseOverrideDefaults setting is mandatory in case you want to handle an individual POI differently than laid down in the faction-warfare config. You do NOT need to set SpaceDefenseOverrideDefaults to FALSE, as FALSE is the same as if the parameter was not set in which case FactionWarfare is used."

    To be clear- I have never messed with configuring reinforcements (you can ask me to clarify but I will not be able to do so- I am ignorant but trying to be helpful which often isn't helpful and can be misleading ... sorry about that) but I was able to locate this pointer by doing a plain text search for the string "reinforce" in the \content directory ...

    The process of figuring out how config mods work is mostly trial and error. The PDA.csv text does have a significant amount of information buried in it (search "yaml" to find most of that) and can often be a good source of a starting point. Reverse engineering is challenging. Hope that helps.
     
    #6
  7. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    23
    Likes Received:
    0

    - Type: BA_Alien
    Name: [SDS_Tovera1]
    DisplayName: 777.Boss
    Faction: Alien
    Mode: Survival
    CountMinMax: [ 1, 1 ]
    Probability: 1
    SpaceDefenseOverrideDefaults: True
    SpaceDefenseProbability: 1
    InitPower: True
    Position:
    PosXZMinMax: [500, 2500]
    PosYMax: 2500
    Properties:
    - Key: RegenAfter
    Value: 720

    { Element Name: Unit
    Faction: Alien
    ClassName: kin_Corruki /* class from EClassConfig or ItemConfig or .epb name for vessels (without the .epb) */
    Category: BaseDefenseOrbitVessel /* category name. A category can contain multiple units of different strength. system will choose the best for requested price
    /* - SmallMinigunDone, MediumMinigunDrone, HeavyMinigunDrone */
    CommandPointsLvl1: 100 /* price of the unit at lvl 1 */
    CommandPointsPerLevel: 10 /* price per level, final price = CommandPointsLvl1 + level * CommandPointsPerLevel */
    }
    - Key: MapDistance
    Value: 2500

    This is the code I wrote, there is something wrong there
     
    #7
  8. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,287
    Likes Received:
    11,939
    You don't put the space defense unit in the playfield file. It has it's own config file. You also need to make sure the faction matches.
     
    #8
  9. kkin形影

    kkin形影 Ensign

    Joined:
    Oct 17, 2022
    Messages:
    23
    Likes Received:
    0
    Do you have a written code reference? The reinforcement has not been completed yet.
     
    #9

Share This Page