Home   Help Search Login Register  

Author Topic: Enemy car in friendly service  (Read 2883 times)

0 Members and 1 Guest are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Enemy car in friendly service
« on: 17 Sep 2007, 09:01:06 »
I have a problem.

In my mission the player (East) have to ambush an ammotruck (West) drived by RACS (Guer).

The player is a memeber of a team and theam leader order hold fire, because they have to capture (and not destroy) the truck. But they build roadblock on the road. And when the truck speed get less then 3km/h a new script activated and the ambush started:
1., The drivers unassignVehicle and allowGetIn false
2., Then (after a 0.7second) the east team get "Open fire" order. And they killed the drivers.

Then the player have to drive the truck in a safe place.
BUT(!!!) when he/I arrived with the truck in a east base, the all east soldier start shooting at me and execute in a half second.
(I thought it's because the truck is enemy)

In first time I used action[eject] instead of unassignVehicle and I thought that is the problem, so I changed it to unassignVehicle. But the problem still exists. Not every time, but sometimes... (Before (with "eject") it happened every times).

How can I solved it?
Fix bayonet!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #1 on: 17 Sep 2007, 09:11:54 »
ArmA AI recognizes enemy/friendly based on vehicle type depending on the range. At close range, the crew side counts, at longer ranges the vehicle type is what counts.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Enemy car in friendly service
« Reply #2 on: 17 Sep 2007, 09:17:30 »
its a great bug in arma... cuz it seems i can really get close 2 an enemy while driving their jeep nd dey wil ignore me... even if it has MG and i use it 2 kill em...

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #3 on: 17 Sep 2007, 09:19:29 »
To solve that, reveal the vehicle to all the units of each side.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Enemy car in friendly service
« Reply #4 on: 17 Sep 2007, 09:34:11 »
but den it will triger da alarms on my whole area  :no: im using alot of knowsabout scripting...

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Enemy car in friendly service
« Reply #5 on: 17 Sep 2007, 09:44:31 »
Yeah!
Before I arrived to my base, I have to drive throuh an enemy (Guer) checkpoint and they ignore me... :( I made a "slow down" equipment with barrels and if the player stop front of the guards they start shoot (now I know why, thanks Mandoble). But if I leave the road and circle them, they just standing peacefully (even if I reveal myself to them).

Mandoble, if I reveal me to the friendlies, they will not shoot me?
Fix bayonet!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #6 on: 17 Sep 2007, 10:05:38 »
Correct, they should not shot to you. But, the reveal increases the knowsabout a unit in time T, this knows about level decreases with the time. Perhaps, if that level reaches 0 and they find you, they will think, again, that you are enemy.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Enemy car in friendly service
« Reply #7 on: 17 Sep 2007, 10:13:09 »
and is there no way 2 remove da thing w/ enemies not shoting a stolen car ? just 2 script a reveal command ?

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #8 on: 17 Sep 2007, 11:40:51 »
For Bardosy case there might be two actions to do:
- Reveal the car to enemies if you want them to engange you.
- Put the soldiers in your friendly base in careless mode/never shot.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Enemy car in friendly service
« Reply #9 on: 17 Sep 2007, 12:31:33 »
Quote
Reveal the car to enemies if you want them to engange you.

The car??? The car is West (friendly for the enemy). Maybe reveal the player (who is on the East side)?
Fix bayonet!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #10 on: 17 Sep 2007, 13:07:17 »
You should reveal the vehicle itself once the player is inside.

Offline sharkattack

  • Former Staff
  • ****
Re: Enemy car in friendly service
« Reply #11 on: 07 Oct 2007, 12:11:15 »
how do i reveal a civillian vehicle if player gets in   to  all  enemy groups with in an area ?
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #12 on: 07 Oct 2007, 13:51:39 »
Create a trigger on the fly for enemy presence, wait a second, get its list and reveal the car to everyone.

Offline sharkattack

  • Former Staff
  • ****
Re: Enemy car in friendly service
« Reply #13 on: 07 Oct 2007, 13:57:08 »
thats easy for you to say  ... lol

how  would i do that ?
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Enemy car in friendly service
« Reply #14 on: 07 Oct 2007, 13:59:30 »
Check this