Garry's Mod

Garry's Mod

Not enough ratings
entity controller (works on nearly everything )
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Scenic
File Size
Posted
Updated
24.960 KB
30 Sep, 2018 @ 5:16am
5 Mar, 2024 @ 6:47am
12 Change Notes ( view )

Subscribe to download
entity controller (works on nearly everything )

Description
this mod is very complicated to understand but the first few images tell you how to use it but what this mod dose is it controls entity however this is just a base version so there is not much you can do with it well there is but you could do much more with it so much more but right now you can do 13 things with this mod.

the main commands
________________________________________________________________________________


entc_list : this makes a list in the console of every entity execpt for players and weapons.
entc_list near : list all the entitys near you in the console

entc_seclectbyid : selects a specific entity by its entity id
entc_seclectclassbyid : seclects every entity with a certain class by the id of one of those entitys


the commands that do things once you seclected an entity
________________________________________________________________________________

entc_do_remove : removes it from the map

entc_do_enable : enables the entity or entitys
entc_do_disable : disables the entity or entitys

entc_do_lock : it lockes stuff
entc_do_unlock : it unlockes stuff

entc_do_open : opens thing most of the time its going to be a door
entc_do_close : closes things

entc_do_motionenable : dose motion enable on an object with MOVETYPE_VPHYSICS ( laggey )
entc_do_motiondisable : dose motion disable on an object with MOVETYPE_VPHYSICS

entc_do_gotoselectedent : teleports the admin to the seclected entity ( can't select multiple things )
entc_do_gotoplayer : teleports the object to the admin ( can't select multiple things )

entc_do_setangles: changes the angles of an object useing the XYZ vars
entc_do_setanglesrand : changes the angles of an object randomly

entc_do_setpos : sets the position of an object in coordinates useing the XYZ vars
entc_do_setposaddgetpos : displaces the object from it current pos useing the XYZ vars
entc_do_setposinboxrand : the bigger this is entc_var_boxsize the more far away the ent will be


vars
________________________________________________________________________________

entc_var_z : it represent the z vavlue used in angles or position ( it works like the XYZ in minecraft )
entc_var_y : it represent the y vavlue used in angles or position ( it works like the XYZ in minecraft )
entc_var_z : it represent the x vavlue used in angles or position ( it works like the XYZ in minecraft )

entc_var_mathbox : it is the equivalent of a maxium valvue but cubed

ther are 2 other command but thay can be found in the section below

key value commands
________________________________________________________________________________

if you dont know what a key value is dont worry about it I will tell you about them, thay are a setting system for entitys thay allow gmod to determine what thins should act, sound and look like so for example targetname would change the name of the seclected entity if you put that as the key and not the value and with this the changes you can make are mear infinite just look up source engine key values for mor info.

entc_var_keyvaluethekey : the key of key value
entc_var_keyvaluethevalue : the value of key value

entc_do_confirmkeyvalue takes the key and value commands and runs them on the seclected entity


template maker
________________________________________________________________________________

entc_temvar_templatename : the name of the template you whant to create, save or load
entc_temvar_templateclass : the class of the template entity

entc_temvar_templatekey : the key to add to the template
entc_temvar_templatevalue : the value to add to the template

entc_temdo_createtemplate: creates a template called what templatename is set to.
entc_temdo_addtemplateclass: add the result of templateclass var to the template you just made
entc_temdo_addtemplatekeyvalue : add a key value to the template there is no limit to this

entc_temdo_savetemplate : saves the class and the key values so you can load it later

entc_temdo_loadtemplateatplayer : loads the template by name and moves it to where the player is
entc_temdo_loadtemplateatseclectedent : loads the template by name at the seclected entity pos

entc_temdo_delatettemplate : delates a template by its name

other stuff
________________________________________________________________________________

mod is admin only
map : https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=104841792
incase you want to make extension to this mod : please rember to get rid of the two dashes at the start --http://www.mediafire.com/file/axkns5993gtt949/example.RAR/file
2 Comments
ilikecreepers  [author] 22 Jan, 2022 @ 6:21am 
@A.L.A.S.T-G.I.R why
CosmicRay25 1 Oct, 2018 @ 5:27pm 
Does this work in Sandbox mode?