Porting HL1 models to the leak
 

0 Members and 1 Guest are viewing this topic.

  • True Citizen
  • *
  • Posts: 105
    • View Profile
I've been working on a recreation of what i think Hyper_001 would look like, but i need certain models that arnt in the leak, does anyone know some sort of way to do it?
  • *
  • Posts: 314
    • View Profile
It'd be really easy if those are regular HL1 models because that would mean they're also in Half-Life Source and porting from a Source game to the leak is trivial. Which models do you have in mind?

Generally, porting a model would involve decompiling it (for HL1 models you can use Milkshape to import as MDL and export as SMD), and then recompiling it with leak era tools. HL1 is a bit of a special case because it often uses nonregularly sized textures (non power of 2 image dimensions) and that needs to be adjusted.
  • True Citizen
  • *
  • Posts: 105
    • View Profile
The models i want to use are some prop stuff like barrels, and soda machines
  • *
  • Posts: 314
    • View Profile
Well I would suggest extracting them from HL Source vpks, then using Crowbar Tool. It lets you decompile a model, and then recompile it using Valve's tool called studiomdl. It's included in the leak (in anon-hl2\bin folder) and it is necessary to use that particular version to compile models for the leak. You can set up Crowbar to point to the leak's studiomdl. WIth things like props, it shouldn't require much, or any, editing to recompile them.

Crowbar can be found here
http://steamcommunity.com/groups/CrowbarTool

It can unpack VPK archives, it can decompile unpacked models, and then you could recompile them, provided you point it to the leak's stuiomdl.exe (under Compile->Set up games->Model compiler).

Also I don't think HL1 has a soda machine model, I think it's always built with brushes.
  • *
  • Posts: 116
    • View Profile
    • Oh look I'm a special person who has a YouTube account
Half-Life 1 only uses models for entities. All of the environments are made using brushwork.
  • *
  • Posts: 314
    • View Profile
Half-Life 1 only uses models for entities. All of the environments are made using brushwork.

It does have very few models for props, such as filecabinet.mdl and unused breather.mdl. But yeah, I don't see any barrels or vending machines in the models\ folder.

SimplePortal 2.3.7 © 2008-2026, SimplePortal