00:00
00:00
jirachi99

Age 29, Male

Programmer

QLD, Australia

Joined on 11/13/07

Level:
6
Exp Points:
300 / 400
Exp Rank:
> 100,000
Vote Power:
4.58 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
1
Saves:
5
B/P Bonus:
0%
Whistle:
Normal
Medals:
307

A.I. In multiplayer games - authograph

Posted by jirachi99 - March 7th, 2011


So I have been thinking a lot about making an online multiplayer game, then today it dawned on me (While playing GTA IV) that the game seemed to keep making people I shot randomly fly in like 12 different directions at once, I found out about this because of their rag-doll system, they actually weren't experiencing any glitches, the fact was BOTH of our games was predicting a path that she would be sent flying, my game thought I shot her in the chest, while her game thought I shot her in in the sholder, the outcome was that my game predicted that she was going to fly backwards, while hers though she'd fly a bit to the right, and therefore my game was in the wrong and updated to see that she was right.

My idea of using A.I. in games works the same, the a.i. moves towards the player, then attacks! The thing being that in MULTIPLAYER across multiple systems there would need to be a different tactic happening or otherwise we get a repeat of the GTA game.

That's when I woke up today with the idea of an authograph, not AUTO graph (like someones signature) but AUTHO graph,

Autho being short for Authority and graph being like a pie graph, rather than giving each player there own control over there own A.I. we have a certain player controlling all (or majority) of the A.I. In the area

Take Call of Duty Black Ops Zombies games, they have 1 host who is in charge of the zombies A.I., the other players are just reacting to the hosts decisions on what the A.I. should do.

The hosts game tells the A.I. what to do, the other games simply keep on asking the host what to do with the A.I., this is also where draw distance can come into play

DRAW DISTANCE is a method of only loading what is visible on the screen, take any RPG for example, if you are standing on one side of the world you aren't going to be able to see whats happening on the other, so if there are 200+ enemies on the map, but the player is only in 1 room then it will only facilitate the A.I. of those enemies, if the host is within that area the game will tell the host to calculate the AI, but if the host is miles away then it is user independent, if 2 or more players except the host are in the same room then the one with either the best connection OR less restrictive NAT (Network Address Translation) will be the holder of the A.I.

In turn anyone can be a smart online programmer, you just need to imaging and keep you hands on the keyboard!!

Next update tomorrow!!!


Comments

Comments ain't a thing here.