Jump to content

SARP

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by SARP

  1. Hi zhukov032186,

     

    I dont believe hosting could be as expensive as that any game producer could not handle. May be it is, just dont know.

     

    The other your point of view "dont have to" which is a strict and thick line - also which i may agree but i do not - may come to that ED does not have to update any software by any means as well.

     

    I guess this is "all about" improving users/players experience.

     

    I wouldnt like to talk about any "sales & marketing strategy" which is completely ED's concern and none of my business, and also may subject to "dont have to" here.

     

    What i wrote was just some hopefully thoughts which may someday worth to consider by ED.

     

    Thats all my friend.

  2. Hi there,

     

    I could not understand why:

     

    - ED does not host official servers

    - ED does not create official PvP scenerios

    - ED does not include Combined Arms module with this offical PvP scenerios while we definitely in need ground units, JTAC and Tactical Commanders to invade Airfields AND while they are all playable.

     

    One this type of scenerio would keep running for days in "a bit more" realistic combat environment.

     

    Please accept my appologies if i am wrong, i am very newcomer for DCS World.

  3. Hi there,

     

    Here is the scenerio for the PvP:

     

    There is a predefined zone with 20nm radius over one of airfields.

     

    If one coalision enters this zone AND holds it for certain amount of time time -say 15 mins- by preventing "other coalision" to enter this zone, the scenerio ends with success of holder.

     

    I couldnt figure out with ME tools:

     

    1. how to set and start timer

    2. check if "other coalision" enter this zone when counter starts

    3. if "other coalision" enters zone, reset timer

    4. And if time is up and "other coalision" could not enter, how to end scenerio (I know END SCENERIO as action but i couldnt figure out "condition" )

     

     

    In other words, i got stuck on setting, starting and resetting time issue by checking zone events.

     

    Any ideas?

     

    Many thanks in advance. :smilewink:

  4. Regardless, always place :SpawnScheduled or :Spawn at the end of the SPAWN object declaration, in order to avoid conflicts with other methods.

     

    I'll take a look at the video now

     

    and meantime, i will try your :Spawn suggestion.

     

     

    =====================

     

    Tried your suggestion and adding :Spawn at the end breaks the script.

     

    Only one plane spawned and did not move to the patrol zone and returned base

  5. Thank you indeed Hardcard

     

    Colon is not the case, it was my copy-paste mistake while writing here and already i dont have this colon.

     

    What i am trying to do is :

     

     

    I think this should be more clear now. :)

     

    and already tried:

     

    -- The last colon needs to be removed, also :SpawnScheduled and :InitCleanUp should be swapped (I think):
    
    RU_PlanesSpawn = SPAWN:New( "AI SU33" ):SpawnScheduled( 60, 0.5 ):InitCleanUp( 20 ):
    
    -- Corrected line
    RU_PlanesSpawn = SPAWN:New( "AI SU33" ):InitCleanUp( 20 ):SpawnScheduled( 60, 0.5 )

     

    nothing changed :(

     

     

    As far as i read, SpawnScheduled (#number, #variant ) wouldnt work with AI_BALANCER , because MOOSE already defines it as InitSpawnInterval ( #number, #number ) . And this is what i guess, hope or dont know :)

  6. Could you please describe what you're trying to achieve?

     

    Also, what's the problem, exactly? Are those AI aircraft spawning on top of each other and then blowing up?

     

    I am just trying to spawn 4 client in same group by using MOOSE AI_BALANCER.

     

    And yes, they are spawning on each other and blowing up.

  7. Hi there all from very noob here!

     

    
    RU_PlanesClientSet = SET_CLIENT:New():FilterCountries( "RUSSIA" ):FilterCategories( "plane" ):FilterPrefixes( "279th" ):FilterStart()
    
    
    RU_PlanesSpawn = SPAWN:New( "AI SU33" ):InitCleanUp( 20 )
    
    
    RU_AI_Balancer = AI_BALANCER:New( RU_PlanesClientSet, RU_PlanesSpawn )
    
    local PatrolZones = {}
    
    function RU_AI_Balancer:OnAfterSpawned( SetGroup, From, Event, To, AIGroup )
    
     local PatrolZoneGroup = GROUP:FindByName( "RUPatrolZone" )
     local PatrolZone = ZONE_POLYGON:New( "RUPatrolZone", PatrolZoneGroup )
    
    
     PatrolZones[AIGroup] = AI_PATROL_ZONE:New( PatrolZone, 3000, 6000, 400, 600 )
     PatrolZones[AIGroup]:ManageFuel( 0.2, 60 )
     PatrolZones[AIGroup]:SetControllable( AIGroup )
     PatrolZones[AIGroup]:__Start( 5 )
    
    end
    
    

     

    Above set of code is the very same code as in MOOSE example missions.

     

    The question is:

     

    I have 4 client in "279th" Su33 Group and most of times they spawn on each other. Sometimes and somehow first one rescue himself and starts patrolling in defined patrol zone which is great.

     

    As much as i have reached and read, I have tried:

     

    RU_PlanesSpawn = SPAWN:New( "AI SU33" ):SpawnScheduled( 60, 0.5 ):InitCleanUp( 20 ):

     

    or

     

    RU_AI_Balancer = AI_BALANCER:New( RU_PlanesClientSet, RU_PlanesSpawn ):InitSpawnInterval( 60,120 )
    

     

    but not a chance.

     

    Obviously i am wrong somewhere and cant figure out with DCS 2.5.5 and latest MOOSE.

×
×
  • Create New...