View Single Post
Plugin Info:     Modification:          Category:         
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 01-06-2023 , 17:51   [Sven Co-op] Semiclip v1.2.1 (January 15, 2023)
Reply With Quote #1

Hello.

This is a new version of Semiclip plugin after all updates broke the previous methods, we managed to discover a new way to implement a safer Semiclip.

Current Problems:
  • Due to the great amount of engine changes Svengine suffered over the time, the older Metamod implementation broke and apparently there wasn't a way to fix it.
  • anggaranothing released a new version of Semiclip using Sven Co-op's own scripting language, AngelScript. However, there are several problems that affect the functionality and make playing with this plugin more a hassle than an improvement:
    • This implementation uses groupinfo, making the players invisible when nearby.
      • This may also break custom maps that make use of this.
    • AngelScript doesn't have AddToFullPack, so it's actually impossible to render players using AS alone, you could in theory "fix" this by using AMXX.
    • Sven Co-op made a small change that automatically unstuck colliding players, so if you try to boost someone there are high chances that you will be sent flying away.

Solution: (This plugin)
  • This plugin uses Orpheu and hooks directly in the function responsible for allowing collision between entities.
  • AddToFullPack is also implemented, so players will not rubberband when going through each other.
  • Boosting between players feels extremely smooth, almost native. Although it still a little trickier to reach higher places, because you need to jump before the player below stands up or else you'll fall through.
  • It gives us more liberty on a easy to read code, it will allow us to implement more features like PVP support on maps that support it. (Which is currently a to-do!)

Requirements:
Cvars:
  • amx_semiclip_enabled
    Enables the plugin. Takes effect on map start. Default 1.

Known Issues:

The AMD binary included with SvenDS is not supported and the plugin will not work with it. The server will start with this binary automatically if you have an AMD processor, but you can override this by adding the following command line parameter.

Code:
-binary ./svends_i686
Even if you do not use this plugin it is recommended to do it as it there are reports of the AMD binary being very buggy.

Credits:
  • Th3-822
    • Helped me a lot with Orpheu and explaining me how the game works internally, and pretty much this plugin wouldn't be possible if it wasn't for him.

Download and Source Code:

This project is now on GitHub. You can also see the project's changelog, report issues and being able to download pre-release (development) versions.

Latest Stable Version
All Versions (Including Pre-Release)


Download from AlliedModders:

You need to download the .sma file and compile the plugin because the AlliedModders forum compiler lacks the necessary includes to provide you with a working binary.
Attached Files
File Type: sma Get Plugin or Get Source (svencoop_semiclip.sma - 290 views - 5.8 KB)
__________________

Last edited by gabuch2; 09-02-2023 at 22:17.
gabuch2 is offline