Quote: --- Original message by: Masters1337
Has anyone yet to really test if AI in vehicles would sync? Just a bunch of elites in ghosts on a map would do the trick.
No, while AI are controlling things, they are brought out of sync. AI attached to players will even drag players out of sync.
To sync AI positions, you simply attach and detach vehicles to them. During that period that they are detached, their information is updated on all clients, and while they are attaching, they get the new position of the AI for the next detach update to clients. Remember when I was talking to you about my FP legs 3rd method? I told you I was basing it off of something I did a week beforehand, the AI sync lol (yes, thats how you get the most useable FP legs; attach and detach chunks of leg constantly with no sleep count)
To deal with the projectiles, there is one flag at the bottom of a weapon, the client-side projectiles.. uncheck that. (I believe just running a script to do (set allow_client_side_weapon_projectiles 0) would do the same, but might aswell tag it in so you dont have to bother adding that command to every map)
So, your going to want A) only host can spawn AI, or B) AI are defaultly invisible, you can only see the representation that attaches to the hosts
(it would be best to do both, but im usually lazy and just do B)