Jump to content
  • 0

change hero clothes


ekroemer

Question

Hi all,

 

I had recently posted about an issue on our server (I'm not the admin) where a hero when respawning after death is changed into hero clothing (survivor<whatever>3) and is unable to change into another outfit (without admin dressing help ;-)

 

On other servers that I think run something called 'custom outfits' (?) a respawning hero receives another set of clothing that has none of the problems.

 

What would be a minimalistic solution to give a respawning hero a specified outfit other than the default one?

 

Thanks in advance

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

We've had a look into this but couldn't yet identify anything related to clothing.

 

As I had understood it, the problem with the survivor3 skin stems from vanilla dayz; the skin looks like http://dayz.gamepedia.com/Survivors (at end of page).

 

So, perhaps I should re-phrase the question: does anyone have an idea what addon/script/whatever produces the hero skin switch?

 

If we have this on our server, it's unknowingly :-(

Link to comment
Share on other sites

  • 0

OK, found it :-)

 

We have a debug monitor with a script

 

<SERVER>\scripts\monitor\player_spawn_2.sqf

 

featuring the lines

    if (_humanity > 5000 and !_isHero) then {
        _isBandit = false;
        _model = typeOf player;
        if (_model == "Survivor2_DZ") then {
            [dayz_playerUID,dayz_characterID,"Survivor3_DZ"] spawn player_humanityMorph;
        };
    };
 

Changing Survivor3_DZ into another skin seems to work.

 

Thanks for helping!

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...