Skip to content

mEldevlp/Surf-Mod-mm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surf Mod

A metamod plugin for CS 1.6  |  ReGameDLL & ReHLDS


Windows CI  Linux CI  License 

Requirements dev

MSVC v143
ReHLDS 3.13.0.788 or higher
ReGameDLL 5.22.0.593 or higher

Features

Remove Surf Stuck

  • Remove STUCK on the ramp (when you surf with high fps you are stucked)

Duel system in the Balkan rules

Previously, any duels on the surf were without any plugins

This plugin will have a judge will can do start the duel, stop and give the round to duelists as well

  • Give round to player
  • Take round from player
  • Backup round (returns the score of the game in need round)
  • Give Win to player
  • Pause\Unpuase the duel
  • Aborting duel
  • The "resign" system, the player can surrender at any time
  • The system of waiting for the player (in case the Internet turned off or for anything)

Preview judge menu

judge menu

Box zones

I will try to do about the same click. Author R3X

Surf Speedrun Timer

Speedrun Timer. Instead of a big kz-arg plugin, there will be a simple timer with saving the results and outputting it to MOTD

Will works with box-zones

Want to help?

Just clone this repo

git clone https://github.com/mEldevlp/Surf-Mod-mm.git

In Visual Studio 2022 i have pre and post building events. Change these for yourself

Path: ".\SurfMod\include\buildevents"

Event pre_shutdown_server is shutdown server (hlds.exe process kill)
tasklist /fi "imagename eq hlds.exe" |find ":" > nul
	if errorlevel 1 (taskkill /f /im "hlds.exe")
Event post_startserver you need change path everthere because ur path 100% diff
cd C:\Users\mEl\Desktop\Surf-Mod-mm\Release

set "outputFile=SurfMod_mm.dll"

set "copyPath=C:\Users\mEl\Desktop\CS_SERVER_1_9_AMX\cstrike\addons\SurfMod\dlls"

if exist %copyPath% (copy %outputFile% %copyPath%) else (echo "something wrong")

set "hldsParam=-console -game cstrike -secure -pingboost 3 -master +port 27017 +map de_dust2 +maxplayers 16 +sys_ticrate 512"

set "hldsPath=C:\Users\mEl\Desktop\CS_SERVER_1_9_AMX"

if exist %hldsPath% (start /min /d "%hldsPath%" hlds.exe %hldsParam%)

Also you can delete events.

In SurfMod.vcxproj file tags <PostBuildEvent> and <PreBuildEvent>
    <PostBuildEvent>
      <Command>./include/buildevents/post_startserver.cmd</Command>
    </PostBuildEvent>
    <PreBuildEvent>
      <Command>./include/buildevents/pre_shutdown_server.cmd</Command>
    </PreBuildEvent>

Or use path Project -> Properties -> Build Events

Todo list

  • Remove Surf stuck
  • Surf Duel System
  • Box zones (anti camp, start zone instead of a button, etc) (didn't start)
  • Speedrun Timer for sr maps (special maplist) (didn't start)

Credits

Based on MathBot (by SmileYzn) and super-speedrun (by Lopol2010)