Coder Social home page Coder Social logo

checkpoints's Introduction

Checkpoints

English | Русский

Checkpoints

AMX Mod X plugin for Counter-Strike.

The plugin adds special checkpoints, after passing through which, the player will be able to start directly from a given position in case of his death (if respawn is possible)) and/or receive a money reward for completing them.

The plugin includes:

  • One checkpoint model - 256 possible colors. You can turn on smooth transfusion.
  • Final checkpoint.
  • Menu for placing checkpoints.
  • Support DeathrunMod Duels.

Demonstration video

Checkpoints

Commands

  • checkpoint — menu for placing checkpoints on the map.

Configuration

Cvars

  • n21_checkpoint_reward "300" Reward for passing the checkpoint.
  • n21_checkpoint_money_mul "1" Whether to multiply the money reward by the checkpoint number.
  • n21_checkpoint_money_last_first "6000" Reward for passing the last checkpoint to the first player.
  • n21_checkpoint_money_last_second "4000" Reward for passing the last checkpoint to the second player.
  • n21_checkpoint_money_last_third "3500" Reward for passing the last checkpoint to the third player.
  • n21_checkpoint_teleport "0" Whether to teleport the player to the last passed checkpoint during respawn.
  • n21_checkpoint_skip_limit "0" How many checkpoints the player is allowed to skip, otherwise teleport him to the last passed checkpoint or respawn.
  • n21_checkpoint_light_effect "0" Whether to highlight checkpoints.
  • n21_checkpoint_glow_effect "0.0" The size of the glow aura at the checkpoint (0.0 - disables the effect).

Definitions

The configuration is done in the source file:

#define MAX_CHECKPOINTS				32 // Maximum checkpoints on the map
#define CHECKPOINT_RADIUS			45.0 // Checkpoint radius (not models)
#define ACCESS_FLAG			ADMIN_MAP // Access flag for the checkpoint placement menu
#define COLOR_EFFECT 		// The effect of the overflow of the checkpoint colors (to disable, delete or comment out)
// #define DUELS_ENABLED 	// Disables checkpoints during a duel (uncomment for duel support)

Requirements

Authors

checkpoints's People

Contributors

psycrow101 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.