OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OrnelP on 02 Jun 2006, 00:39:35
-
Hi all. I was just wondering, is it me or does the OFP Ai seem really clueless? I know scripting really helps and some waypoints like "Guard" but they just dont seem to have brains...
Now for my real Question, i searched these forums and cant seem to find any scripts for improving AI for this game, in my searches i came up with some dead links but now im really trying to get these scripts, anything that will improve ai regarding combat procedure and tactics... Only script i do have is the one where all AI of a Side share reports for enemy locations.
i tried this in the init of a soldier and it didnt work. loon1 addweapon "deductive reasoning"; loon1 addmagazine "Brain"
1 more Question? How do i get a guy to drop his m16 on the floor? is it an action? or a series of actions? Thanx Much, The Imfamous OrnelP
-
To the one more question:
unit action ["drop weapon",unit,0,0,"M16"]
-
Hi OrnelP...
Yes, the AI is pretty dumb, a lot of the time :)
I attach a zipped mission by CrashnBurn, which I had to hand, which might help you. It has some good scripts for improving the AI operation, but is really a tutorial about how to use Createunit.
It will just unzip into a "Createunit Tutorial.Eden" folder, that you can copy to the normal places to play it as a single player mission, or load it in the Editor and prveview it and take it apart to see how it all works.
Hope it helps...
[attachment deleted by admin]