pep legal Posted April 21, 2015 Share Posted April 21, 2015 (edited) Hi guys... ...I need some advanced help here ! I want to replace a model texture for another "external" (png file) texture...on the fly ! (maybe by using those DK's new opcodes) This is what I've done so far : 1 - model and texture defined in a IDE file. 2 - model loaded (opcode 0247: ) 3 - got BaseModelInfo pointer using a call to 0x00403DA0 ( getModelPtr ) - just passing model ID. 4 - in that struct there is an index related to TexDictionaryPool ( ? ) 5 - I got Lost ! So...what is that "TexDictionaryPool" address ? ( I've seen a lot of different type of pools...but never a Texture pool) What do I need to do in order to a model point to a texture different from its original texture ? Thanks. (obs...it's a very simple model with a single texture - not a car, ped, building). Edited April 21, 2015 by pep legal Link to comment Share on other sites More sharing options...
goodidea82 Posted April 22, 2015 Share Posted April 22, 2015 Btw, I am also interested in this question. Link to comment Share on other sites More sharing options...
goodidea82 Posted April 28, 2015 Share Posted April 28, 2015 Meanwhile, if you have made any progress, it would be great if you share what you have found out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now