Git Product home page Git Product logo

cs2kz-metamod's Introduction

WIP, not ready for release

Requirements

Installation:

  • Download the latest version in the release section and extract them to your server's csgo/ directory.

Compilation

  • Remember to recursively clone the plugin, and symlink needs to be enabled as well!

  • Latest AMBuild needs to be installed for compilation.

  • For each platform:

Windows (ambuild/msvc):

mkdir build
cd build
python3 ../configure.py 
ambuild

For windows debugging with VS, build the project then add the following command at the end:

python3 ../configure.py --gen=vs --vs-version 17

Linux (ambuild/clang):

mkdir build
cd build
python3 ../configure.py 
ambuild

Linux (Docker w/ Valve SDK Image):

mkdir build
docker build -t cs2kz-linux-builder .
docker run --rm -v ./build:/app/build cs2kz-linux-builder

Note: does not work with gcc!

Copy the contents of build/package/ to your server's csgo/ directory.

cs2kz-metamod's People

Contributors

alphakeks avatar busheezy avatar dizzythermal avatar dom1torii avatar exkludera avatar gamechaos avatar himenekocn avatar ipsvn avatar jakkekz avatar jonassjoh avatar jvnipers avatar kralgorkem avatar laazzee avatar skayee avatar tatuaua avatar zer0k-z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cs2kz-metamod's Issues

Rework timer logic

  • Invalidate the timer in various scenarios
  • Move timer logic to kz_timer.cpp
  • Rewrite timer display to better show stopped timer
  • Rewrite timer end message to display mode and style
  • Add multiple courses support
  • Add pause

Changed Signature: CCSGameRules_ctor

I'm sure you already know but I figured I'd make an issue before people get confused to why things aren't working.

It looks like CCSGameRules_ctor has changed a bit. I'm running linux.

Thanks for everything

Mapping API support

Could potientially go through every trigger on map start and gets its entity KVs

How to instal plugin into dathost server

Hello!

Can I get some help to set up a KZ server with dathost? Ive tried asking for help there but they told me to come and ask the developers for help.

Ive tried downloading v0.0.1 linux and windows versions and tried to instal these onto the addons folder without any luck.

What could I be doing wrong?

Thanks in advance

Teams are limited to 8

It seems once a team has 8 players, nobody else can join it. I tested this on a 64 slot server. Players will get something along the lines of "Team Full" and be stuck in the team select screen or spectator. I would love for someone to prove this incorrect. I am currently limiting all of my servers to 16 slots to prevent any issues.

I've tried:

mp_autoteambalance 0
mp_limitteams 0 and mp_limitteams 32

Enable usage of "noclip" command

Quite annoying having to rebind from noclip to kz_noclip every time you go on a local map and back on a kz server and vice versa.

Add triggerfix

TODO: hook players and triggers that get created midway through the map

Wallbug/rampbug fix

Potential fix for non-edge based wallbugs/rampbugs is increasing (decreasing?) the adjust variable in clipvelocity, like it was in the first release of the cs2 limited test:

__int64 __fastcall CCSPlayer_MovementServices::ClipVelocity(
        CCSPlayer_MovementServices *this,
        Vector *in,
        Vector *normal,
        Vector *out,
        float overbounce)
{
    ......
    if ( adjust < 1.0 )
    {
        if ( adjust >= -1.0 )
            adjust = -1.0;
        v12 = changeY - (float)(normal->y * adjust);
        v13 = changeZ - (float)(normal->z * adjust);
        out->x = changeX - (float)(adjust * normal->x);
        out->y = v12;
        out->z = v13;
    }
    return blocked;
}

This is also roughly kind of similar to how momsurffix works, except it's applied all the time to everything you touch.

Plugin Failing to Load

I'm not able to get the compiled cs2kz_metamod plugin to load in Metamod:

Compilation Steps:

git clone --recurse-submodules https://github.com/zer0k-z/cs2kz_metamod.git && cd cs2kz_metamod
git submodule update --init --recursive

mkdir build
cd build
python3 ../configure.py --hl2sdk-root "../"
ambuild

cp -rf package/addons/* /path/to/game/csgo/addons/.

Output:

meta list

Listing 1 plugin:
  [01] <ERROR>

Metamod Version Info:

meta version

Metamod:Source Version Information
Metamod:Source version 2.0.0-dev+1256
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: GameDLL (gameinfo.txt)
Compiled on Oct 26 2023 10:57:52
Built from https://github.com/alliedmodders/metamod-source/commit/6ee74f0
Build ID: 1256:6ee74f0
http://www.metamodsource.net/

I've tried using 2.0.0-dev+1225 also, same issue.

Are there any steps that I missed here?

Thank you!

Duck Speed Problem

After the player presses the ctrl button, it will cause screen shaking

Can it coexist with CounterStrikeSharp?

Tested that CS2kz will not be loaded when placed together, it seems that the same interface has been hooked.
But currently there are too few Metamod plugins available, So I would like to ask if there is any way to achieve coexistence between the two?

Spectators can't chat with players

This isn't specific to CS2KZ but it impacts us a bit heavy. Currently, spectators can not talk to players on a team. A chat processor is inevitable and this should be a quick start.

Restructure project files

Move RE'd valve stuff into another directory and try to add functions straight to these classes instead of going through utils.

CKZ feature checklist

  • Slopefix
  • Revert network quantization's effect on vertical velocity for consistent height jumps
  • Reset prestrafe variables upon teleporting not needed
  • Fix player being stuck in water

Codestyle documentation

Need to be formalized. In short:

  • Hungarian notation and valve type for all RE'd/Valve SDK stuff
  • Camel case and shortened type (u64, f32, etc..) for our own implementation of things

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.