Commit Graph

53 Commits

Author SHA1 Message Date
nsubiron b9e781c01d Fix crash in simulation mode 2017-09-28 11:35:08 +02:00
nsubiron c82c015d14 Change protocol: remove autopilot option, always send AI control and let the client decide 2017-09-26 18:20:50 +02:00
nsubiron 4c56b9a3c6 Extend the concept of non-player agents to traffic lights and signs 2017-09-22 16:35:23 +02:00
nsubiron f149c384ed Fix compilation warning 2017-09-05 17:32:39 +02:00
nsubiron 41c07f7300 Add function to check if the controller possesses the player 2017-09-05 10:13:55 +01:00
nsubiron 3d836c6ba8 Stop using reverse as brake in vehicle's AI 2017-09-05 10:07:49 +01:00
nsubiron 7c28c11943 Add traffic lights and speed limit to player state 2017-09-04 17:25:24 +01:00
nsubiron 766508eb86 Add autopilot mode to player 2017-09-04 16:36:30 +01:00
nsubiron 7d4c0646c8 Reorganise vehicle AI to be used with player 2017-09-04 13:32:09 +01:00
nsubiron b22754b7fa Make a base class for wheeled vehicles 2017-08-31 13:34:42 +01:00
nsubiron b082462363 Send info of dynamic objects 2017-07-28 13:13:19 +02:00
nsubiron 68b52dd23d Add option not to spawn walkers at begin play 2017-06-28 23:05:10 +02:00
nsubiron 770cb9f4bf Add random engine to vehicle AI controller 2017-06-23 13:06:48 +01:00
nsubiron d120439346 Improve logging 2017-06-20 15:15:57 +01:00
nsubiron e6069bf48f Add random engine and use it in spawners 2017-06-19 17:57:28 +01:00
nsubiron b79b347501 Do not resume walker movement on sensing nothing 2017-06-19 11:53:45 +01:00
nsubiron d4ad0070bd Fix walkers despawning when paused 2017-06-19 11:52:03 +01:00
nsubiron f59eaf5a24 Merge branch 'dev' into nestor 2017-06-15 13:08:15 +01:00
nsubiron 0773c6694f Some improvements to the walkers' AI 2017-06-15 13:07:17 +01:00
Xisco Bosch 60943b2ba4 small raytrace 2017-06-15 14:04:54 +02:00
Xisco Bosch 354c4f4582 Single raytrace 2017-06-15 12:29:02 +02:00
Xisco Bosch ab7e5ca680 new vehicle raytrace 2017-06-14 16:07:42 +02:00
nsubiron 7bc4802eac Tweaking other vehicles AI 2017-06-08 18:03:45 +01:00
Xisco Bosch 473447ba8a disabled RayTrace debug mode 2017-06-08 15:03:58 +02:00
Xisco Bosch 60a36ef449 Pedestrians detection 2017-06-08 14:37:00 +02:00
Xisco Bosch 5543b1c8b8 pederstians detection 2017-06-07 19:44:29 +02:00
Xisco Bosch da2037de83 Raytrace look at road direction 2017-06-07 14:17:37 +02:00
Xisco Bosch ed23f94545 vehicle AI update 2017-06-06 17:56:59 +02:00
Xisco Bosch bf40b5bc72 variable raytrace length 2017-06-06 12:51:26 +02:00
Xisco Bosch 2a1f8b3a78 stop when speed > MAX_SPEED 2017-06-04 21:15:03 +02:00
Xisco Bosch 67000852a6 AI brake 2017-06-04 19:53:37 +02:00
Xisco Bosch a6a5daa86f merge conflicts 2017-06-04 13:52:51 +02:00
Xisco Bosch e8ed338f59 old AI brake 2017-06-04 13:32:50 +02:00
nsubiron ed69bbc36b Fix issue pedestrians only stop if visible car moves forward 2017-06-04 13:31:27 +02:00
nsubiron ab381487fd Hide vehicles' debug ray trace 2017-06-04 13:27:58 +02:00
nsubiron 6b5fcdf546 Basic walker AI 2017-06-03 18:11:23 +01:00
nsubiron 1a870a5df0 Add compile switch for AI vehicles log 2017-06-03 11:50:44 +01:00
nsubiron 029cfc9943 Spawn vehicles based on config file 2017-06-02 21:24:43 +01:00
Xisco Bosch e99eb95334 New throttle values 2017-06-01 17:10:06 +02:00
Xisco Bosch 0f57074569 send bitmap 2017-05-31 12:24:15 +02:00
Xisco Bosch 554c6cde2f Vehicle AI update 2017-05-25 10:24:28 +02:00
Xisco Bosch e4d55e3464 Merge branch 'dev' into xisco 2017-05-24 14:06:32 +02:00
nsubiron dce1075eab Set new destination to walkers in the black list 2017-05-24 12:32:06 +01:00
nsubiron 29178cced7 Count spawned walkers at begin play 2017-05-24 11:49:14 +01:00
nsubiron 795ec2e12e Spawn walkers at begin play and add a black list for misbehaving walkers 2017-05-24 11:31:14 +01:00
Xisco Bosch 2372bca0dd new Protocol 2017-05-23 19:19:08 +02:00
nsubiron d762b249c4 Add begin spawn points for walkers 2017-05-23 10:45:52 +01:00
Xisco Bosch 2e7d13b1a8 Vehicle AI updated & Vehicle spawn 2017-05-23 11:44:11 +02:00
Xisco Bosch cb41a9b371 Merge remote-tracking branch 'origin/dev' into xisco 2017-05-18 11:22:21 +02:00
Xisco Bosch 906bc6bf09 AI Vehicles & TrafficLights 2017-05-18 11:22:03 +02:00