Helliot1
Owner of Empire Online
- Joined
- Jul 26, 2017
- Messages
- 315
- Solutions
- 1
- Reaction score
- 58
Hello everyone,
I was looking on OTClient Sources to edit my red skull, i want change it for a Red name without the skull, anyone can help me ?
I found this, and I think need change setSkullTexture, its right?
Creature.cpp
I was looking on OTClient Sources to edit my red skull, i want change it for a Red name without the skull, anyone can help me ?
I found this, and I think need change setSkullTexture, its right?
Creature.cpp
C++:
}
void Creature::setSkull(uint8 skull)
{
m_skull = skull;
callLuaField("onSkullChange", m_skull);
}
void Creature::setShield(uint8 shield)
{
m_shield = shield;
callLuaField("onShieldChange", m_shield);
}
void Creature::setEmblem(uint8 emblem)
{
m_emblem = emblem;
callLuaField("onEmblemChange", m_emblem);
}
void Creature::setIcon(uint8 icon)
{
m_icon = icon;
callLuaField("onIconChange", m_icon);
}
void Creature::setSkullTexture(const std::string& filename)
{
m_skullTexture = g_textures.getTexture(filename);
}
Last edited: