1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Vehicle spawns

Discussion in 'Bug Reports' started by Kelley, Feb 26, 2014.

  1. Kelley
    offline

    Kelley Moderator Staff Member

    Messages:
    377
    Likes Received:
    77
    Trophy Points:
    28
    It seems to me the cars haven't been spawning on the HN server? The total vehicle count seems too low and there is still lots of vehicle classes missing? The A.I. are driving them around but we can't find any. Some of the vehicles that seem to be missing are---
    SUV
    HUMV
    All large trucks( there is a long list)
    tan offroad pu
    covered offroad pu
    I have only seen 1 PK pu
    I have only seen 1 uaz/launcher
    There are very few vehicles in the south part of the map.
    Also,in your spare time, I would like a mini submarine and a gyro copter that looks duct taped together, like this:http://www.airliners.net/photo/Bensen-B-8M-Gyrocopter/0610957/L/
    Thanks.
     
    thevisad likes this.
  2. thevisad
    offline

    thevisad HNGamers - HeadQuarters for all things fun! Staff Member

    Messages:
    499
    Likes Received:
    83
    Trophy Points:
    28
    Did some cleanup and deleted all of the stuff without anything in the inventory.
     
  3. Kelley
    offline

    Kelley Moderator Staff Member

    Messages:
    377
    Likes Received:
    77
    Trophy Points:
    28
    Thanks. I don't know enough about the vehicle spawn system to know how fast the map should populate, it just seems like something is odd.
     
  4. thevisad
    offline

    thevisad HNGamers - HeadQuarters for all things fun! Staff Member

    Messages:
    499
    Likes Received:
    83
    Trophy Points:
    28
    Yeah, there was a missing file on the server so it wasn't running. One of the problems is the max vehicles on the bikes was way high, so more bikes would spawn. Basically this is what happens

    1. Pull all vehicles in the vehicle table that are already on the server.
    2. Find any damaged vehicles and remove them from the tables
    3. Pull a list of all vehicles allowed on the server and generate a new vehicle for every spawn point on the map (200ish vehicles x 450ish spawn points = potential spawns).
    4. Randomize the list, find out how many vehicles should spawn based on max level set and the vehicles removed earlier (150 vehicles max on our server)
    5. Count the number of each vehicle types on the server (3 suv's, 2 bikes, etc) and then begin the process of picking out a random vehicle from the list generated in 4
    6. Check this picked vehicle against the maximum allowed of that vehicle type, if below the limit check to ensure there is not another vehicle spawn at the same location.
    7. spawn that vehicle!
     
  5. Kelley
    offline

    Kelley Moderator Staff Member

    Messages:
    377
    Likes Received:
    77
    Trophy Points:
    28
    This still doesn't seem to be working correctly. Boats and air vehicles seem to spawn correctly but not cars.
     
  6. thevisad
    offline

    thevisad HNGamers - HeadQuarters for all things fun! Staff Member

    Messages:
    499
    Likes Received:
    83
    Trophy Points:
    28
    Ok, I will look into this and try and resolve the issue.
     
  7. Kelley
    offline

    Kelley Moderator Staff Member

    Messages:
    377
    Likes Received:
    77
    Trophy Points:
    28
    I think 5 and/or 6 isn't functioning correctly. I think there is only supposed to be 6 total RHIB on the map but last time I checked there was 9 or 10 total. Too many of some things,none of others.
     
  8. thevisad
    offline

    thevisad HNGamers - HeadQuarters for all things fun! Staff Member

    Messages:
    499
    Likes Received:
    83
    Trophy Points:
    28
    As soon as I am done with the patch I will overhaul the vehicle section of the server side. Since this isn't a client patch we can resolve this anytime.
     
    Kelley likes this.

Share This Page