OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SoldierX on 26 Apr 2003, 02:10:50

Title: shootin with rpg's
Post by: SoldierX on 26 Apr 2003, 02:10:50
how do i get somebody to shoot at a chopper with a rpg?
Title: Re:shootin with rpg's
Post by: _hammy_ on 26 Apr 2003, 04:57:43
this dofire chopper1

i have some problems with this command, it sometimes takes a while for the guy to respond to the command, sometimes if he just sits there try adding "this dotarget chopper1" before "this dofire chopper1"
Title: Re:shootin with rpg's
Post by: Burn on 27 Apr 2003, 03:01:00
Don't forget:this SelectWeapon "RPGLauncher" ...the soldier won't select the RPG without that in his init. field... ;D
Title: Re:shootin with rpg's
Post by: _hammy_ on 27 Apr 2003, 05:20:07
accually, i have noticed that it will automatically (most of the time it will) select a antitank/air weapon if you make it target a vehicle, but if you have the unit target a soldier, then it will use its rifle :)
Title: Re:shootin with rpg's
Post by: Sol Fire on 27 Apr 2003, 10:55:05
yes but it is more likely to shoot with the Desired weapon if you order him to do so

i did a movie wich of course wasnt submitted (mostly just for fun) and had men shoot in slow motion AT4's at BMP's but i they wouldnt shoot without me telling them to select the AT4 first otherwise they sat there like idiots and here is a Camera going around as if something happened yet nothing did  ;D

i'v never tryed RPG vs. Chopper though.. hmm..

anyway if they dont shoot with the RPG or you want him to have it out automatically BEFORE he shoots then use selectweapon

there should be a weapon list in the Editors Depot
Title: Re:shootin with rpg's
Post by: O Neil on 28 Apr 2003, 10:29:29
Yea, Sol sent it to me too ;) It worked really well.....but I've never really got dofire nor dotarget to ever work  :-\

O Neil

PS: I'm useing the selectweapon for my cut-scene as well, works well ;)
Title: Re:shootin with rpg's
Post by: SimonRussi on 28 Apr 2003, 10:37:43
i needed this trick too, but it seems the AI units don't fire to choppers with RPGs. All descripted works when using AA launchers, but bot with RPG.
Title: Re:shootin with rpg's
Post by: macguba on 28 Apr 2003, 11:24:19
Quote
there should be a weapon list in the Editors Depot

There are several.     In fact there is a whole subcategory of them.    Browse the tutes man, browse the tutes.   ;)
Title: Re:shootin with rpg's
Post by: SoldierX on 28 Apr 2003, 22:53:43
do you mean browse the tutes for a weapons lists or how to shoot at a chopper with a rpg?
Title: Re:shootin with rpg's
Post by: Iwesshome on 28 Apr 2003, 23:09:25
Well I am sure you could find both but I think Macguba was refering to the weapons list... Hammy and Bizon already explained how to fire it.  ;)

IW