Home   Help Search Login Register  

Author Topic: artificial unintelligence  (Read 922 times)

0 Members and 1 Guest are viewing this topic.

Offline OrnelP

  • Members
  • *
  • "The true battlefield is within"
artificial unintelligence
« 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
War is delightful to those who have had no experience of it
- Deciderius Erasmus

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: artificial unintelligence
« Reply #1 on: 02 Jun 2006, 01:49:23 »
To the one more question:
Code: [Select]
unit action ["drop weapon",unit,0,0,"M16"]

Offline RichUK

  • OFPEC Patron
  • ****
  • Have fun!
Re: artificial unintelligence
« Reply #2 on: 02 Jun 2006, 11:22:51 »

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]