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.

Lihing 11-10-2023 09:58

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

Originally Posted by rtxa (Post 2806142)
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.


The problem is still the same as above

Is there any solution?

rtxa 11-10-2023 15:59

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

Originally Posted by Lihing (Post 2812736)
The problem is still the same as above

Is there any solution?

Same as what? Are you trying to use this in another mod than Half-Life? I suggest you posting what OS is installed in your server, the output from the console from typing the commands version and meta version.

Lihing 11-10-2023 18:59

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

Originally Posted by rtxa (Post 2812758)
Same as what? Are you trying to use this in another mod than Half-Life? I suggest you posting what OS is installed in your server, the output from the console from typing the commands version and meta version.


Thank you for taking the time to reply to me

options 0 & 3 are the same "Semiclip only works for teammates" doesn't work I pass through opponents?

This question, choose 3, will pass through the hostile person

rtxa 11-11-2023 02:39

Re: [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
Please, provide the information I asked you before so I can help you better, also provide me with the output from the commands "meta list", "mp_teamlist" and "mp_teamplay".

I'm not sure if what you are telling me is a question or a problem, when you select option 3, you should only be able to clip through your teammates, not through opponents, that would be an issue. I have test this before and I don't see anything wrong with the code, that why I need you to provide me with more info.

Lihing 11-11-2023 11:30

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

Originally Posted by rtxa (Post 2812783)
Please, provide the information I asked you before so I can help you better, also provide me with the output from the commands "meta list", "mp_teamlist" and "mp_teamplay".

I'm not sure if what you are telling me is a question or a problem, when you select option 3, you should only be able to clip through your teammates, not through opponents, that would be an issue. I have test this before and I don't see anything wrong with the code, that why I need you to provide me with more info.


description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.9.0.5 ini Start ANY
[ 2] ReSemiclipHL RUN - resemiclip_mm.dl v2.3.9 ini Chlvl ANY
[ 3] WinHL-Booster RUN - booster_170_mm.d v1.70 ini Chlvl Pause
[ 4] mmtimer RUN - mmtimer.dll v1.6 ini ANY Never
[ 5] Fun RUN - fun_amxx.dll v1.9.0.5 pl1 ANY ANY
[ 6] Engine RUN - engine_amxx.dll v1.9.0.5 pl1 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx.dl v1.9.0.5 pl1 ANY ANY
[ 8] CStrike RUN - cstrike_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 9] CSX RUN - csx_amxx.dll v1.8.1.3 pl1 ANY ANY
[10] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl1 ANY ANY
[11] Orpheu RUN - orpheu_amxx.dll v2.6.3 pl1 ANY ANY
11 plugins, 11 running


"mp_teamlist" and "mp_teamplay".

did not use

Use your ReHLDS version (v2.3.9) Thanks

rtxa 11-11-2023 19:43

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

Originally Posted by Lihing (Post 2812807)
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.9.0.5 ini Start ANY
[ 2] ReSemiclipHL RUN - resemiclip_mm.dl v2.3.9 ini Chlvl ANY
[ 3] WinHL-Booster RUN - booster_170_mm.d v1.70 ini Chlvl Pause
[ 4] mmtimer RUN - mmtimer.dll v1.6 ini ANY Never
[ 5] Fun RUN - fun_amxx.dll v1.9.0.5 pl1 ANY ANY
[ 6] Engine RUN - engine_amxx.dll v1.9.0.5 pl1 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx.dl v1.9.0.5 pl1 ANY ANY
[ 8] CStrike RUN - cstrike_amxx.dll v1.8.1.3 pl1 ANY ANY
[ 9] CSX RUN - csx_amxx.dll v1.8.1.3 pl1 ANY ANY
[10] Ham Sandwich RUN - hamsandwich_amxx v1.9.0.5 pl1 ANY ANY
[11] Orpheu RUN - orpheu_amxx.dll v2.6.3 pl1 ANY ANY
11 plugins, 11 running


"mp_teamlist" and "mp_teamplay".

did not use

