Coder Social home page Coder Social logo

sm-entitydebugger's Introduction

SM-EntityDebugger

Tool for debugging maps/entities

Requires (SM 1.10) or (SDKTools extension version + SM 1.9) found here:
https://github.com/JoinedSenses/Sourcemod-SDKTools

ConVars

  • sm_entitydebugger_triggerfilter
    Toggle use of the trigger filter: see g_sEntityFilterList. When enabled, only those in the list will be active

Commands

  • sm_entdebug
    Toggle debug mode

  • sm_gethammerid
    Shoots lazer beam, provides info about entities it hits (Triggers are whitelisted, see: g_sEntityList) , toggles visibility of triggers and enables debug mode

  • sm_hasprop <entity> <proptype[data/send]> <"propname">
    Checks if ent has prop

  • sm_getentprop <returntype[e,i,f,s,v]> <entity> <proptype[data/send]> <propname>
    Retrieve prop value - Logs to error if incorrect returntype is specified for propname

  • sm_setentprop <entity> <proptype[data/send]> <propname> <Value[int,float,string,vector]>
    Sets prop value

  • sm_setentpropent <entity1> <proptype[data/send]> <propname> <entity2>
    Sets prop ent value

  • sm_setvariantstring <"variantStr"> <entity> <"inputstr"> | OPTIONAL: <activator> <caller> <outputid>
    Untested - Set variant string and run AcceptEntityInput(entity, "inputstr", activator, caller, outputit)

  • sm_acceptentityinput <entity> <"inputstr"> | OPTIONAL: <activator> <caller> <outputid>
    Same as previous command, except it doesn't set variant string

  • sm_triggerfiler
    Toggles the triggerfilter cvar

  • sm_dumpentities
    Dumps entities to /addons/sourcemod/logs/entities/map_name_entities.log

  • sm_findentities <"classname">
    Finds entities that match classname and prints to info to console

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.