Jump to content
Sign in to follow this  
Thunderbird

How to improve the AI ?

Recommended Posts

Hi

I 'd like to know how one may do to improve the AI in ofp , particulary in the .cpp, to make it more intelligent, Specialy the infantry wich look like very "stupid" in some situations...

I wish..

* That the AI will be able to know to launch the grenades of smoke to "cover" itself.

* That the AI will be able to locate an "enemy" and to use tactics to kill it...

* That they 'll be ready to answer the shootings and the sounds of explosions..

...etc....

Share this post


Link to post
Share on other sites

Keycat's script is excellent and does everything you want and more, but in its current state could not used as a "default" through changes to the config.bin. There are several reasons for that but the first one that comes to mind is that the groups that hunt you and react to you have to be named. And the groups that are linked will only go after 1 opposition group.

Now if someone could take his script and re-write it to address a few of its limitations, the script would be unbelievable. Its already amazing and completeing changes the dynamics of all missions that incorporate it. I wish I had enough scripting knowledge to re-write it because it is the BEST script in OFP. I never make a mission w/o it. (CoC's AI on demand takes a close second).

Share this post


Link to post
Share on other sites

i think il just wait till ECP 1.075 that script mumbo jumbo is to much hassel

Share this post


Link to post
Share on other sites

I work on some scriot for imporve the AI of the Tank

10%done

but the work is on hold i havn t the time for done it

Share this post


Link to post
Share on other sites

PLA mod 've done a lot of nice scripts improving the AI , I'll use them until ecp get out their pack tounge_o.gif

Share this post


Link to post
Share on other sites

For a start, i would greatly recommend that u test out the tracking scripts. Your gameplay in SP will be greatly enhanced, as it is usually just a 5 line script with a single line trigger activation and can be used by all vehicles.

Furthermore with the addition of the normal bis standard commands, u will find that the AI reaction is vastly improved from the usual commands u give from the editor, and u may berate yourself for giving Ai such realistic modern day powers.

Secondly, u can try General Barron's cqb scripts which is very effective to use in defensive positions. Currently the script is useful for defenders, but if u want something like SWAT tactics -clearing room after room - i suspect a few more lines have to be included to make AI enter buildings:-

_this domove (_building building pos1)

_this domove (_building building pos2) etc..

Ultimately, one day, some addon maker will incorporate and improve such features into their units then it will make u forget about the AI of other games and wonder if u can handle such realism pyschologically! wow_o.gif ...and thats ofp for u.  tounge_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]For a start, i would greatly recommend that u test out the tracking scripts

Where can I find those scripts ? rock.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]For a start, i would greatly recommend that u test out the tracking scripts

Where can I find those scripts ? rock.gif

At the place where most, if not all, scripts can be found:

www.ofpec.com

Share this post


Link to post
Share on other sites

agree with ronin, ofpec is a great repository of donated scripts and script knowledge. It will be a good starting point and should u want to proceed further to customise it, u can search either there or here in bis forum. Many ideas and concepts abound, its just how u will twist it to suit your addon. Just remember to credit the authors if u use it whole for your published addons.

Share this post


Link to post
Share on other sites

Can this KeyCat Grouplink v2 can be included in the game config or something so i would not have to activate it myself in the game by triggers and i would not have to put in my mission folders? rock.gif

Share this post


Link to post
Share on other sites

I'm not going to go into details here, but like Schwiing say; wait for the new ECP.

It will change the way you look at the AI for sure smile_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]Shadow Posted on Feb. 07 2005,11:50

--------------------------------------------------------------------------------

I'm not going to go into details here, but like Schwiing say; wait for the new ECP.

It will change the way you look at the AI for sure  

They really need a "Homer Simpson" type smilie of comatose drooling to convey the feeling these posts of late..  This will have to do:

*Drool*

Nope, doesn't cut it.. Cant wait! smile_o.gif

Share this post


Link to post
Share on other sites

I've introduced the main AI script of PLA

now ...

*Soldiers keep move and advance

*They hit and run

*They won't stay organized if their officier is Killed in action

*Ennemy soldiers know what they may do if they're under sniper fires

*Soldiers panic under heavy fire

*The machinegunners cover the team

*The squad won't obey the officer in some situations if the soldiers think that's possible that they'll be killed if they obey to the officer

and I'm working on a smokeshell script and also waiting others scripts wich pla mod will send me wink_o.gif

The incoming FFUR patch will include all those scripts

smile_o.gif

Share this post


Link to post
Share on other sites

Good job thunderbird. Your doing a nice job keeping things moving around here! I'm doing a lot of the same things you are with my script, but lately you're doing the hard work for me

tounge_o.gif

Share this post


Link to post
Share on other sites

Nice job there, thunderbird and nubin, but why stop with only VME's AI script?...there are plenty more in ofpec and here that u can implement.

May i suggest:-

a. A new universal soldier ( not the movies type) unit be created. Sorry i cant model well otherwise i would give u mine, but latest developement says nephilm has a great looking soldier unit that u can apply the script to it.

b. A new soldier unit would be a better test model than a current overhaul to the old bis unit or unofficial ones as there may be cfg conflicts.

c. More scripts will not create lag as should only 1 script will be used, the rest wont be functioning ( unless loop sensors).

d. Furthermore, if the script is incorporated with the soldier unit, it would allow ease of gameplay - no need to always set several triggers, depending on how u give it user actions and eventhandlers.

e. This manner, users will have a choice to implement the improved system to their own units or discard others that they think wont be necessary to the gameplay.

Just a suggestion only, still, u are the main man..all the best!tounge_o.gif

Share this post


Link to post
Share on other sites

Hi

Yeah , nice proposals but I've already replaced the US soldiers wink_o.gif

and I've already regrouped all scripts in one script, it's ready and it'll be updated tomorrow smile_o.gif at 16:10 Paris time tounge_o.gif

"16:10" my thread will be open tounge_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×