Jump to content
  • 0

Disable Look Headgear


syndrome93

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  09/08/13
  • Last Seen:  

Hello rathena. i know how to disable look costume in woe with this file > nocostume.txt.

is there any ways to disable main look headgears too in woe?  i need to disable main look. and costume garments too.. 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.02
  • Content Count:  114
  • Reputation:   5
  • Joined:  07/16/16
  • Last Seen:  

You want to disable all of them? or just some? 
If all of them you can try by script..
 

-	script	CheckWoEHat	-1,{
end;

OnPCLoadMapEvent:
if(getmapflag(strcharinfo(3),mf_gvg_castle)) //// For Castle Maps
  {
  changelook LOOK_HEAD_TOP,0;
  changelook LOOK_HEAD_MID,0;
  changelook LOOK_HEAD_BOTTOM,0;
  end;
  }
///////////////// Change to normal when transfering to regular map.
changelook LOOK_HEAD_TOP,getlook(LOOK_HEAD_TOP);
changelook LOOK_HEAD_MID,getlook(LOOK_HEAD_MID);
changelook LOOK_HEAD_BOTTOM,getlook(LOOK_HEAD_BOTTOM);
end;

}

Now if you have for only certain IDs you'll need to add an array and do a loop to check if their sprite ID match with your array.. 
You can also add for this to only work when WoE is ON with if (!agitcheck()) {end;}

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  03/26/16
  • Last Seen:  

On 5/1/2020 at 7:21 PM, BigBurrito said:

You want to disable all of them? or just some? 
If all of them you can try by script..
 


-	script	CheckWoEHat	-1,{
end;

OnPCLoadMapEvent:
if(getmapflag(strcharinfo(3),mf_gvg_castle)) //// For Castle Maps
  {
  changelook LOOK_HEAD_TOP,0;
  changelook LOOK_HEAD_MID,0;
  changelook LOOK_HEAD_BOTTOM,0;
  end;
  }
///////////////// Change to normal when transfering to regular map.
changelook LOOK_HEAD_TOP,getlook(LOOK_HEAD_TOP);
changelook LOOK_HEAD_MID,getlook(LOOK_HEAD_MID);
changelook LOOK_HEAD_BOTTOM,getlook(LOOK_HEAD_BOTTOM);
end;

}

Now if you have for only certain IDs you'll need to add an array and do a loop to check if their sprite ID match with your array.. 
You can also add for this to only work when WoE is ON with if (!agitcheck()) {end;}

Hi @BigBurrito, Your script works fine however, I'm wondering if its possible to keep this script running while still inside the woe map? Please check the video to fully understand my query.

Thank you and more power!

2021-02-15 00-49-17.mkv

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...