Use your ReHLDS version (v2.3.9) Thanks

From what I can see, your server is running CStrike modules and if mp_teamlist and mp_teamplay doesn't exists, this makes me think in:

- Are you trying to run this plugin in CS 1.6? It will not work, only works for Half-Life and probably mods where the team system is similar to HL. CS 1.6 uses another team system. In any case, you should use semiclips plugins from CS 1.6.

Lihing 11-11-2023 20:34

Re: [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
I have found a lot of information about ReHLDS Semiclip
Currently only yours can be read and used normally.
I just don’t know why part 3 is not executed
Everything else is very normal and perfect.

rtxa 11-12-2023 11:39

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

Originally Posted by Lihing (Post 2812825)
I have found a lot of information about ReHLDS Semiclip
Currently only yours can be read and used normally.
I just don’t know why part 3 is not executed
Everything else is very normal and perfect.

Well, the thing is you are not telling me the whole story, why option 3 is not working in your case, I'm not sure... Do you mind uploading a video showing off the issue and showing the options that work (1 and 2)?

Lihing 11-12-2023 23:51

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

Originally Posted by rtxa (Post 2812850)
Well, the thing is you are not telling me the whole story, why option 3 is not working in your case, I'm not sure... Do you mind uploading a video showing off the issue and showing the options that work (1 and 2)?


https://www.youtube.com/watch?v=H0wbYGmlWf0



Hello This is one of the videos. There are other videos in it. Score 3.2.1.0


# semiclip 0|1 Disable/enable semiclip.
#
# team 0|1|2|3
# - 0 Semiclip works for all.
# - 1 Semiclip works only for BLUE team.
# - 2 Semiclip works only for RED team.
# - 3 Semiclip works only for teammates.
#
# 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.

semiclip = 1;
team = 3;
crouch = 1;
effects = 0;
distance = 200;
transparency = 0;

rtxa 11-13-2023 20:43

Re: [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
Thank you for making the effort of uploading the videos. I'm afraid I'm not going to be able to fix this "issue" because I removed the support of CS 1.6 when making the necessary changes to make it work for Half-Life 1. If this is still working with some options, that's unexpected.

There are plenty of semiclip plugins for CS 1.6 (Semiclip 2.2 by Silent, ReSemiclip by Adidas, etc.). Why do you want to pick this one?

There's no point in wasting time on implementing something that it's already been done, Half-Life didn't not have Semiclip plugins that support teams, that's why I made this. I'm sorry but I'm not gonna go further into this talk.

Lihing 11-14-2023 00:19

Re: [ReHLDS/HLDS] Half-Life: Semiclip [Last Update: 18/06/2023]
 
I understand. Thank you for your reply.
Because ReSemiclip requires ReGameDLL
Because I don't use the ReGameDLL part, I can only use yours.
My server
Only then can I open it. Thank you.

247140593 11-29-2023 01:03

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

# semiclip 0|1 disable/enable semiclip.
#
# team 0|1|2|3
# - 0 Semiclip works for all.
# - 1 Semiclip works only for BLUE team.
# - 2 Semiclip works only for RED team.
# - 3 Semiclip works only for teammates. 

Shall we add 4th option ?

- 4 Semiclip works is Not allowed to traverse zombie bodies Whether it's zombies or humans。

::)

rtxa 05-09-2024 11:29

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

Originally Posted by 247140593 (Post 2813703)
PHP Code:

# semiclip 0|1 disable/enable semiclip.
#
# team 0|1|2|3
# - 0 Semiclip works for all.
# - 1 Semiclip works only for BLUE team.
# - 2 Semiclip works only for RED team.
# - 3 Semiclip works only for teammates. 

Shall we add 4th option ?

- 4 Semiclip works is Not allowed to traverse zombie bodies Whether it's zombies or humans。

::)

Not sure to understand what you want, and maybe that escapes from the purpose of this plugin. What you want to do is to make corpses able to go through (making them non-solid), whether is a zombie or human? If that's the case, then I can't help you.


All times are GMT -4. The time now is 14:15.

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