4drik
Advanced OT User
- Joined
- Jun 30, 2014
- Messages
- 254
- Reaction score
- 202
Hello.
How can I extract only front part of outfit and save it as looktype.png?
Example:
OK, I've found a function: exportImage in thingstype.
Then I changed it to save only front sprites (x = 2) with a name of getId().
Then run client, enter game and in console write:
How can I extract only front part of outfit and save it as looktype.png?
Example:
OK, I've found a function: exportImage in thingstype.
Then I changed it to save only front sprites (x = 2) with a name of getId().
Then run client, enter game and in console write:
Code:
outfit = g_things.getThingType(1,1)
outfit:exportImage(looktype)
Last edited by a moderator: