Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AiParams:
- # Radius around a player in which AI cars won't despawn
- PlayerRadiusMeters: 100
- # Offset the player radius in direction of the velocity of the player so AI cars will despawn earlier behind a player
- PlayerPositionOffsetMeters: 100
- # AFK timeout for players. Players who are AFK longer than this won't spawn AI cars
- PlayerAfkTimeoutSeconds: 10
- # Maximum distance to the AI spline for a player to spawn AI cars. This helps with parts of the map without traffic so AI cars won't spawn far away from players
- MaxPlayerDistanceToAiSplineMeters: 20
- # Minimum amount of spline points in front of a player where AI cars will spawn
- MinSpawnDistancePoints: 20
- # Maximum amount of spline points in front of a player where AI cars will spawn
- MaxSpawnDistancePoints: 260
- # Minimum distance between AI cars
- MinAiSafetyDistanceMeters: 38
- # Maximum distance between AI cars
- MaxAiSafetyDistanceMeters: 38
- # Minimum spawn distance for AI states of the same car slot. If you set this too low you risk AI states despawning or AI states becoming invisible for some players when multiple states are close together
- StateSpawnDistanceMeters: 1000
- # Minimum distance between AI states of the same car slot. If states get closer than this one of them will be forced to despawn
- MinStateDistanceMeters: 200
- # Minimum spawn distance to players
- SpawnSafetyDistanceToPlayerMeters: 125
- # Minimum time in which a newly spawned AI car cannot despawn
- MinSpawnProtectionTimeSeconds: 4
- # Maximum time in which a newly spawned AI car cannot despawn
- MaxSpawnProtectionTimeSeconds: 10
- # Minimum time an AI car will stop/slow down after a collision
- MinCollisionStopTimeSeconds: 1
- # Maximum time an AI car will stop/slow down after a collision
- MaxCollisionStopTimeSeconds: 3
- # Default maximum AI speed. This is not an absolute maximum and can be overridden with RightLaneOffsetKph and MaxSpeedVariationPercent
- MaxSpeedKph: 100
- # Speed offset for right lanes. Will be added to MaxSpeedKph
- RightLaneOffsetKph: 13
- # Maximum speed variation
- MaxSpeedVariationPercent: 0.0
- # Default AI car deceleration for obstacle/collision detection (m/s^2)
- DefaultDeceleration: 10
- # Default AI car acceleration for obstacle/collision detection (m/s^2)
- DefaultAcceleration: 4
- # Maximum AI car target count for AI slot overbooking. This is not an absolute maximum and might be slightly higher
- MaxAiTargetCount: 1000
- # Number of AI cars per player the server will try to keep
- AiPerPlayerTargetCount: 40
- # Soft player limit, the server will stop accepting new players when this many players are reached. Use this to ensure a minimum amount of AI cars. 0 to disable.
- MaxPlayerCount: 0
- # Hide AI car nametags and make them invisible on the minimap. Broken on CSP versions < 0.1.78
- HideAiCars: true
- # AI spline height offset. Use this if the AI spline is too close to the ground
- SplineHeightOffsetMeters: 0
- # Lane width for adjacent lane detection
- LaneWidthMeters: 3
- # Enable two way traffic. This will allow AI cars to spawn in lanes with the opposite direction of travel to the player.
- TwoWayTraffic: false
- # AI cornering speed factor. Lower = AI cars will drive slower around corners.
- CorneringSpeedFactor: .5
- # AI cornering brake distance factor. Lower = AI cars will brake later for corners.
- CorneringBrakeDistanceFactor: 1.7
- # AI cornering brake force factor. This is multiplied with DefaultDeceleration. Lower = AI cars will brake less hard for corners.
- CorneringBrakeForceFactor: 1.5
- # Name prefix for AI cars. Names will be in the form of '<NamePrefix> <SessionId>'
- NamePrefix: Like and share plz
- # Ignore obstacles for some time if the AI car is stopped for longer than x seconds
- IgnoreObstaclesAfterSeconds: 20
- # Apply scale to some traffic density related settings. Increasing this DOES NOT magically increase your traffic density, it is dependent on your other settings. Values higher than 1 not recommended.
- TrafficDensity: 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement