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:
Bitte melden Sie sich an, um diesen Anhang zu sehen.
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)
Alles anzeigen
When I tried to debug it, It didn't tell me much more
Bitte melden Sie sich an, um diesen Anhang zu sehen.
Thank you for any informations Have a nice day!