Hull files
Post Reply
Quote
Re: Hull files
Posted by Hornpipe2 on Fri Dec 26th at 3:30am 2003


Can anyone fill me in on basically what a hullfile is?

And maybe, how I can use it to adjust player scale?

[addsig]




Quote
Re: Hull files
Posted by KungFuSquirrel on Fri Dec 26th at 3:41am 2003


Hullfiles give you a set of x/y dimensions to define player size. You can have up to 3 in Half-Life. By standard, there are 2 - 1 for a standing player (default), and one for a crouched player. NS uses all 3 - the smallest for the skulk, gorge, lerk, and crouched marine/fade, the middle (still default size) for the standing fade, standing marine, and standing onos. This sharing was necessary to keep within the limit of 3.

To make use of one on compile add -hullfile [hull.txt] where hull.txt is replaced with the filename of the hullfile. As long as it is a plain text file, the extension doesn't matter, so you'll sometimes see .txt and sometimes .hull. You may need to add the path to the file as well in some cases where it doesn't find the file (i.e. if it's not in your compile tool directory). I just always specify the path anyway. Most mods with varied hull files give specific instructions on the location of their hull file and usage instructions with the installer.

To make use of one otherwise, you have to use a combination of models and code, primarily code, to make it work properly. I couldn't tell you where to learn how to do this. [addsig]




Quote
Re: Hull files
Posted by Cash Car Star on Fri Dec 26th at 5:38am 2003


Not sure the background here, but I wanna point out if you're not mapping for a mod with an altered hullfile (i.e. NS) then there's really no need to do anything... In fact it's quite best left alone or kooky things will happen.



Quote
Re: Hull files
Posted by Myrk- on Wed Dec 31st at 5:32pm 2003


Hmmm well this is an answer sort of to your problem-

If you wanna change the scale of the player just select the entire map and use the scale tool, it'll rescale everything from textures to sprites. You'll then need to open the map format of it and correct any solids which arn't fixed onto the grid or that were smaller than 1 unit in size before adjusting.

Its much easier if you change the size of your map in an incriment that will make most things fit on the grid, not stupid numbers like 1.2341241

[addsig]





Post Reply