khalcifer Posted April 18, 2018 Report Share Posted April 18, 2018 How can i change weapons damege?? Link to comment Share on other sites More sharing options...
icomrade Posted April 19, 2018 Report Share Posted April 19, 2018 If you mean per weapon, It's hard coded, you can't do it directly. But, actually you may be able to edit the handledamage EH, and multiply damage there, I haven't tested it though. https://forums.bohemia.net/forums/topic/174314-how-to-assign-damage-multiplier/ Link to comment Share on other sites More sharing options...
khalcifer Posted April 19, 2018 Author Report Share Posted April 19, 2018 not working and why weapons have smaller dmg. Link to comment Share on other sites More sharing options...
Relentless Posted April 19, 2018 Report Share Posted April 19, 2018 2 hours ago, khalcifer said: not working and why weapons have smaller dmg. Because it's a realistic military simulator? You can't compare a glock to a m4a1, ofcourse they have different damage. Link to comment Share on other sites More sharing options...
khalcifer Posted April 19, 2018 Author Report Share Posted April 19, 2018 3 minutes ago, DAmNRelentless said: Because it's a realistic military simulator? You can't compare a glock to a m4a1, ofcourse they have different damage. i think in 1.0.5.1 weapons had bigger dmg Link to comment Share on other sites More sharing options...
salival Posted April 20, 2018 Report Share Posted April 20, 2018 You could modify the damagehandler here: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_damageHandler.sqf#L249-L263 Link to comment Share on other sites More sharing options...
khalcifer Posted April 20, 2018 Author Report Share Posted April 20, 2018 3 hours ago, salival said: You could modify the damagehandler here: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_damageHandler.sqf#L249-L263 in safezones player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "fncs\fn_damageHandler.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; in compiles fnc_usec_damageHandler = compile preprocessFileLineNumbers "fncs\fn_damageHandler.sqf"; weapons have still same dmg //Modify base scale based on the types, Allows us to modify specific types of damage if needed. switch (_type) do { //Explosions case 1: {_scale = _scale + 11900}; //Bullet types case 2: {_scale = _scale + 11450}; //Zombies case 3: {_scale = getNumber (configFile >> "CfgVehicles" >> _sourceType >> "damageScale"); if (dayz_DamageMultiplier > 1) then {_scale = _scale * dayz_DamageMultiplier;};}; //RunOver case 4: {_scale = 1150}; //Based on 12k blood for run over with SUV at 70km/h //Dragged case 5: {_scale = 1165}; //Crash case 6: {_scale = 11900}; }; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now