Jump to content

Silenced Weapons


GrayWolf04

Recommended Posts

I noticed that when using a silenced weapon while crouching and scoring a critical hit, the target's allies are not alerted to their death. However, doing the same when standing and getting a one hit kill without anyone else witnessing it (with the exception of the target), their allies are alerted. It seems to me that if you and the target are alone and you shoot them with a silenced weapon and kill them in a single shot, their allies two rooms down the hall through closed doors shouldn't be alerted and become hostile to you. Does anyone know a way to adjust this or a mod that allows you to achieve the same stealth like silenced kills when not crouching?
Link to comment
Share on other sites

I found and modified the following script that was already in the geck and applied it to the weapon I am trying to modify. I still can't get it to work. Any ideas?

 


[b][size="2"]scn SilencedWeaponOnHitScript

;For use with weapons that deal 0 damage (so actors and their allies do not become hostile).

Begin OnHit

Ref GunTarget

Set GunTarget to GetOwnerLastTarget

If (GunTarget != PlayerRef)

killactor

Else

GunTarget.killactor

EndIf

End

[/b][/size]

Link to comment
Share on other sites

  • 1 month later...

Hey,

 

I'm bringing this back up again because I somehow messed up my mod and had to start over again from a point beforeI had gotten this script to work. I can't remember what I did to make it work, but now I just can't figure it out. Here is the script I am now using.

 

 


[b][size="2"]scn SilencedGlock17Ammo

ref GunTarget

begin [b][size="2"]scripteffectstart

[/b][/size]If player.GetEquipped CustomSilencedGlock17 == 1

Kill GunTarget

StopCombat Player

StopCombatAlarmOnActor Player 

 

EndIf

end[/b][/size]

 

 

 

This should be applied to the gun itself. If I try to apply it to a projectile and set it to run OnHit, when the game is loading, I can't skip past the opening credits and the game finally freezes at the title slide before it can show the title and the main menu. There is no crashing and the music continues to play.

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...