Code Monkey home page Code Monkey logo

player-paint's Introduction

Player Paint

This is a standalone plugin intended to provide the +paint feature to players for visibility and to mark landmarks, with decals being fully client-sided. This is ideal for movement game-mode servers that want to provide the feature to players, but do not want it to be abused to destroy visibility and cause chaos in public servers!

Usage:

  • Players can bind +paint to a key. When this key is held down, they will continously place paint on the surface they are looking at.
  • sm_paint (or !paint / /paint) will place down a single paint decal on the surface the player is aiming at.
  • sm_paintoptions will open the options menu, which can be used to access options to change paint colour and size.
  • sm_paintcolour (or sm_paintcolor) will directly open the paint colour settings menu.
  • sm_paintsize will directly open the paint size settings menu.
  • sm_clearpaint will tell you how to clear decals, since I couldn't figure out how to make the plugin force clear decals for the player. :P

This plugin uses clientprefs to store settings, so player's paint settings are remembered when they join the server.

Players can choose from 14 colours and 3 size options!

Installation:

Compiling:

You'll need the MultiColors include. This plugin works on SM 1.10, haven't tested on 1.11.

Credits:

player-paint's People

Contributors

1zc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

pmarkive

player-paint's Issues

Can't paint ramps on some maps

Hi there, thanks for this plugin! I installed it on my home server and it's been super-handy

I noticed that for some maps, I'm able to draw on any surface except the ramps? I can paint the walls/floors, but not the ramps themselves.

I haven't done too much testing yet, (and I'm a pretty big noob at in-game debugging and commands) the maps I've noticed this happening in so far are

  • surf_progress
  • surf_skipalot
  • surf_nyx

maps that I'm able to paint the ramps:

  • surf_utopia_njv
  • surf_lavaflow

I tried looking around but couldn't find if there was setting that I haven't applied or something?

System info:

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.