Home   Help Search Login Register  

Author Topic: doFire object 234124 dont work ?  (Read 884 times)

0 Members and 1 Guest are viewing this topic.

Andreas Toast

  • Guest
doFire object 234124 dont work ?
« on: 29 May 2004, 15:31:10 »
Hi,

I want that a couple of heavy grenadiers fire on a village from
a hill above. As an target Id like to have several static object
IDs.

So I set doTarget on the ID and then SOLDIERNAME doFire object
"int ID like 123112".

My soldier turns around towards the aim but never begin to fire.

Why ? Any solutions ?

Greetings Andreas Toast

Dubieman

  • Guest
Re:doFire object 234124 dont work ?
« Reply #1 on: 29 May 2004, 17:18:21 »
One idea is all that comes to mind although it might be messy.

Grab the invisible targets add on and place some invisible guy units around your object and have the grenadiers walk into position and have a field day. :)

Andreas Toast

  • Guest
Re:doFire object 234124 dont work ?
« Reply #2 on: 29 May 2004, 17:36:54 »
thx, but an add-on with "invisible targets" sounds really messy :)

NOBODY ever found a way to shot at a tree ID ? Ive searched a lot of FAQs and several forums.

I cant believe that, why would we have access to the static objects ID in the editor ?

greets toast

Unnamed

  • Guest
Re:doFire object 234124 dont work ?
« Reply #3 on: 29 May 2004, 18:19:34 »
Use the Object command to return a pointer to a map object, using its ID.

But the problem of getting AI guys to target static objects still remains, thats why the Invisible Target Addon was suggested.

They will probably just shoot straight up into the air without Invisible Targets.

Perhaps you could fake it this way, and cam create the actual impact rounds over your target?

Andreas Toast

  • Guest
Re:doFire object 234124 dont work ?
« Reply #4 on: 29 May 2004, 20:05:00 »
> Use the Object command to return a pointer to a map object, using its ID.

I did it that way.

>But the problem of getting AI guys to target static objects still remains, t>hats why the Invisible Target Addon was suggested.

I understood that allready :) I am really suprised theres no way to say
a soldier to attack a tree.

>They will probably just shoot straight up into the air without Invisible Targets.

With SOLDIER doFire object 123123 (lets say 123123 is a tree map id)
the soldier never fires on the static map object.

>Perhaps you could fake it this way, and cam create the actual impact >rounds over your target?

I will use the cam create trick probably. thnx

greets andreas toast


Rokket

  • Guest
Re:doFire object 234124 dont work ?
« Reply #5 on: 30 May 2004, 02:00:18 »
just where is this invisible target addon? I can't find anything in addons...

garaya

  • Guest
Re:doFire object 234124 dont work ?
« Reply #6 on: 30 May 2004, 03:34:18 »
Hi, the invisible target could be an invisible Heli Pad. And you could try Gsoldier dotarget object with the following

Gsoldier fire ["m203muzzle","GrenadeLauncher","GrenadeLauncher"]

give it a try an let me know, I'm not really sure it will work.

Dubieman

  • Guest
Re:doFire object 234124 dont work ?
« Reply #7 on: 30 May 2004, 03:35:45 »
Hmmm try here in an advanced search or some other places like OPFlashpoint.org or theat OperationFlashpointCZ.

Can't remember where I got them.

But Toast the only reason I said it was messy is cause the target is viewed as an enemy soldier who is an immenient threat. So the guys keep firing for some time like to many grenades, or overkill on some bush which is rather stupid.
Scripting an explosion is better.

Anyone know the actual damgae the target can take?
Or if the bullets pass through them then for how long is it a valid target?

Andreas Toast

  • Guest
Re:doFire object 234124 dont work ?
« Reply #8 on: 30 May 2004, 15:57:16 »
hey,

IÂ'll try the camcreate trick as said before, cause I dont know
if my soldiers would fire from above without seeing the acutal
target.

To come to a final statment : THERE IS NO WAY TO USE A STATIC
MAP EDITOR ID in SCRIPTING ?! right ?!

thx for the replies, happy coding


a.toast

Dubieman

  • Guest
Re:doFire object 234124 dont work ?
« Reply #9 on: 30 May 2004, 16:58:54 »
To answer your statement, the topic and posts have already answered it and there seems to be no reg way of doing this via dotarget or dofire.