Please see the new repository for the COMPLETE and UPDATED code, this wont be updating anymore. New Repo: (https://github.com/ollerjoaco/Trinity-EngineSv)
This is a Trinity Engine porting for Counter Strike 1.6
Client-Side part of the mod it´s introduced as a metahook plugin.
Server-Side part of the mod it´s done with a modifidied reGame dll.
-
Download the binaries from GitHub Release, then unzip it.
-
Copy and paste the src folder into your game mod folder (cstrike).
-
Run the game from the new executable metahook.exe
- Completely rewritten world and model renderers.
- A powerful and fully customizable particle engine.
- Real-time dynamic per pixel lighting for world.
- Real-time dynamic per vertex lighting for models.
- External .tga and .dds high resolution texture loader (4k).
- Client side entity manager that breaks the 512 entity limit the engine originally has.
- External detail data to load external geometry into the map.
- High resolution as well as 3D skyboxes.
- Shader based water.
- Real-time mirrors.
- New decal system.
- Per pixel fog (radial fog).
- te_exportworld
- te_detail_auto
- te_dump
Click to expand
CVar | Default | Disable | Enable | Description |
---|---|---|---|---|
te_client_entities | 1 | 0 | 1 | Display of new client entities. |
te_detail | 1 | 0 | 1 | Enables/Disables detail texturing. |
te_dynlights | 1 | 0 | 1 | Enables/Disables dynamic lights in the world ( flashlight, env_spotlight ). |
te_mirrors | 1 | 0 | 1 | Enables/Disables the use of mirrors in the game. |
te_mirror_player | 1 | 0 | 1 | Enables/Disables players shown in mirrors. |
te_model_decals | 1 | 0 | 1 | Enables/Disables model decals. |
te_model_shaders | 1 | 0 | 1 | Enables/Disables model shaders. |
te_models | 1 | 0 | 1 | Enables/Disables the rendering of models in the game. |
te_models_debug_bbox | 0 | 0 | 1 | Show the bbox of models in the game. |
te_models_debug_light | 0 | 0 | 1 | Turns models into black to white color depending on the light that affects it |
te_particles | 1 | 0 | 1 | Enables/Disables the rendering of new particles system in the game |
te_particles_debug | 0 | 0 | 1 | Shows created, freed and active particles in the console in real time. Also the created, freed and active particle systems. |
te_radialfog | 0 | 0 | 1 | Enables/Disables radial fog setting for rendering fog in the game. |
te_shadows | 1 | 0 | 1 | Enables/Disables models and brushes shadows in the game. |
te_shadows_filter | 1 | 0 | 1 | Enables/Disables a shadows filter that reduces sharpness of shadows in the game. |
te_speeds | 0 | 0 | 1 | Shows wpolys, epolys, studio polys, particles and fps count in the console in real time. |
te_water | 1 | 0 | 1 | Enables/Disables shader based water rendering in the game. |
te_water_debug | 0 | 0 | 1 | Shows water refract and reflect wpolys, epolys and studio polys drawn for water shader. |
te_wireframe | 0 | 0 | 1 | Shows the wireframe structure of all the brushes in the world. |
te_world | 0 | 0 | 1 | Enables/Disables the rendering of all the world brushes but not the models or entitys. |
te_world_shaders | 1 | 0 | 1 | Enables/Disables world shaders in the game. |
Warning! As Trinity Engine uses metahook for the client-side part of the code, it´s not binary compatible with gsClient since it has a modified client.dll . Also some plugins using StudioModelRenderer may not work such as BulletPhysics. This is a Renderer so it wont be compatible with other renderers such as Paranoia or MetaRenderer, choose the one you prefer the most.