• I Need a Model Shrinked to 1/16 the Current Size
    20 replies, posted
I'm working on a map and I need this cactus model shrinked to 1/16 it's current size (.0625) so that I can put it into the 3D Skybox. If you're to help me; I will include you in the credits of the map upon it's completion. [url]http://www.mediafire.com/?kfyo44nnt9w151k[/url] [thumb]http://i.imgur.com/YT6CB4K.jpg[/thumb]
Pretty sure you can just add "$scale" "0.0625" to the qc and recompile.
?
[QUOTE=KnightVista;40102739]?[/QUOTE] They're pretty much saying that you can recompile the cactus model and use that particular line in the .qc file. After that, you should be able to recompile the cactus model and work with it from there.
I have no modeling experience whatsoever, that's why I was kinda wondering if someone could help me out.
Anyone? I project can't be finished if I don't have the skybox models : (
Just open your .qc for the cactus model, type in "$scale .0625" (without quotations), and recompile the model. You should be fine after that, no need to do anything with a 3D modelling program at all.
[QUOTE=Katra804;40110252]Just open your .qc for the cactus model, type in "$scale .0625" (without quotations), and recompile the model. You should be fine after that, no need to do anything with a 3D modelling program at all.[/QUOTE] I'm getting this error: [IMG]http://gyazo.com/156cbc193b28a278a698ed72a33dec48.png?1364777571[/IMG] How do I rename the model so that it doesn't have problems with the one that already exists?
Go to the $model line and change the name of the .mdl it's compiling to something else (example: cactus.mdl would be changed to cactus2.mdl). It will compile the model with the new name instead.
[QUOTE=Katra804;40112161]Go to the $model line and change the name of the .mdl it's compiling to something else (example: cactus.mdl would be changed to cactus2.mdl). It will compile the model with the new name instead.[/QUOTE] Ok but I'm still getting the same error window from above.
Post the .qc
$cd "C:\Users\Bruce\Desktop\Cactus" $modelname "models\props\de_inferno\cactus3.mdl" $model "Body" "cactus.smd" $scale .0625 $lod 30 { replacemodel "cactus" "lod1_cactus" } $lod 50 { replacemodel "cactus" "lod2_cactus" } $lod 70 { replacemodel "cactus" "lod3_cactus" } $lod 90 { replacemodel "cactus" "lod4_cactus" } $cdmaterials "models\props\de_inferno\" $hboxset "default" $hbox 0 "static_prop" -19.748 -24.401 -2.060 16.947 20.773 90.840 // Model uses material "cactus.vmt" $surfaceprop "watermelon" $illumposition -1.401 -1.814 44.390 $sequence idle "idle" act_idle 1 fps 30.00 [editline]1st April 2013[/editline] Here's a picture of the folder itself: [IMG]http://gyazo.com/e8eaaa8658e8588488adbc2bc33141fb.png?1364779180[/IMG] [editline]1st April 2013[/editline] I named it Cactus3 instead of 2 because Cactus2 already exists.
According to the wiki, for $model, you need to also have the filepath relative to the directory, which you set to desktop/cactus. [IMG]http://puu.sh/2ry5b[/IMG] So try making it: $model "Body" "models/props/de_inferno/cactus.smd"
Same error
Try doing the same thing to every "replace model" so: [QUOTE]$cd "C:\Users\Bruce\Desktop\Cactus" $modelname "models\props\de_inferno\cactus3.mdl" $model "Body" "models\props\de_inferno\cactus.smd" $scale .0625 $lod 30 { replacemodel "cactus" "models\props\de_inferno\lod1_cactus" } $lod 50 { replacemodel "cactus" "models\props\de_inferno\lod2_cactus" } $lod 70 { replacemodel "cactus" "models\props\de_inferno\lod3_cactus" } $lod 90 { replacemodel "cactus" "models\props\de_inferno\lod4_cactus" } $cdmaterials "models\props\de_inferno\" $hboxset "default" $hbox 0 "static_prop" -19.748 -24.401 -2.060 16.947 20.773 90.840 // Model uses material "cactus.vmt" $surfaceprop "watermelon" $illumposition -1.401 -1.814 44.390 $sequence idle "idle" act_idle 1 fps 30.00[/QUOTE] EDIT: Never mind, I don't think that will do anything.
Can anyone help me?
I'll take a crack at this. Be right back.
One last thing I could suggest is to change "body" to "cactus" in $model [QUOTE]$model "cactus" "models\props\de_inferno\cactus.smd"[/QUOTE]
[url=https://sites.google.com/site/leonswebsiteforallofhisuploads/main/the-files/models.zip?attredirects=0&d=1]Enjoy![/url] [del]I don't know what your problem is, but it may have something to do with your settings in the GUI Mdlcompiler. I just use the standard, non-gui one in Source SDK's ep1 folder, or Source 2007/2009 if it involves jigglebones or something.[/del]
[QUOTE=gk99;40112783][url=https://sites.google.com/site/leonswebsiteforallofhisuploads/main/the-files/models.zip?attredirects=0&d=1]Enjoy![/url] I don't know what your problem is, but it may have something to do with your settings in the GUI Mdlcompiler. I just use the standard, non-gui one in Source SDK's ep1 folder, or Source 2007/2009 if it involves jigglebones or something.[/QUOTE] Which one is that? I'm in the Source SDK's ep1 folder [editline]1st April 2013[/editline] Btw thanks; you'll be included in the credits when the map's finished!
D:\Steam\steamapps\[sp]my super amazing login name[/sp]\sourcesdk\bin\ep1\bin\studiomdl.exe But I actually figured out why mine worked and yours didn't. [code]$cd "C:\Users\Leon\Desktop\Work Folders\Cactus" $modelname "props\de_inferno\cactus.mdl" $scale .0625 [B]$body[/B] "Body" "cactus.smd" $lod 30 { replacemodel "cactus" "lod1_cactus" } $lod 50 { replacemodel "cactus" "lod2_cactus" } $lod 70 { replacemodel "cactus" "lod3_cactus" } $lod 90 { replacemodel "cactus" "lod4_cactus" } $cdmaterials "models\props\de_inferno\" // Model uses material "cactus.vmt" $surfaceprop "watermelon" $sequence idle "idle" act_idle 1 fps 30.00[/code]
Sorry, you need to Log In to post a reply to this thread.