KO

AJUDA COM TRANSPARÊNCIA OTCLIENT

Por Kotz, 09 de mar. de 2016 em Spriting

2
1.8k
KotzK
09 de março de 2016 às 10:06

Uso otClient 0.6.6 e no console so otclient acusa um erro dizendo que:

invalid thing type client id 481 in category 0

o que acotnece, nas sources do otclient, category 0 é "items"
e 481 é o client id da água que eu estou tentando fazer a transparencia...

meu thing.otml:

items
  481
    opacity: 0.7
    full-ground: false

a parte da source que acusa o erro:

const ThingTypePtr& ThingTypeManager::getThingType(uint16 id, ThingCategory category)
{
    if(category >= ThingLastCategory || id >= m_thingTypes[category].size()) {
        g_logger.error(stdext::format("invalid thing type client id %d in category %d", id, category));
        return m_nullThingType;
    }
    return m_thingTypes[category][id];
}
Alguém sabe resolver?
ou pelo menos sabe o porque da esse erro, o pessoal, li bastante que no 0.6.5 funciona esse sistema, houve alguma mudança no 0.6.6 nesse aspecto?
1 mês depois...
001rafa0
17 de abril de 2016 às 01:13

no arquivo otml coloque desta forma... desta identação:

 

items:
  622:
    opacity:0.5
    full-ground: false