Does turret AI use server resources?

Discussion in 'General' started by Ermm ok!, Jun 4, 2006.

  1. Ermm ok!

    Ermm ok! Member

    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    0
    How do turret AI calculations effect server resources?

    I assume that as the turrets are not player controlled they must use some resources when firing and tracking players. Could alot of turrets cause heavy server loads?
     
  2. ^Dee^

    ^Dee^ Former Super Moderator

    Messages:
    4,385
    Likes Received:
    6
    Trophy Points:
    0
    well the rotation is completely client side but targetting it server side.

    Definately possible for loads of turrets to lag a server.
     
  3. Stu

    Stu BehälterGott

    Messages:
    799
    Likes Received:
    0
    Trophy Points:
    0
    Turret farms lag.
     
  4. Lock N' Load

    Lock N' Load Member

    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    0
    Too many anything lag the server, but I don't think it's the targeting that lags, it's the firing. Sounds, impacts, damage dealing, the tracers even would probably make it cry.
     
  5. ^Dee^

    ^Dee^ Former Super Moderator

    Messages:
    4,385
    Likes Received:
    6
    Trophy Points:
    0
    everything except damage would be client side I believe.
     
  6. Krenzo

    Krenzo Administrator

    Messages:
    3,771
    Likes Received:
    0
    Trophy Points:
    0
    A turret firing takes 1 ms of the official server's cpu time.
     
  7. Ermm ok!

    Ermm ok! Member

    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    0
    what about the "is there anything to shoot at" loop?
     
  8. zadarblack

    zadarblack Member

    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    0
    hahaha i must say like one said earlier

    about everything in mass lagg out the server or the fps lol
     
  9. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    That was changed to client side in 1.03 of 1.04 or something.
     
  10. EKS

    EKS Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    How could that be client side? Does the server tell ClientX that he is in charge of turret X targeting? ;)

    Any entity is in the server entitiy list is going to increase CPU load, and then there is how often the entity thinks, and how complex its thinking is.
     
  11. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    im no programmer but i can easily see how a client could tell the turret he is in its range.
     
  12. Lock N' Load

    Lock N' Load Member

    Messages:
    240
    Likes Received:
    0
    Trophy Points:
    0
    That was the animation of it turning. Example: Player A sees the gun pointing North while Player B sees it pointing South.
    The "idle" waiting for something to shoot time is probably server side since the hitboxes are server side, and the hitboxes are what the turret would shoot.
     

Share This Page