Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[Sven Co-op] Semiclip v1.0.1 (January 6, 2023)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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.

Changelog:
  • 1.0.1
    • Removed unneeded include
  • 1.0
    • Initial Release

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.

Attached Files
File Type: sma Get Plugin or Get Source (svencoop_semiclip.sma - 3.0 KB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...