Home   Help Search Login Register  

Author Topic: Firing Blanks  (Read 1087 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Firing Blanks
« on: 23 Apr 2005, 22:20:03 »
Hi,

Does anyone know of a script (if it is even possible) that makes the weapons fire blanks? I looked in the editors Depot with no luck. Is this even possible?

This would help me out in a mission I am working on


Thanks in advance ;D
"Everyone dies so deal with it and move on"

                                                      ME

Offline Blanco

  • Former Staff
  • ****
Search or search or search before you ask.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Re:Firing Blanks
« Reply #2 on: 23 Apr 2005, 22:26:42 »
My searching skills are pathetic.  ;)  

thanks for the quick response

"Everyone dies so deal with it and move on"

                                                      ME

Merc

  • Guest
Re:Firing Blanks
« Reply #3 on: 30 Apr 2005, 14:25:00 »
Here is a heavily edited script of mine (i changed the title too).

Put
Code: [Select]
this addeventhandler ["fired",{_this exec "blanks.sqs"}] in your units init. field.

The script basicly just deletes the bullet, but if you fire strait down, then the script will not have time to delete the bullet, and the bullet will hit the ground.  ;D

Merc

  • Guest
Re:Firing Blanks
« Reply #4 on: 30 Apr 2005, 14:26:12 »
oops... ;D

i forgot to add the script into my post.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Firing Blanks
« Reply #5 on: 30 Apr 2005, 16:28:28 »
There's no need for any scripts

Code: [Select]
this addeventHandler ["fired",{deleteVehicle (nearestObject [_this select 0,_this select 4])}]
And no more escaping bullets...
« Last Edit: 30 Apr 2005, 16:29:24 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Merc

  • Guest
Re:Firing Blanks
« Reply #6 on: 30 Apr 2005, 16:56:50 »
@HateR_Kint
that is basicly my script but shortened a lot.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Firing Blanks
« Reply #7 on: 30 Apr 2005, 20:05:12 »
Yes, and more effective...

Btw, that script of yours had way too much stuff in it anyway...
There's no need for any of those # labels etc...
« Last Edit: 30 Apr 2005, 20:06:59 by HateR_Kint »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Merc

  • Guest
Re:Firing Blanks
« Reply #8 on: 30 Apr 2005, 21:23:18 »
that is probably because it was a script that did something else but i deleted over half of it for this forum.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Firing Blanks
« Reply #9 on: 30 Apr 2005, 23:09:11 »
Oh, ok...

Anyway, as you saw yourself, deleting the bullet in the script may cause the bullet to 'escape'... More probable under even a slight lag...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Morglor9

  • Members
  • *
Re:Firing Blanks
« Reply #10 on: 01 May 2005, 06:21:55 »
script basicly just deletes the bullet, but if you fire strait down, then the script will not have time to delete the bullet, and the bullet will hit the ground.  ;D

from what i hear, blanks do actually cause damage at close range, because they still have the explosion. i believe it is actually possible to kill someone by putting a gun to someone's temple and firing a blank.
Cymbaline