Porting HL1 models to the leak
 

0 Пользователей и 1 Гость просматривают эту тему.

  • True Citizen
  • *
  • Сообщений: 105
    • Просмотр профиля
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?
  • *
  • Сообщений: 314
    • Просмотр профиля
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
  • *
  • Сообщений: 105
    • Просмотр профиля
The models i want to use are some prop stuff like barrels, and soda machines
  • *
  • Сообщений: 314
    • Просмотр профиля
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.
  • *
  • Сообщений: 116
    • Просмотр профиля
    • 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.
  • *
  • Сообщений: 314
    • Просмотр профиля
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.