OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver on 10 Sep 2002, 17:25:18

Title: Wasting ammunition
Post by: seanver on 10 Sep 2002, 17:25:18
In a mission I'm doing I have an empty BDRM. When the M113 that is supporting us spots it starts attacking it. Is it possible to avoid it in order to not waste ammunition? I've tried to set captive the BDRM but that didin't work. Perhaps instead of setting the Combat Mode to another different setting than "Open Fire Engange at will" might work, does anybody know anything?
Title: Re:Wasting ammunition
Post by: Wildebeest on 10 Sep 2002, 17:54:47
You might wanna try: UnitName SetCombatMode "blue". That changes the units combat mode into 'never fire'. SetCombatMode "green" is 'hold fire'.

cheers m8
Title: Re:Wasting ammunition
Post by: seanver on 10 Sep 2002, 18:01:54
Never fire? I want the unit to support us. The BDRM is near some spetznatz that the M113 must neutralize (euphemism of killing them) I just want the M113 to kill them and any other infantry units, not empty vehicles like that.
Title: Re:Wasting ammunition
Post by: Wildebeest on 10 Sep 2002, 18:11:56
sorry... well maybe you could open yer 'mission.sqm' file and change 'side="EMPTY";' of the BDRM into 'side="WEST";'. That might work but I'm not sure. After you've done that just be careful editing the BDRM in the mission editor, 'cause if you do I think it will turn back to 'empty'.

hope that helps... else just tell me I'm wrong  ;)
Title: Re:Wasting ammunition
Post by: Gameer_77 on 10 Sep 2002, 18:20:04
Quote
After you've done that just be careful editing the BDRM in the mission editor, 'cause if you do I think it will turn back to 'empty'.

That's cause when you double-click the unit, then press ok, your changing him back to an empty unit. Bet you didn't know that ;D   (yes!  ::))

 8)PEACE
Title: Re:Wasting ammunition
Post by: Wildebeest on 10 Sep 2002, 18:21:42
yes I did lol
Title: Re:Wasting ammunition
Post by: Gameer_77 on 10 Sep 2002, 18:26:20
Awwww...I was feeling pretty clever there (http://www.tacnet.org/forum/ikonboard/non-cgi/emoticons/baaa.gif)

Anyways, back on topic...

 8)PEACE etc. etc.
Title: Re:Wasting ammunition
Post by: Wildebeest on 10 Sep 2002, 18:27:34
Instead of screwin' around... help him out lol  :-*
Title: Re:Wasting ammunition
Post by: Gameer_77 on 10 Sep 2002, 18:39:52
But i can't think of anything! (http://www.tacnet.org/forum/ikonboard/non-cgi/emoticons/withstupid.gif)

Just try what wildebeast said.  :-*

 8)PEACE
Title: Re:Wasting ammunition
Post by: Wildebeest on 10 Sep 2002, 19:06:30
did you just call me stupid Gameer_77  :'( now THAT hurts my feelings... lol have you seen that the OFP Resistance room on GameSpy is totally.. well...  :-\
Title: Re:Wasting ammunition
Post by: seanver on 10 Sep 2002, 20:00:34
nothing works so I've deleted the BRDM