oreo27 Posted November 8, 2010 Share Posted November 8, 2010 My aim is to have a weapon that can replicate what the console command "kill" can achieve. Kill an NPC without being detected or penalized for karma. I'd love to have this. Hope someone can help me out. Cheers! Link to comment Share on other sites More sharing options...
gsmanners Posted November 8, 2010 Share Posted November 8, 2010 Ah, yes. The old deleter gun. I did a number of those in personal testing, but I never released it because it always caused crashing during firefights where you have companions or just whenever the engine felt like it. Man, I wish I could have gotten that working. And it's a lot more than a few lines of code. Well, my killer shades was a few lines: scn KillerShadesScript ; kills any combat target if equipped, rewards 5 XP ; note: does not increment appropriate stats ref target begin GameMode If Player.GetCombatTarget != 0 && Player.GetEquipped KillerShades == 1 Set target to Player.GetCombatTarget target.kill RewardXP 5 Endif end Link to comment Share on other sites More sharing options...
oreo27 Posted November 8, 2010 Author Share Posted November 8, 2010 Ah, yes. The old deleter gun. I did a number of those in personal testing, but I never released it because it always caused crashing during firefights where you have companions or just whenever the engine felt like it. Man, I wish I could have gotten that working. And it's a lot more than a few lines of code. Well, my killer shades was a few lines: scn KillerShadesScript ; kills any combat target if equipped, rewards 5 XP ; note: does not increment appropriate stats ref target begin GameMode If Player.GetCombatTarget != 0 && Player.GetEquipped KillerShades == 1 Set target to Player.GetCombatTarget target.kill RewardXP 5 Endif end great idea for aiming mate! :) is there any way it could be scripted for firing? then just make the weapon 0 damage? this would eliminate the crashes and at the same time not kill everyone you targeted? or is this for hostile enemies only? thanks for the quick reply! :) Link to comment Share on other sites More sharing options...
gsmanners Posted November 8, 2010 Share Posted November 8, 2010 The 0-damage deleter gun was the worst when it came to that crashing bug I had. You can try something like it, but I'm not going back there. I think my next similar project will be a sniper rifle/SMG that shoots a powerful shotgun blast called "Dirt Gun" or something like that. Much less hassle than the deleter. EDIT: I'll attach my last incarnation of the NV version of the Deleter... Link to comment Share on other sites More sharing options...
oreo27 Posted December 15, 2010 Author Share Posted December 15, 2010 I know this is quite a delayed reply, but thanks mate :) Link to comment Share on other sites More sharing options...
Recommended Posts