mirror of
https://github.com/celisej567/source-engine-metaballs.git
synced 2025-12-31 05:48:11 +03:00
04222146a12e35c5fc46c9ef25e47f8b43f20306
source-engine-metaballs Beta
Simple source engine metaballs implementation. Its in beta.
Based on Paul Baker's project from 2002.
THIS IS FOR SOURCE CODE!
How to install
- Copy
src/gamefolder to thesrcfolder of your mod/game. - (OPTIONAL) Copy
game/mod_hl2/materialsin your mod. - Copy
game/mod_hl2/fgd/blobs.fgdin your mod. - Go to
src/game/clientof your mod/game 's source code, openclient_base.vpcand add$include "metaballs\metaballs.vpc"somewhere. - Go to
src/game/serverof your mod/game 's source code, openserver_base.vpcand add$include "metaballs\metaballs.vpc"somewhere. - Compile the code.
Basically thats it.
How to use
- Open Options of the hammer. Add this fgd to the
Game Data Files - Use
point_blob_containerandpoint_blob_elementin hammer.
Remember
- Do not set Grid size bigger then 20.
CMeshBuildercant make more then 32k verticies. - Its ok to have issues with lighting with this implementation.
CMeshBuildis peace of shit.
Why is it an entity?
I wanted to make it work on SDK 2013 as well as on any other source game. SDK 2013 dont have particles source code. I whould like to make it to be a particle, but then wont make it for SDK 2013 and even wont be able to make it opensource.
Languages
C++
100%