Creating A.I.

L337_Assasain

Newbie
Joined
Sep 18, 2004
Messages
337
Reaction score
0
I was looking at one of the many mods that are being created for hl2 (a survival horror), and it gave a short description of how the enemy would react to you, and how they would attack, but i thought that when someone creates a mod for hl2, they had to use the A.I from one of the enemies from hl2, just with a different model. Is it possible to write A.I for a game that already has A.I...i'm to too sure how to explain what my questio is, but i think you get it :)
 
No you can write your own A.I.. "A.I." is basically just a bunch of scripts on a map that tell an enemy what to do. You could have a script that tells an enemy what to do when it comes in contact with the player character.
 
I know what A.I is, I just can't imagine a modder would actually go through the trouble to write and script his own A.I.
And if he (or she) did, would it be much different? (i'd imagine that they would build off of the original HL2 A.I.)
 
All the AI files are included in the SDK. You can edit them, or completely rewrite them as you please. You can even reassign NPCs to different completely different AI scripts if you really felt like it.

You can pretty much edit anything and everything in source... How else do you think it would be possible for modders to create full-blown RPGs and Fighting Games if they couldn't change the AI to function in ways that actually work in those game types?
 
Back
Top