AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023] (https://forums.alliedmods.net/showthread.php?t=319814)

rtxa 11-21-2019 02:54

[ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
Half-Life: Semiclip

https://img.shields.io/badge/Author-rtxa-9cf https://img.shields.io/badge/Last%20...8/06/2023-blue https://img.shields.io/badge/Metamod-yellowgreen https://img.shields.io/badge/ReHLDS%...support-orange

This module allows to pass through players. Modified version from s1lent's semiclip and adidasman (ReHLDS version) made to work on Half-Life.

Features
  • Allows jump to crouching players when semiclip works.
  • Enable semiclip on all players, between teammates or enable it only for one team (BLUE or RED).
  • Intersecting players can take damage.
  • Transparency effect which increases the closer you get to the player.
  • Accounting of the transparency of the entity attached to the player (ReHLDS only).
  • Support for custom configs for maps and maps by prefix.
Download

Download latest binaries from GitHub with the source code.
Installation
  • Extract the semiclip folder on /valve/addons/
  • Open /addons/metamod/plugins.ini and add these lines at the end of the file:
ReHLDS

PHP Code:

linux addons/resemiclip/resemiclip_mm_i386.so
win32 addons
\resemiclip\resemiclip_mm.dll 

HLDS

PHP Code:

linux addons/semiclip/semiclip_mm_i386.so
win32 addons
\semiclip\semiclip.dll 

Commands
  • semiclip_option [option] - Set the value from an option. Example: semiclip_option distance 150. Calling it empty will display the current settings.
    • semiclip 0|1 - Disable/enable semiclip.
    • patch 0|1 - Fix jamming on a mobile platform (HLDS only).
    • crouch 0|1 - Allows jump to crouching players when semiclip works.
    • effects 0|1 - Effect of transparency of the player. Depends from distance between players.
    • distance 0|200 - At what distance player can have transparency and semiclip.
    • transparency 0|255 - Transparency of the player. Must be between 0 and 255 inclusive.
Notes
  • The patch for the jamming issue on mobile platforms it's only available for HLDS because ReHLDS already fixes this with sv_force_ent_intersection.

gabuch2 11-21-2019 08:41

Re: [Metamod] HL Semiclip 2.2 [Last Update: 21/11/2019]
 
Awesome

gabuch2 04-08-2020 12:59

Re: [Metamod] HL Semiclip 2.2 [Last Update: 21/11/2019]
 
Binaries for Linux?

Adryyy 04-15-2020 10:33

Re: [Metamod] HL Semiclip 2.2 [Last Update: 21/11/2019]
 
incompatibility with /invis plugin and movable entity
there is a general problem with semiclip plugins for that two bugs(tested on dr)

rtxa 05-03-2020 14:03

Re: [Metamod] HL Semiclip 2.2 [Last Update: 21/11/2019]
 
Quote:

Originally Posted by Gabe Iggy (Post 2691756)
Binaries for Linux?

At the time, I didn't know how to compile binaries for linux, and now I haven't tried yet, have you manage to compile it for linux?

Quote:

Originally Posted by Adryyy (Post 2693571)
incompatibility with /invis plugin and movable entity
there is a general problem with semiclip plugins for that two bugs(tested on dr)

Send me the invisibility plugin and can you show me the bug with movable entity?

rtxa 06-02-2020 02:16

Re: [Metamod] HL Semiclip 2.2 [Last Update: 21/11/2019]
 
Post Update:
After strugling a little while with compiling this for linux, I finally did it. Now the binaries files for Linux are available, you can find it in the attachments.

MrGarfield 06-10-2022 16:22

Re: [Metamod] HL Semiclip 2.2 [Last Update: 02/06/2020]
 
hi rtxa, the plugin works, but small problem with the config
options 0 & 3 are the same "Semiclip only works for teammates" doesn't work I pass through opponents?

rtxa 06-24-2022 19:18

Re: [Metamod] HL Semiclip 2.2 [Last Update: 02/06/2020]
 
Quote:

Originally Posted by MrGarfield (Post 2781445)
hi rtxa, the plugin works, but small problem with the config
options 0 & 3 are the same "Semiclip only works for teammates" doesn't work I pass through opponents?

Probably something is wrong, I didn't test this too much (2-3 years since I developed this) because the gameplay of my gamemodes were mostly two teams only. I will need to review this but I'm already busy working in other projects for the moment.

MrGarfield 06-28-2022 16:05

Re: [Metamod] HL Semiclip 2.2 [Last Update: 02/06/2020]
 
great, thank you

rtxa 06-18-2023 15:26

Re: [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
Updated post with added support of ReHLDS and some fixes for HLDS version.

Changelog:

HLDS version (v2.2.1)
  • Added binaries for Linux.
  • Fixed player not able to jump into a crouched player with semiclip.
  • Added missing map configs.
ReHLDS version (v2.3.9)
  • Has everything HLDS version has plus:
    • Added accounting of the transparency of the entity attached to the player.


All times are GMT -4. The time now is 23:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.