Home   Help Search Login Register  

Author Topic: Why doesn't air units attack ground man?  (Read 1908 times)

0 Members and 1 Guest are viewing this topic.

edeniaz

  • Guest
Why doesn't air units attack ground man?
« on: 10 Sep 2004, 19:49:44 »
That's question. why doesn't air planes attack ground man units? They only target a type of armored unit. Can I make plane attack ground man?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Why doesn't air units attack ground man?
« Reply #1 on: 10 Sep 2004, 19:53:38 »
Yes but its difficult.      Put the plane on limited speed, very high skill and use reveal commands.   You might need doTarget and doFire as well.
Plenty of reviewed ArmA missions for you to play

edeniaz

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #2 on: 10 Sep 2004, 19:58:17 »
Then must I make dotarget and dofire command for all target units? that will make crazy :P

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:Why doesn't air units attack ground man?
« Reply #3 on: 10 Sep 2004, 20:06:00 »
Although it would require a little more work and an additional addon, you could D/L one of the many invisible target addons and then use one of the armour ones to createvehicle it then setpos to one of the infantry units. Just a concept as I have not (yet) tried it myself.


                                                       Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why doesn't air units attack ground man?
« Reply #4 on: 10 Sep 2004, 20:19:51 »
Ok, I never remember which way the reveal works :P..
So you may need to experiment with this a bit...

But, you can make a trigger covering the are on which you want the air unit to engage the troops, make it be activated by the side of the troops, then in the on Act. field, put:

"chopperName reveal _x" forEach thisList

Oh, and you might wanna make the choppers/whatever to fly quite low (flyInHeight)...
Now, I'm not guaranteening this will work, just a thought...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Why doesn't air units attack ground man?
« Reply #5 on: 10 Sep 2004, 21:53:31 »
Reveal is very, very, very buggish. Won't really work unless they spot the units anyway.

:beat: *Gets Shot* :beat:

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why doesn't air units attack ground man?
« Reply #6 on: 11 Sep 2004, 07:44:54 »
It's not buggish...
It just has been made so that it does exactly what the word reveal means ::)

It rises the knowsAbout of the unit (to whom you reveal the other unit) to 1, which means the other unit is revealed as the first unit now knows there is that unit present...
Then, if they are not 10000000000000kms apart, the first unit may attack the revealed unit if the revealed unit fullfills all the criteria OFP AI needs in order to attack...

Anyhoo, I've had succesfull reveal stuff going on, but sure, it's not perfect and won't always help...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

djukel

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #7 on: 11 Sep 2004, 11:10:05 »
Edit config.bin:

class Man : Land
{
      irTarget=1;
};

edeniaz

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #8 on: 11 Sep 2004, 12:25:37 »
Edit config.bin? How can I  edit *.bin files? I tried text edit but that's not work...

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Why doesn't air units attack ground man?
« Reply #9 on: 11 Sep 2004, 16:48:19 »
Quote
Edit config.bin? How can I  edit *.bin files? I tried text edit but that's not work...
Check the Official BI Forums or Chain of Command site, there you can find the CoC Bin Viewer that Chain of Command just released... (sry, too lazy too paste the urls :P )
I'm not sure if it's available here at OFPEC too... ???

I'm not seconding that bin editing though...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

djukel

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #10 on: 11 Sep 2004, 17:10:22 »
Edit config.bin? How can I  edit *.bin files? I tried text edit but that's not work...


Editable config.bin is called config.cpp. You can find it on ECP page here in OFPEC.
But if you are not using ECP you must delete these lines form config.cpp.

               class EventHandlers
      {
         init="_this exec {\ECP_Effects\init.sqs}";
         init="_this exec {\@ECP\Addons\ECP_Effects\init.sqs}";
         killed="[_this,{KILLED}] call ECP_EH_handler"
         hit="[_this,{HIT}] call ECP_EH_handler"
         fired="[_this,{FIRED}] call ECP_EH_handler"
      };


And then will work as regular BIS config.

edeniaz

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #11 on: 11 Sep 2004, 21:43:34 »
dear djuken.

I saw your reply and tried that. I got config.cpp file on ECP pages, and got cpp2bin util in CZ site.

So I changed that class man : LAND blah... irtarget = 0 to irtarget = 1 (I think this will make plane known man like armored..Isn't it?) and delete ECP blah line as you say, save it, make to BIN, and overwrite with my OFP directory\BIN\config.BIN.

Am I right?

It's doesn't work. plane didn't attack man units yet.
« Last Edit: 11 Sep 2004, 21:47:43 by edeniaz »

djukel

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #12 on: 11 Sep 2004, 22:14:21 »
It must work! (I just retested with mi24 and it shot  to soldiers with missile too)

did you put the right bin folder?
RES\BIN\config.BIN.

Maybe soldiers are well camouflaged and chopper not see them. Try it on desert island.


edeniaz

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #13 on: 11 Sep 2004, 22:52:43 »
OMG! Is that must put in RES\BIN folder? I put that in another BIN folder :P

I'll try again!


edeniaz

  • Guest
Re:Why doesn't air units attack ground man?
« Reply #14 on: 11 Sep 2004, 23:05:15 »
YES! It WORK! Damn planes shot all her bullets to my poor soldiers! HA!

Thanks all! and I have one more Q...

If I wish to make a multi mission with that config.BIN, Must other user has same file too?

Thsnk you so much! I love you all!