Dak Drexl Posted July 15, 2011 Share Posted July 15, 2011 So have you ever made a custom weapon or headgear and noticed that once you get it in-game, it looks fine in the sunlight, but the second you take it into a darker room or face it away from the sun it gets almost too dark to see? Well there is one very simple fix that you can use to make the lighting on the new model work just like the vanilla models. In other words, this fix will make your new model not be so dark. This does NOT teach you how to model or rig. It's meant for people who know how to do these things to overcome the annoying lighting problem. =============================================== Let's get to it. Export and follow all the regular steps to get your model in-game. When you get it in, it'll probably look like this: Show spoiler (hidden content - requires Javascript to show) Now, onto fixing. Make a new folder. Mine is called "MDLOps Use Folder" since I do this so often. In this folder you need your new .mdl and .mdx files from the model you just made. The other thing you need is very important! In addition to the 2 files you just added, you need the -ascii file of whatever you linked your new model to to export it. So in my case I linked with a rifle, so I have the vanilla rifle -ascii file. If you made a pistol, use the pistol file. A sword, the sword file and so on. Now this is the important part. Compile your .mdl and open up the -ascii file that is produced. Then open up the original file. You should see something like this: Show spoiler (hidden content - requires Javascript to show) These are the fields you need to fix: Diffuse, Ambient, Render, and Shadow. All you need to do is look at the values of your new file and cross-reference them to the original file. Then replace the values in your file with those in the original: Show spoiler (hidden content - requires Javascript to show) Now, save that as "yourfile-ascii_new.mdl. Next, compile this file that you just saved in MDLOps. Get rid of the extension and throw the files into your override to see your result (note that I did not change the texture at all): Show spoiler (hidden content - requires Javascript to show) See the difference? Hope that helps anyone who finds this problem as annoying as I do Link to comment Share on other sites More sharing options...
Qui-Gon Glenn Posted July 16, 2011 Share Posted July 16, 2011 ^^^ Very nice, great easy-to-follow instructions. I have added it to our tutorials section Thanks! Edit: Link to the tutorial Link to comment Share on other sites More sharing options...
Darth DeadMan Posted September 7, 2011 Share Posted September 7, 2011 There is another way to do it. Before you export your model, add an "Aurora trimesh" modifier to your new meshes. In this modifier, check the "Override material values" checkbox. Under this checkbox you will see 3 lines with color selection. Ambient and Diffuse must be set to white, specular to black. All you have to do now is export your model and compile it with MDLOps. BTW, this method also works with character models, just be sure that "Aurora trimesh" modifier is UNDER "Skin" in modifiers tab. Link to comment Share on other sites More sharing options...
Dak Drexl Posted September 7, 2011 Author Share Posted September 7, 2011 Hey thanks DeadMan! If someone had put that up somewhere I wouldn't have felt the need to put this up myself. Could a mod or someone put his post under mine in the tutorial? Link to comment Share on other sites More sharing options...
Qui-Gon Glenn Posted September 8, 2011 Share Posted September 8, 2011 Hey thanks DeadMan! Could a mod or someone put his post under mine in the tutorial? Done Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.