• 🎉 Hey there! I've just launched my brand new server voting platform — Metin2 P Servers 🚀

Not answered RenderTarget and Costumes for Sash/Weapon

Member
Aug
Threads
10
200
17
18

AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!

Hello everyone!

Could someone help me why the sash and weapon costumes are not showing up in my RenderTarget?
Here I will give an example for the sash when I found:

if app.ENABLE_ACCE_COSTUME_SYSTEM and isCostumeAcce:
## ABSORPTION RATE
absChance = int(metinSlot[acce.ABSORPTION_SOCKET])
self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR)
## END ABSORPTION RATE
itemAbsorbedVnum = int(metinSlot[acce.ABSORBED_SOCKET])
if preview != 0:
self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
If I try to change the to 3,
itemVnum, 3, self.__ItemGetRace()
the sash appears like this:
1729172607183.png
However, I have the definition of this ModelPreview as follows:

renderTarget.SetBackground(RENDER_TARGET_INDEX, "d:/ymir work/ui/game/myshop_deco/model_view_bg_render.sub")
renderTarget.SetVisibility(RENDER_TARGET_INDEX, True)
renderTarget.SelectModel(RENDER_TARGET_INDEX, model)
if test == 1:
renderTarget.SetHair(RENDER_TARGET_INDEX, Vnum)
elif test == 2:
renderTarget.SetArmor(RENDER_TARGET_INDEX, Vnum)
elif test == 3:
renderTarget.SetWeapon(RENDER_TARGET_INDEX, Vnum)
elif test in (4, 5):
renderTarget.SetAcce(RENDER_TARGET_INDEX, Vnum)
When I tried to debug it, It didn't tell me much more :(

pasted-from-clipboard.png
Thank you for any informations! Have a nice day! :)
 
Metin2Hub Bot
M2Hub Bot
Feb
Threads
66
2,380
2
1,307
113
Hello everyone!

Could someone help me why the sash and weapon costumes are not showing up in my RenderTarget?
Here I will give an example for the sash when I found:

if app.ENABLE_ACCE_COSTUME_SYSTEM and isCostumeAcce:
## ABSORPTION RATE
absChance = int(metinSlot[acce.ABSORPTION_SOCKET])
self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR)
## END ABSORPTION RATE
itemAbsorbedVnum = int(metinSlot[acce.ABSORBED_SOCKET])
if preview != 0:
self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
If I try to change the to 3,
itemVnum, 3, self.__ItemGetRace()
the sash appears like this:
View attachment 2536
However, I have the definition of this ModelPreview as follows:

renderTarget.SetBackground(RENDER_TARGET_INDEX, "d:/ymir work/ui/game/myshop_deco/model_view_bg_render.sub")
renderTarget.SetVisibility(RENDER_TARGET_INDEX, True)
renderTarget.SelectModel(RENDER_TARGET_INDEX, model)
if test == 1:
renderTarget.SetHair(RENDER_TARGET_INDEX, Vnum)
elif test == 2:
renderTarget.SetArmor(RENDER_TARGET_INDEX, Vnum)
elif test == 3:
renderTarget.SetWeapon(RENDER_TARGET_INDEX, Vnum)
elif test in (4, 5):
renderTarget.SetAcce(RENDER_TARGET_INDEX, Vnum)
When I tried to debug it, It didn't tell me much more :(

View attachment 2537
Thank you for any informations! Have a nice day! :)

Hello dear user,

Your post will be under surveillance by bots for the next few hours.

Forum description : Metin2 private server, Metin2 download, Metin2 support, Metin2 Forum, Metin2 Pvp Servers, Errors, Bugs, Requests, Metin2 Pvp Forum, Everything About Metin2.
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock