Page 1 of 2

Artificial Intelligence

Posted: Mon Feb 13, 2006 5:29 pm
by Kazuya
I remember reading a bunch of times that AI in Halo 2 multiplay is impossible. I really don't mod so I don't know, but I have a question.

First of all, I don't keep up with the forum talk and stuff, so i'ts probably been talked about all ready.

Can these three facts be considered AI all ready present in Halo 2 multiplayer?:

1) Charged plasma shot follow you
2) Needles from needler follow you
3) Rockets follow vehicles

If these can be done, why can't turrets be programed to follow and shoot people?

Posted: Mon Feb 13, 2006 5:32 pm
by VoYdE
My thoughts = no
those are simple scripts that say "thats my target im going to hit it unless i come in contact with something first"

It would be AI IF the rocket thought "I was fired to hit that warthog but i see the tank is more dangerous"

This Is My Thoughts Feel free to come up or add on W/O flameing lol

Posted: Mon Feb 13, 2006 5:39 pm
by Kazuya
Yeah those are good points. How about making those scripts more complicated? Or is there a way to apply them to the turrets somehow?

Posted: Mon Feb 13, 2006 6:07 pm
by VoYdE
makeing scripts are complex, i would LOVE to learn and understand them but no-one here know or will help


ps if someone who understands AI wants to explain to me PM me for my aim

Posted: Tue Feb 14, 2006 12:01 pm
by mrhyperpenguin
well, noone has proved it possible but noone has proved it impossible. so right now its the gray inbetween black and white.

it'll probably become possible when h2ek comes out.

Posted: Tue Feb 14, 2006 12:05 pm
by dos mes
Well it has to be possible its just got to be either too simple to notice or too hard to figure out fully right now.

Posted: Tue Feb 14, 2006 3:25 pm
by sundriedprawn
dos mes wrote:Well it has to be possible its just got to be either too simple to notice or too hard to figure out fully right now.
i think its to simple to notice :mrgreen:

Posted: Tue Feb 14, 2006 4:37 pm
by dos mes
Not possible becuase you would have ifgured it out then :P jk but im still looking through everything and so is voyde i think i got partly but i just gotta figure out how to relink properly.

Re: Artificial Intelligence

Posted: Tue Feb 14, 2006 5:36 pm
by shade45
Kazuya wrote: 1) Charged plasma shot follow you
2) Needles from needler follow you
3) Rockets follow vehicles
One and two are just projectiles with higher auto aim values. and for the rockets it think its just the vehichles have a string id or a value that tells the rocket it can lock on to it.

For AI i think you would basically need to rebuild the mp scnr tag with all the missing reflexives that have to do with AI that sp maps have

Posted: Tue Feb 14, 2006 5:39 pm
by dos mes
Hence what i said above but its all thanks to you shade :) Thank you

Posted: Tue Feb 14, 2006 5:45 pm
by VoYdE
i guarantee you that the day you can extract a map and then rebuild a map (like HMT with halo 1) By Then Is When AI will Be In A MP Map

Posted: Tue Feb 14, 2006 5:46 pm
by dos mes
Hmm i intend on working on it tonight

Posted: Tue Feb 14, 2006 5:52 pm
by superaison
My thoughts would be make active scenery that bullets accross a halway like a lazer beam, like using the setinal beams lazer and changing the shader or summin.

OR

Make the rockets able to lock onto people, that would pown!!!

What i do for them rockets is swap the needler [proj] with the rocket hlmt.....but.....

If i am wron, please tell me how.

Posted: Tue Feb 14, 2006 10:41 pm
by mrhyperpenguin
dos mes wrote:im still looking through everything and so is voyde i think i got partly but i just gotta figure out how to relink properly.
i dont think its the linking of the reflexives thats throwing people off, because the tycko man and xbox7887 injected a single player scenario tag in to a multiplayer map and relinked all the reflexives, and trusting that they did everything right that didnt solve our problem. i think its the format of the data thats throwing us off, somewhere. but as i stated before, it'll should become possible once Halo2 PC comes out with the Halo2 Editing Kit. Even The Swamp Fox had to use the HEK for the AI in Forerunner Island.

So you guys can rattle your brains, actually, please rattle your brains because i would love to see AI in MP (just like the rest of you) but keep in mind that a solution is comming up in the future.

Posted: Tue Feb 14, 2006 11:02 pm
by dos mes
Yes i realize this solution will be coming but it wont be for the xbox and i prefer playin ghalo on the xbox to playing on the comp. And besides its more fun to do it yourself than to have part of it done for you with a map editor.(Yea ill be doing part of the xbox version with a map editor but you know what i mean by that.)

Posted: Fri Feb 17, 2006 6:59 am
by Kazuya
If somebody did put AI in MP, would it be especially difficult to make it system link compatible? Would it be difficult for the two or more XBOX's involved to sync the actions of the AI with each other? Do you think thats the reason there is no co-operative play through system link?

Posted: Fri Feb 17, 2006 7:43 am
by Talin64
I spent some time looking at AI yesterday and figured out a few things. about the AI styl tag.

go to ai\all.styl
most of the unicode strings are behaviors.
as an example

follow behavior
smash_obstacle
...

if you look at offset 56 you will see a bunch of FFFF..
those are actualy bit flags ie 0 or 1
They turn the behavirs on or off.


In the other *.styl tags they are set diferntly.
for instance the turret

Here is a pic of how bungie does it.
http://img124.imageshack.us/my.php?image=styl6xl.jpg

good luck Talin64

Posted: Fri Feb 17, 2006 8:55 am
by BlackFoxx113
Kazuya wrote:If somebody did put AI in MP, would it be especially difficult to make it system link compatible? Would it be difficult for the two or more XBOX's involved to sync the actions of the AI with each other? Do you think thats the reason there is no co-operative play through system link?
Kazuya, you have a plausible point; however, the AI would be running off of the hosting xbox, I could make a little game on XBC testing system link if anyone would be willing to participate. just put the single_player_shared.map the mainmenu.map and the map 04b_Floodlab.map or if that's not the map name, plz correct me.

Contact me by PMing me and telling me to go on XBConnect and I will create a server just for us, it WILL work, oh, I'll also have to give you a patch to mainmenu.map if you can .PPF ...

Posted: Fri Feb 17, 2006 9:36 am
by VoYdE
Talin64 wrote:I spent some time looking at AI yesterday and figured out a few things. about the AI styl tag.

go to ai\all.styl
most of the unicode strings are behaviors.
as an example

follow behavior
smash_obstacle
...

if you look at offset 56 you will see a bunch of FFFF..
those are actualy bit flags ie 0 or 1
They turn the behavirs on or off.


In the other *.styl tags they are set diferntly.
for instance the turret

Here is a pic of how bungie does it.
http://img124.imageshack.us/my.php?image=styl6xl.jpg

good luck Talin64
Talin Any Clue What Program it is?

Posted: Fri Feb 17, 2006 9:41 am
by Snave
Guerilla.. :roll: