Model Rescaling

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

Joel

L1: Registered
Nov 19, 2016
27
I understand that rescaling a prop static isn't possible, but rescaling a prop dynamic is possible, although it doesn't rescale its hitbox, which is not my desired result. So is there a way to possibly rescale a prop (probably using a model editing software) while also rescaling it's hitbox?
 

VEssex

L2: Junior Member
May 19, 2016
76
Decompile your desired model by extracting from the .vpk using GCFScape, then using Crowbar to input an .mdl file to output it’s decompiled contents.

Go into the .qc file of the decompiled files using a text editor,

Add the command “$scale” just after “$modelname” and remove “$cbox” and “$bbox” commands.

Change $modelname parameters so it’s name doesn’t conflict with the original model.

Recompile and drop the .mdl and all other files the compiler output into ...tf/models/[$modelname directory], and you have a rescaled model with rescaled hitbox.
 

Joel

L1: Registered
Nov 19, 2016
27
Where am I to find the desired model's vpk file? I'm looking for the badlands spire, quarry_rockpike is what it's named in hammer.
Edit: Found it, extracted it, decompiled it, added the $scale to that of 10, removed the $cbox and $sbox commands and changed the name, recompiled it and dropped the model within the folder, but when I placed it within the map, it's vphysics hitbox was mirrored along the z(?) axis so it wasn't functional as desired. I don't understand why this happened and I'd like some help.
 
Last edited:

VEssex

L2: Junior Member
May 19, 2016
76
Where am I to find the desired model's vpk file? I'm looking for the badlands spire, quarry_rockpike is what it's named in hammer.
Edit: Found it, extracted it, decompiled it, added the $scale to that of 10, removed the $cbox and $sbox commands and changed the name, recompiled it and dropped the model within the folder, but when I placed it within the map, it's vphysics hitbox was mirrored along the z(?) axis so it wasn't functional as desired. I don't understand why this happened and I'd like some help.
Make sure $scale is before everything except $modelname, if that doesn’t work, take a screenshot of the model and it’s collision mesh via browser in hammer or HLMV.