Home   Help Search Login Register  

Author Topic: dofire just 1 shot ?  (Read 1851 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
dofire just 1 shot ?
« on: 14 Jul 2007, 02:18:27 »
is dere nyway 2 make a soldier fire just 1 shot usin da dofire command ? right now he unloads a whole clip on da target

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re: dofire just 1 shot ?
« Reply #1 on: 14 Jul 2007, 02:24:19 »
Here's a couple ideas:

You could put an "fired" eventhandler on the shooter, where you removeAllMagazines.  After first shot, his ammo is gone.  Then add the ammo back a bit later when he no longer feels the "need" to shoot.

If this is for a cutscene, you can also use a "fired" eventhandler to setpos the targert to [0,0,0], and setpos a different identical unit to the target's place (to same position and direction)...a little sleight of hand.  Hopefully, he would stop shooting when he can no longer see his original target.
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: dofire just 1 shot ?
« Reply #2 on: 14 Jul 2007, 02:26:30 »
Quote
You could put an "fired" eventhandler on the shooter, where you removeAllMagazines.  After first shot, his ammo is gone.  Then add the ammo back a bit later when he no longer feels the "need" to shoot.

dis is wat i do now... it crashes da game on american version  :blink:

Quote
If this is for a cutscene, you can also use a "fired" eventhandler to setpos the targert to [0,0,0], and setpos a different identical unit to the target's place (to same position and direction)...a little sleight of hand.  Hopefully, he would stop shooting when he can no longer see his original target.

dats ugly solution... dont like it :P also my object is moving... i will have 2 make da oder 1 move just da same

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Nixer6

  • Members
  • *
Re: dofire just 1 shot ?
« Reply #3 on: 14 Jul 2007, 07:50:35 »
Just wondering...

If he has a round in the weapon if you removed all the magazines before he fired???????????


or

 _x dofire _weapon
@unitready _x
removeAllMagazines _x

that might work.

Sorry the American version is screwing that up for you. I wonder why?????
Why do I have to be a Rocket Scientist to make a good mission?

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re: dofire just 1 shot ?
« Reply #4 on: 14 Jul 2007, 15:24:06 »
You could cheat with a fired eventhandler which follows the bullet with bulletcam in slow-mo and once the guy is out of sight setbehaviour him to careless.

I would have said what johnnyboy said with the removemagazine command but like you sid, your getting crashes. Odd, and annoying I can imagine.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Nixer6

  • Members
  • *
Re: dofire just 1 shot ?
« Reply #5 on: 14 Jul 2007, 16:39:10 »
It was working fine for LCD,  except it kept crashing on my Atari version.....which is wierd.

My natural hatred of Crappy Protection! makes me wanna blame SecURom.
Why do I have to be a Rocket Scientist to make a good mission?

Offline Cheetah

  • Former Staff
  • ****
Re: dofire just 1 shot ?
« Reply #6 on: 14 Jul 2007, 19:58:41 »
If you are experiencing problems with ArmA 1.08 + SecuROM. Maybe you could try:
http://www.securom.com/support/customers/morphicon/armed_assault_t091/arma.zip

It's a fix released by secuROM.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Nixer6

  • Members
  • *
Re: dofire just 1 shot ?
« Reply #7 on: 15 Jul 2007, 23:47:15 »
LCD, looks like you got i working. How M8?


It's a fix released by secuROM.

I shoulda known better..lol..now it wants my DVD in the drive. Kinda tough when I have the Direct2Drive download version.  :weeping:


No big problem though, I had a spare .exe stashed that I have been wanting to try....that gave me a good excuse.  :yes:

Maybe I'll get rid of that plaugue aka SecURom for good. Tis a sad day when a guy who has bought ArmA TWICE, once from SoftWrap and again from Atari, has to resort to a hacked .exe to make his game work.

That's why i call it Crappy Protection!

Not your fault Cheetah...I should have RTFM. It may just be a blessing in disguise. But..........

If I start turning into a purple seagull who can't shoot at all..you'll be the first to know.  ;)
Why do I have to be a Rocket Scientist to make a good mission?

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: dofire just 1 shot ?
« Reply #8 on: 15 Jul 2007, 23:50:04 »
suckyouROM?
urp!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: dofire just 1 shot ?
« Reply #9 on: 16 Jul 2007, 00:54:21 »
i hate all dem protections stuff :P all suck

.....

I just removed most of da units ammo :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta