Re: Hull files
Posted by Hornpipe2 on
Fri Dec 26th 2003 at 3:30am
636 posts
123 snarkmarks
Registered:
Sep 7th 2003
Occupation: Programmer
Location: Conway, AR, USA
Can anyone fill me in on basically what a hullfile is?
And maybe, how I can use it to adjust player scale?
Re: Hull files
Posted by KungFuSquirrel on
Fri Dec 26th 2003 at 3:41am
751 posts
393 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Game Design, LightBox Interactive
Location: Austin TX
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. :razz:
Re: Hull files
Posted by Cash Car Star on
Fri Dec 26th 2003 at 5:38am
1260 posts
345 snarkmarks
Registered:
Apr 7th 2002
Occupation: post-student
Location: Connecticut (sigh)
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.
Re: Hull files
Posted by Myrk- on
Wed Dec 31st 2003 at 5:32pm
Myrk-
member
2299 posts
604 snarkmarks
Registered:
Feb 12th 2002
Occupation: CAD & Graphics Technician
Location: Plymouth, UK
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