Home   Help Search Login Register  

Author Topic: Invisible targets in the air dont work?  (Read 1030 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Invisible targets in the air dont work?
« on: 12 Dec 2005, 09:02:17 »
I have tried setting up invisble tank targets so my M1A1 tanks acted like artillery but they didnt fire at all! The aim at it, but aim below it and just sit there looking. What is wrong!? I tried multiple invisible target packs!

P.S. is this the same?

this setpos [getpos this select 0,getpos this select 1,(getpos this select 2)+10]
this setpos [getpos this select 0, getpos this select 1,10]
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

yankme

  • Guest
Re:Invisible targets in the air dont work?
« Reply #1 on: 12 Dec 2005, 10:15:42 »
yu

Offline Pilot

  • Contributing Member
  • **
Re:Invisible targets in the air dont work?
« Reply #2 on: 12 Dec 2005, 14:25:44 »
Make sure the target is the right kind of target.  Also make sure it isn't too high for the tank to shoot at; it may be out of range vertically.  Also make sure it isn't too far away for the tank to shoot at.  Give the tank a reveal command, maybe they can't identify the target.  If that doesn't work, make sure the target even works at ground level.

Quote
P.S. is this the same?

this setpos [getpos this select 0,getpos this select 1,(getpos this select 2)+10]
this setpos [getpos this select 0, getpos this select 1,10]
No.  The second command will always put the object 10 meters above the ground.  The first command will put the object 10 meters above itself.  If the object is on the ground, both commands will put the object at the same height.  If, however, the object is above the ground, lets say 5 meters, the first command will put the object 15 meters above the ground while the second will put the object 10 meters above the ground.

-Pilot
« Last Edit: 12 Dec 2005, 14:26:36 by Pilot »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Invisible targets in the air dont work?
« Reply #3 on: 12 Dec 2005, 14:33:29 »
And note that an object on the ground does is not necessarily at 0.    The "height" of the object will be measured at its "centre", which could be anywhere.

Tank guns can elevate only 15 or 20 degrees.   Which isn't much.
Plenty of reviewed ArmA missions for you to play

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Invisible targets in the air dont work?
« Reply #4 on: 12 Dec 2005, 18:00:51 »
one more thing, i would run a looping debug script to report the height of your invisible target, it may very well be falling back to ground
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Invisible targets in the air dont work?
« Reply #5 on: 12 Dec 2005, 20:24:11 »
You don't need invisible targets for the tank to shoot at. Just use the 'dowatch' command, and it will point its turret wherever you want. Then use the 'fire' command to make it fire where it is pointed.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Invisible targets in the air dont work?
« Reply #6 on: 12 Dec 2005, 22:41:08 »
@GB

I understand the principle, mate, but could you shed a little more light on it?

When ever I try to use the fire command, even if the units have targeted something, they raise their guns into the air and fire into the sky... How to you force them to not do that?
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Invisible targets in the air dont work?
« Reply #7 on: 13 Dec 2005, 00:00:43 »
1. I tried LOTS of heights and distances.
2. The target doesnt fall to the ground otherwhys the tank would shoot at it.
3. I tried about 2 invisible target packs. I tried IR, Tank, laser, and infantry.

General Barron: How do I use those commands?
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Invisible targets in the air dont work?
« Reply #8 on: 13 Dec 2005, 00:14:04 »
I have also had troubles getting tanks to fire at invisible (armored) targets in the air. I used the invisible targets that are included in the BAS_Tonal pack. The tanks could hit them on the ground. The slightest elevation of the targets made the tanks stop firing with anything except machineguns.

Lesson: Tanks suck at air-to-air combat  ;D

If you want to use the tanks as artillery I suggest you put them in a line, give them the doFire command and investigate where the shot lands. Then move your tanks into the right position so the shots falls where you want them. It's a crude way, but should work if the tanks are positioned out of the way of the action.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Invisible targets in the air dont work?
« Reply #9 on: 13 Dec 2005, 01:11:35 »
@general barron:
I want your children because it worked (targets not in air but about 2000-3000 meters away wich they didnt fire at immediatly.

@nominesine:
So I download  the bas tonal thingy and use those in the air?

Problem:
I want to make tanks fire further than 2000-3000 meters. Maybe to about half way of the map.

P.S. Can someone transform the simple code of making tanks fire with a domove and dofire command work with a onmapsingleclick command/script?
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Invisible targets in the air dont work?
« Reply #10 on: 13 Dec 2005, 12:32:23 »
Quote
Maybe to about half way of the map.
May be impossible.    Things like shells and bullets have a limited lifetime - if they haven't hit anything they are deleted.    The really snazzy arty scripts grab the shell a while after it is fired, calculate its trajectory, delete it and create a new shell on the same trajectory near the target.

(All of which is a long way from the first arty scripts, which camcreated an M2 mg where you wanted the explosion, made it setdammage 1 and then deleted it.   If you watched an arty barrage closely you would occasionally catch a glimpse of the mounting.)
« Last Edit: 13 Dec 2005, 12:33:57 by macguba »
Plenty of reviewed ArmA missions for you to play