OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: bardosy 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?
-
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.
-
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
-
To solve that, reveal the vehicle to all the units of each side.
-
but den it will triger da alarms on my whole area :no: im using alot of knowsabout scripting...
LCD OUT
-
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?
-
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.
-
and is there no way 2 remove da thing w/ enemies not shoting a stolen car ? just 2 script a reveal command ?
LCD OUT
-
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.
-
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)?
-
You should reveal the vehicle itself once the player is inside.
-
how do i reveal a civillian vehicle if player gets in to all enemy groups with in an area ?
-
Create a trigger on the fly for enemy presence, wait a second, get its list and reveal the car to everyone.
-
thats easy for you to say ... lol
how would i do that ?
-
Check this (http://www.ofpec.com/ed_depot/index.php?action=details&id=413&page=0&game=ArmA&type=tu&cat=xyz)