OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SandVoss on 04 Jun 2005, 05:31:11

Title: Prevent AI crew talking?
Post by: SandVoss on 04 Jun 2005, 05:31:11
Hi,

I was wondering if it were possible to prevent AI tank crew from talking, especially the AI counterpart of a player. I often play as commander of a tank platoon, but a problem i keep on getting, is that as soon as we have a visual on enemy tanks, my character starts to shout out where all these tanks are, without me actually rightclicking them or anything. This is highly anoying, as i will try to order my gunner to engage a tank, but my order will be delayed until my AI nemesis is done talking. By this time, my tank will usually already have been eliminated by the opostion.

Is it possible to disable this option? I dont want my character to do any spotting, i can do that myself, and it only delays things, instead of helping.
Title: Re:Prevent AI crew talking?
Post by: penguinman on 04 Jun 2005, 05:58:52
dont think you can do that.

sry
Title: Re:Prevent AI crew talking?
Post by: Loup-Garou on 04 Jun 2005, 11:31:47
Indeed, it's a very annoying problem, but, alas, I don't know any solution...the best could be to play as gunner... :-\.
Title: Re:Prevent AI crew talking?
Post by: Planck on 04 Jun 2005, 11:59:11
Hmmmmm, what about:

enableRadio false.  ::)  ::)


Planck
Title: Re:Prevent AI crew talking?
Post by: h- on 04 Jun 2005, 14:20:28
Not very good idea Planck...
If you use enableRadio false then the crew won't take any commands from you as they can't hear you...

You can get the tank to move for example but you can't issue targets...
Title: Re:Prevent AI crew talking?
Post by: Planck on 04 Jun 2005, 14:26:50
Ok Ok........

enableRadio {false only when AI is sending}....... ;D ;D


Planck
Title: Re:Prevent AI crew talking?
Post by: h- on 04 Jun 2005, 15:33:24
;D ;D

Makes me wonder why oh why BIS never thought of making the enableRadio to accept single units...
Title: Re:Prevent AI crew talking?
Post by: Kuro on 04 Jun 2005, 15:36:03
Actually,

i think it works. By accident i set enableRadio false in a mission. My team still reacted but is was a little bit hard because i can not "hear" them answer.
So it is an option.
Title: Re:Prevent AI crew talking?
Post by: h- on 04 Jun 2005, 15:41:26
Well, I just tested this with a tank and all I could make them to do was to move to point where I ordered them (by clicking the screen)...

Enemy armored targets were ignored no matter how much I tried to tap the 'reveal' key...

Sure, infantry will engage targets if they see them but with a vehicle the gunner does not engage targets unless you order him to...
On 'engage at will' vehicle gunners do engage targets on their own...
At least sometimes... ::)
Title: Re:Prevent AI crew talking?
Post by: SandVoss on 04 Jun 2005, 18:14:12
Well thanks for the reactions.

It seems like there is no feasible solution.  :-\ A little flaw in the engine, and not much we can do about it.
Title: Re:Prevent AI crew talking?
Post by: Morglor9 on 05 Jun 2005, 06:16:22
perhaps you could script an enable/disable radio action, which u turn on (enableradio true) when u want to issue orders, and then turn off (enableradio false) when u want the AI to shut up.
Title: Re:Prevent AI crew talking?
Post by: UNN on 05 Jun 2005, 13:12:15
It might be just the commanders that over use the radio, try removing them from your supporting tanks. As long as everyone else is in your group (gunners/drivers), they will follow your lead for targets.
Title: Re:Prevent AI crew talking?
Post by: DBR_ONIX on 10 Jun 2005, 14:38:34
this disableAI "speech"
Or
this disableAI "radio"

or something along those lines?
Never used disableAI, but may work :P
- Ben