It is based on source-engine-model-loader
example with some additions and fixes that allowed to use Half-Life 2 models
in three.js
and parsing it through source-engine-model-loader
, it still has some quirks with some models for unknown
to me reasons.
Sound Browser from ceifa exists, why Model Browser doesn't.
It was just also a random idea from back of my brain, and I thought it would be useful for people (i.e. Garry's Mod mappers, developers)
-
materials
andmodels
size combined is roughly 800MiB+, so you must install it by yourself.- Install GCFScape
- Extract
models
folder toassets/
fromhl2_misc_dir.vpk
- Extract
materials/models
folder toassets/
fromhl2_textures_dir.vpk
-
npm run dev
and your server should be running atlocalhost:5173
- It is not required to use only Half-Life 2 models/textures, you can always put Team Fortress 2 or other Source Engine games, but it was not tested, do it at your own risk!