I need to start releasing my mods and be active lol
Posts: 276
Original Join Date: July 9, 2012
|
Post by Crazy Potato on Feb 10, 2019 15:24:58 GMT 10
Really Simple, So lets get started! First thing first you'll need a model you want to edit and find it's mdf2 I'm modding the LE 5 so it's natives\x64\sectionroot\character\weapon\wp2200\wp2200_mat.mdf2.10
Drag the mdf2 into a hex editor, I use HxD but any will do.
Go all the way to the bottom here is where the lighting is controlled I'll clean it up to make it easier to understand There's a total of four columns I'll color code them so you'll know what does what _________________ 00 00 00 6F 00 00 00 6F 00 00 00 0F 00 00 00 0F00 00 00 6F 00 00 00 6F 00 00 00 0F 00 00 00 0F00 00 00 6F 00 00 00 6F 00 00 00 0F 00 00 00 0F00 00 00 6F 00 00 00 6F 00 00 00 0F 00 00 00 0F00 00 00 6F 00 00 00 6F 00 00 00 0F 00 00 00 0F00 00 00 45 00 00 00 6F 00 00 00 0F 00 00 00 0F_________________ Starting from the left, Intensity/brightness?, Red, Green, Blue As for what each row does not sure but I do know 2 First two rows are basic colors for the model while bottom is reflections. ___ For each columns there's 4 bytes heres what that does 00 00 00 00First three are for fine tuning the light while the last byte is the core sorce that ranges from 00-FF to turn off the light 00 00 80 3Fwill do the trick. _________________
|
|
|
Post by engemoui on Feb 10, 2019 19:15:53 GMT 10
Thanks for this!
|
|
Posts: 366
|
Post by mangakagirl on May 16, 2019 9:44:15 GMT 10
this is super useful thanks!
|
|
|
Post by naxet on Sept 30, 2019 11:04:38 GMT 10
Hi, do you know any method to swap shaders between mdf's?
|
|