Giter VIP home page Giter VIP logo

adminfreelook's Introduction

AdminFreeLook

GitHub version Build Status Build status

AMX Mod X module whichs allows spectating admins to use any camera modes whatever mp_forcecamera or mp_forcechasecam value. This only works for latest HLDS version.

Originally created by jim_yang. Rewritten to be used after Steam February update.

##Configuration (cvars)

  • A reminder about mp_forcecamera and mp_forcechasecam.
    This is the base configuration for all players, which can be overwritten by below cvars.

    0 : Observers can spectate anyone, any mode.
    1 : Observers can only spectate his own team.
    2 : Observers can only spectate his own team and in-eye mode only.

  • afl_enabled

    Module state. Whether you want to activate module functionnalities.

    0 : Disable
    1 : Enable

    Default value : "1"

  • afl_admin_access_flags

    Admin's access flags.
    Ability to observe without being restricted by gameplay cvar.
    Flags are additives.

    Default flags are (from users.ini file) :

    ; Access flags:
    ; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
    ; b - reservation (can join on reserved slots)
    ; c - amx_kick command
    ; d - amx_ban and amx_unban commands (permanent and temporary bans)
    ; e - amx_slay and amx_slap commands
    ; f - amx_map command
    ; g - amx_cvar command (not all cvars will be available)
    ; h - amx_cfg command
    ; i - amx_chat and other chat commands
    ; j - amx_vote and other vote commands
    ; k - access to sv_password cvar (by amx_cvar command)
    ; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
    ; m - custom level A (for additional plugins)
    ; n - custom level B
    ; o - custom level C
    ; p - custom level D
    ; q - custom level E
    ; r - custom level F
    ; s - custom level G
    ; t - custom level H
    ; u - menu access
    ; v - amx_ban and amx_unban commands (temporary bans only, about amx_unban, only self performed ban during map gonna be allowed)
    ; z - user (no admin)
    

    Default value : "d"

  • afl_user_override_mode

    This will force non-admin players to use specific modes only.
    Flags are additives.

    0 : None
    a : Chase Locked
    b : Chase Free
    c : Roaming
    d : In Eye
    e : Map Free
    f : Map Chase

    Default value : "0"

##Installation

  1. Stop your server whatever it's your first install or just updating.
  2. From Releases section, get the binary file you need:
    OS Windows Linux
    Binary file `adminfreelook_amxx.dll` `adminfreelook_amxx_i386.so`
    2. Upload it in your *amxmodx/modules/* folder. 3. Open your *configs/modules.ini* and add at the end `adminfreelook` 4. Configure `mp_forcechasecam` and `mp_forcecamera` gameplay cvars. Both should have the same value. 5. Make sure `mp_fadetoblack` is set to 0. 5. Configure `afl_admin_access_flags` and `afl_user_override_mode` modules cvars. 6. Start your server.

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.