Jump to content
  • 0

Change hero and bandi traders


BetterDeadThanZed

Question

2 answers to this question

Recommended Posts

  • 0

Find the humanity logic check in the code of /dayz_code/compile/fn_selfActions.sqf
 
look for something like
 
 

if(_humanity_logic) then {
                _cancel = player addAction [format["Your humanity is too %1 this trader refuses to talk to you.",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
                s_player_parts set [count s_player_parts,_cancel];
            } else {

 
it's somewhere near line 600 ..and edit the if check so it always triggers the else-case

 

Since it's server-code, you'll have to add it to your mission file so every player gets the new code. 

however, for this edit you will also have to edit the init and compiles SQFs 
 
..it's not an easy task to do~ and if you don't know what you are doing, please don't do it :)

If you still want to try, there are several topics on this forum, else use google for further information~

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...