So I'm trying to add police lights from a 1989 Chevy Caprice model which can be found here:
https://steamcommunity.com/sharedfiles/filedetails/?id=864885583
Onto a 1987 Crown Victoria model which can be found here:
https://steamcommunity.com/sharedfiles/filedetails/?id=892862218
I rig and weight paint the model to the vehicle skeleton and then I go to crowbar to compile it and I get this:
Compiling with Crowbar 0.51.0.0: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\addons\crsk_autos_-_ford_crown_victoria_ltd_1987_892862218\models\crsk_autos\ford\dec\crownvictoria_1987.qc" ...
Compiling ".\crownvictoria_1987.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\studiomdl.exe":
qdir: "c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\crsk_autos_-_ford_crown_victoria_ltd_1987_892862218\models\crsk_autos\ford\dec\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\"
g_path: "crownvictoria_1987.qc"
Building binary model files...
Working on "crownvictoria_1987.qc"
SMD MODEL crownvictoria_1987_1.smd
SMD MODEL crownvictoria_1987_2.smd
SMD MODEL crownvictoria_1987_2a.smd
SMD MODEL crownvictoria_1987_3.smd
SMD MODEL crownvictoria_1987_kolesa.smd
SMD MODEL crownvictoria_1987_rul_dials.smd
SMD MODEL crownvictoria_1987_antenna.smd
SMD MODEL crownvictoria_1987_police.smd
SMD MODEL crownvictoria_1987_nomer_pered.smd
SMD MODEL crownvictoria_1987_nomer_zad.smd
SMD MODEL crownvictoria_1987_tinting_notint.smd
SMD MODEL crownvictoria_1987_tinting_50percent.smd
ERROR: Too many materials used, max 32
ERROR: Aborted Processing on 'crsk_autos/ford/crownvictoria_1987.mdl'
Crowbar: Deleted empty temporary compile folder "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\models\crsk_autos"
... Compiling ".\crownvictoria_1987.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.51.0.0: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\addons\crsk_autos_-_ford_crown_victoria_ltd_1987_892862218\models\crsk_autos\ford\dec\crownvictoria_1987.qc" finished.
Any solutions? If you need the .qc file or the model files I can provide.
Your model as a whole uses too many materials, studiomdl has a limit of 32 per MDL.
You'll need to remove some materials, either by removing SMDs or merging some textures together.
ill see what i can remove.
I don't think so.
How do I merge them?
Just because it has 31 VTFs doesn't necessarily mean it doesn't have 33 or more VMTs. What your model has too many of is VMTs.
i count 26 vmts. theres probably meant to be more because the guy who made the crown vic model made it so that you could add more textures easily.
If you want, you can use cra0's compiler to get around the limit, as it raises it to 64 materials.
studio compiler 2013 Cra0kalo + libs
Does the Source engine play nice with it?
How do I use it.
Not in Crowbar without compiling the model first.
I'm not sure if you can use it in any other engine branch, but the official page suggest throwing it in the bin folder of either CSGO or DOTA2. Whenever I've used it it's been with CS. Then you just set Crowbar up to use it like you normally would with any other StudioMDL. You'll know it's worked when Cra0kalo's message shows up in the compile log.
I've not noticed any problems using it, although I don't use it any more.
You just drop it and replace the current studiomdl and.other files with the ones I linked. Be sure to back up the originals though.
So it works with Garry's Mod?
Yes although the console will be spammed with model version errors, the model will still work.
I tried to run it and I got this:
https://files.facepunch.com/forum/upload/113109/5525aa01-b644-4c64-bece-bc768fa6fd3c/Screenshot (129).png
Note: I moved the new studio mdl out of the bin folder and back onto my desktop folder.
I did put the libs and the dll included with the compiler in there.
You'll have to switch back to the old studiomdl and other files after compiling in order to run Garry's Mod. It's a pain, but that's why I suggested making a backup.
The problem is I can't compile it in the first place. I take Garry's Mod's studiomdl.exe out and put the new studiomdl.exe and the other files in and I get the error above.
It's broken for Windows XP, and I had to run the hacked studiomdl as administrator and with compatibility mode for Windows Vista to get it working. Don't know why its such a pain to get running.
You have to place ALL of the files included in your bin folder, not just the studiomdl executable.
Mind uploading the files?
That's what I did
Sorry, you need to Log In to post a reply to this thread.