Way to mass copygive vanilla weapon stats to mod weapons?

Post » Wed Oct 07, 2015 12:15 pm

I added a bunch of new weapons to my game but I don't like their stats, I want to nerf them stats and price wise to iron-silver-steel levels, but there are at least 100 new weaps to go through. Is there a script with TES4edit/CSE to mass copy stats?

User avatar
Patrick Gordon
 
Posts: 3366
Joined: Thu May 31, 2007 5:38 am

Post » Wed Oct 07, 2015 8:59 pm

This script in TES5Edit will reduce damage by 50% and price by 10% of weapons

unit UserScript;function Process(e: IInterface): integer;var  v: single;begin  if Signature(e) <> 'WEAP' then    Exit;    AddMessage('Processing: ' + Name(e));    v := GetElementNativeValues(e, 'DATA\Damage');  v := v * 0.5;  SetElementNativeValues(e, 'DATA\Damage', Round(v));  v := GetElementNativeValues(e, 'DATA\Value');  v := v * 0.9;  SetElementNativeValues(e, 'DATA\Value', Round(v));end;end.
User avatar
Dominic Vaughan
 
Posts: 3531
Joined: Mon May 14, 2007 1:47 pm


Return to IV - Oblivion