A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »AI syncing

Page 2 of 2 Go to page: · 1 · [2] · Prev
Author Topic: AI syncing (51 messages, Page 2 of 2)
Moderators: Dennis

chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: May 28, 2009 01:04 PM    Msg. 36 of 51       
You can't be more specific, it's how the game was made. It was made to have vehicles sync.


Dwood
Joined: Oct 23, 2007

Judge Ye Therefore


Posted: May 28, 2009 02:30 PM    Msg. 37 of 51       
I would like to note that if someone has C++ experience, AI CAN sync.

If you CAN program in C++ go to modacity and get Open Sauce, then go to networking and tell the server to send the ai actions over the web, and that the server says "no ai for you" to clients so we don't get double ai.

That's it tbqh.


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: May 28, 2009 05:54 PM    Msg. 38 of 51       
Quote: --- Original message by: Mysterion
If vehicles sync, and an AI is driving a vehicle (which should sync), why doesn't the AI driven vehicle sync?


The fact that the AI is in the vehicle is not sent to the clients because the only thing that is sent to the clients is the existence and health of that AI biped. Nothing else is sent to clients about AI or independent bipeds.

So the result is, the vehicle on the client's side still appears unoccupied. The server only updates information about vehicles consistently when a player is driving one. When a vehicle is unoccupied, the server updates its position every couple of seconds only, and doesn't update anything else about it.

Usually, the vehicle's position is kept constant with the server's because of matching physics, such as a grenade thrown under the vehicle. The grenade is synced, so the vehicle should flip around nearly the same on both server and client, resulting in no need to warp the vehicle to the server position.

Yet, if lag caused a rocket to not fire on client side but it was aimed right at the vehicle on the server, then on the client, the vehicle would just warp into the air randomly until it lands on the ground again as a result of the server-side flipping vehicle being updated to the client at those intervals. I'm sure you might have seen that before.

So, because the vehicle is unoccupied on the client, yet it's being driven around on the server by an AI, the result on the client side is that the vehicle warps around as its position gets occasionally updated, but still is turned off and unoccupied.


chrisk123999
Joined: Aug 10, 2008

=CE= Chris [Captain] [=]


Posted: May 28, 2009 07:37 PM    Msg. 39 of 51       
That would be funny to watch.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: May 28, 2009 11:26 PM    Msg. 40 of 51       
I have seen this phenomena on my laptop acting as a client to my desktop. A vehicle driven by an AI suddenly appears at one location, then several seconds later it disappears and then reappears at another location. In effect, there is some syncing for a vehicle driven by an AI, just at broad intervals.


Rempalm
Joined: May 28, 2009

You just need the proper key to open it.


Posted: May 29, 2009 01:12 AM    Msg. 41 of 51       
Quote: --- Original message by: jackrabbit
AI IS 4 SP!


Um Area series is a co-op multiplayer game.


Sangheili2552
Joined: May 25, 2009

Wort wort wort!


Posted: May 29, 2009 06:16 AM    Msg. 42 of 51       
and if the vehicle has multiple seats and a human and ai gets in?


Polamee
Joined: Feb 25, 2008

MP2SPMT's founder


Posted: May 29, 2009 06:17 AM    Msg. 43 of 51       
Quote: --- Original message by: Sangheili2552
and if the vehicle has multiple seats and a human and ai gets in?


The direction of the vehicle will sync, but the Ai's firing and dialogue will not.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: May 29, 2009 02:48 PM    Msg. 44 of 51       
One interesting thing that I have noticed is that you and a LAN client have a hog in the same base, and AIs climb in the vehicle, it will appear on both PCs that the AI are sitting in the hogs. Though they are not exactly syncing, it will appear that they are.


Sabre
Joined: Dec 10, 2008

I joined RB in protecting Donut's avatar.


Posted: May 29, 2009 02:55 PM    Msg. 45 of 51       
Quote: --- Original message by: Mysterion
One interesting thing that I have noticed is that you and a LAN client have a hog in the same base, and AIs climb in the vehicle, it will appear on both PCs that the AI are sitting in the hogs. Though they are not exactly syncing, it will appear that they are.


That's because it technically is not internet, it's just two computers hooked together.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: May 29, 2009 09:04 PM    Msg. 46 of 51       
No, it does the same thing when connecting by internet in the same room.


Me KS
Joined: Feb 2, 2008

Desire is Reality. Xfire: jetmaster23


Posted: May 29, 2009 10:15 PM    Msg. 47 of 51       
Quote: --- Original message by: Sangheili2552
and if the vehicle has multiple seats and a human and ai gets in?


In that case, the vehicle will sync as usual as long as the AI isn't driving. But, on client side, the seat where the AI is in appears empty. Yet, if a player tries to get in that seat, they can't because the AI is in it on server side.


Slayer117
Joined: Oct 3, 2008

Host of CE3 2010-forever!


Posted: May 29, 2009 11:45 PM    Msg. 48 of 51       
there is a way to make AI sync, but not in CE you would have to remake the game engine for ai to sync. have fun making it. i sugest using Microsoft C++ Gmax and a whole lot of other fancy software.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: May 29, 2009 11:56 PM    Msg. 49 of 51       
I was just the client on a map I am working on. I had a spartan gunner sitting in my desert patrol vehicle, and he could be seen from the host machine sitting in my DPV.


PVT Jenkins
Joined: Feb 23, 2009

Advance!!!!!


Posted: May 30, 2009 12:34 AM    Msg. 50 of 51       
Ok that's enough AI don't sync and, that is FINAL. Get the point they will NEVER sync EVER.


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: May 30, 2009 10:34 AM    Msg. 51 of 51       
Quote: --- Original message by: Slayer117
there is a way to make AI sync, but not in CE you would have to remake the game engine for ai to sync. have fun making it. i sugest using Microsoft C++ Gmax and a whole lot of other fancy software.


Open Sauce uses C#, I believe. And how does Gmax help?

 
Page 2 of 2 Go to page: · 1 · [2] · Prev

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 10:31 PM 157 ms.
A Halo Maps Website