Michcol94
Member
- Joined
- Sep 2, 2021
- Messages
- 105
- Reaction score
- 19
How to add new sprites and appearance types? I'm using Object Builder and when I add a new outfit I can't change into it with /looktype 904 and I get "Look type with this id does not exist". The old monster outfit 5 works with the new sprites. The new outfit 904 doesn't work. I am using otclient mehah under engine 10.98 TFS 1.4.2
Does anyone know a solution?
Hehe it took me a really long time, it was enough in data/talkactions/scripts/looktype.lua
change a line of code, edit 903 for 906
Also, if someone would be so kind as to tell me how to set the body sprite after death, I'd be grateful.
Does anyone know a solution?
Post automatically merged:
Hehe it took me a really long time, it was enough in data/talkactions/scripts/looktype.lua
change a line of code, edit 903 for 906
Lua:
if lookType >= 0 and lookType < 906 and not table.contains(invalidTypes, lookType) then
Post automatically merged:
Also, if someone would be so kind as to tell me how to set the body sprite after death, I'd be grateful.
Last edited: