GithubHelp home page GithubHelp logo

ankh's People

Contributors

arkshine avatar joropito avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ankh's Issues

Client listening natives

Rather than having to hook FM_SetClientListening, or more usefull then engine natives :
native that allow to set if playerA can hear playerB, that's all and can allow all settings.

2 ways :
set_user__(index, playersMask)
or
set_user__(index, playerB, true/false)

Both methods have cons, mask need to retrieve value first, second one need to call few times the native for some specific stuff.
I think second way is better.

Trace tools

Move to module more often traces done in plugins

  • looping traceline
  • check for space to spawn native

FakeFull

Integrate fakefull feature, if possible hide the bot info from being sent by the engine.

Extra admins/players flags managment

natives set_user_flags and get_user_flags have 32 slots, only 1 is used by default amxx.
Build a system so a plugin can reserve 1 or few slots with given file name to set flags, could be used for example for VIP systems.

Touch matrix forwards

Let developers to create a matrix to match "touch" between entities and call the associated forward

Example:

g_forward1 = register_matrixtouch("Entity_Touch_1")
g_forward2 = register_matrixtouch("Entity_Touch_2")
set_touch_matrix(ent1, ent2, g_forward1)
set_touch_matrix(ent1, ent3, g_forward2)

Voice tools

Natives and forwards to detect when someone is using microphone

Ankh base scheme

Let we discuss about base scheme

  • Base scheme should support default engine hooks.
  • All features (gag, physics, tools) must be handled inside this hooks
    • Should we avoid child functions to handle each sub-module? I guess not
    • All tasks should be done inside the master hook

Example:

PlayerPreThink should have inside:

  • code for controlling semiclip
  • then
  • code for rendering
  • then
  • code for other feature

Each part of code must be controlled by custom natives:

Native: set_user_semiclip() will enable semiclip code part for specific player

Join on connect management

Control team selection at join time:

  • move to spectator
  • move to some team
  • random
  • block team selection (block as spectator or in team)

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.