• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

shaders do not appear on monsters

poncex

Member
Joined
Nov 11, 2012
Messages
60
Reaction score
10
Hi everyone, I followed this tutorial:


to be able to add wings, shaders, etc. to my server, but when I try to add shaders to the monsters, nothing happens. It lets me add them to the NPCs and players, but not to the monsters.

Could someone help me? I've tried modifying the monsters.cpp file, even trying to follow the example of npc.cpp to see if it solves anything, but still nothing happens.
 
Please post the solution so others know
No :v
Post automatically merged:

The solution isn't difficult. The problem, at least for me, is that it doesn't detect shader names, at least for Monsters (unlike NPCs, where you can add the shader name to their respective XML files and it works correctly). I just had to change it so that instead of detecting by name, it detects by shader ID (this is shown in shaders.xml). When I get home from work, I'll post the solution so it's easier to understand.
 
Last edited:
Back
Top