GrayWolf04 Posted November 1, 2012 Share Posted November 1, 2012 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 More sharing options...
GrayWolf04 Posted November 4, 2012 Author Share Posted November 4, 2012 Anyone? Would a script attached to the gun work? If so, how would the script work? Through setting faction status? Link to comment Share on other sites More sharing options...
GrayWolf04 Posted November 4, 2012 Author Share Posted November 4, 2012 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 More sharing options...
GrayWolf04 Posted November 6, 2012 Author Share Posted November 6, 2012 Problem solved. I figured it out. Link to comment Share on other sites More sharing options...
GrayWolf04 Posted December 17, 2012 Author Share Posted December 17, 2012 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 More sharing options...
Recommended Posts