Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
Like Tree2Likes

Thread: E2 Class Description Documentation

  1. #1
    Pizza is good... OmicroN's Avatar
    Join Date
    Apr 2008
    Location
    Frozen Hell (aka Michigan)
    Posts
    562

    Default E2 Class Description Documentation

    As requested, here is a list of all essential and non-essential class types that I can come up with for the time being.

    Examples:
    findByClass("Class Here")
    findIncludeClass("Class Here")
    findExcludeClass("Class Here")
    findAllowClass("Class Here")
    findDisallowClass("Class Here")
    findClipToClass("Class Here")
    findClipFromClass("Class Here")

    if(entity():type()=="Class Here"){ }

    entity():npcRelationship("Class Here",S,N)

    Class Types are as follows (no specific order):
    General Porpuse Classes
    Code:
    Choose whatever tool you want to,
    -just replace *choosetool* with the tool of your choice.
    
    gmod_wire_*choosetool*
    gmod_*choosetool*
    Code:
    crossbow_bolt
    flechette_gun
    gmod_balloon
    gmod_button
    gmod_camera
    gmod_cameraprop
    gmod_dynamite
    gmod_emitter
    gmod_hoverball
    gmod_lamp
    gmod_laser
    gmod_laser_crystal
    gmod_laser_reflector
    gmod_light
    gmod_thruster
    gmod_tool
    gmod_turret
    gmod_wheel
    gmod_wire_addressbus
    gmod_wire_adv_hudindicator
    gmod_wire_adv_input
    gmod_wire_adv_pod
    gmod_wire_buoyancy
    gmod_wire_button
    gmod_wire_cam
    gmod_wire_cameracontroller
    gmod_wire_cd_disk
    gmod_wire_cd_ray
    gmod_wire_colorer
    gmod_wire_consolescreen
    gmod_wire_cpu
    gmod_wire_damage_detector
    gmod_wire_data_satellitedish
    gmod_wire_data_store
    gmod_wire_data_transferer
    gmod_wire_dataport
    gmod_wire_datarate
    gmod_wire_datasocket
    gmod_wire_detcord
    gmod_wire_detonator
    gmod_wire_digitalscreen
    gmod_wire_dual_input
    gmod_wire_dupeport
    gmod_wire_dynamicmemory
    gmod_wire_emarker
    gmod_wire_explosive
    gmod_wire_expression
    gmod_wire_expression2
    gmod_wire_eyepod
    gmod_wire_facer
    gmod_wire_forcer
    gmod_wire_freezer
    gmod_wire_fx_emitter
    gmod_wire_gate
    gmod_wire_gps
    gmod_wire_gpu
    gmod_wire_grabber
    gmod_wire_graphics_tablet
    gmod_wire_gyroscope
    gmod_wire_hdd
    gmod_wire_holoemitter
    gmod_wire_hologrid
    gmod_wire_hoverball
    gmod_wire_hoverdrivecontroler
    gmod_wire_hsholoemitter
    gmod_wire_hsranger
    gmod_wire_hudindicator
    gmod_wire_hydraulic
    gmod_wire_igniter
    gmod_wire_indicator
    gmod_wire_indicator
    gmod_wire_input
    gmod_wire_keyboard
    gmod_wire_keycardspawner
    gmod_wire_lamp
    gmod_wire_las_reciever
    gmod_wire_latch 
    gmod_wire_light
    gmod_wire_locator
    gmod_wire_materializer
    gmod_wire_microphone
    gmod_wire_motor
    gmod_wire_nailer
    gmod_wire_no_collide
    gmod_wire_notifier
    gmod_wire_numpad
    gmod_wire_oscilloscope
    gmod_wire_output
    gmod_wire_painter
    gmod_wire_panel
    gmod_wire_pid
    gmod_wire_pixel
    gmod_wire_pod
    gmod_wire_radio
    gmod_wire_ramcard_default024
    gmod_wire_ramcard_default1024
    gmod_wire_ramcard_default128
    gmod_wire_ramcard_default32
    gmod_wire_ramcard_default64
    gmod_wire_ramcard_proxy024
    gmod_wire_ramcard_proxy32
    gmod_wire_ramcardreader
    gmod_wire_ranger
    gmod_wire_realmagnet 
    gmod_wire_relay
    gmod_wire_rfid_filter 
    gmod_wire_rfid_implanter
    gmod_wire_rfid_reader_act
    gmod_wire_rfid_reader_beam
    gmod_wire_rfid_reader_prox
    gmod_wire_rtcam
    gmod_wire_screen
    gmod_wire_sensor
    gmod_wire_simple_explosive
    gmod_wire_simple_servo
    gmod_wire_simple_servo
    gmod_wire_socket
    gmod_wire_soundemitter
    gmod_wire_spawner
    gmod_wire_speedometer
    gmod_wire_string
    gmod_wire_stringbuf
    gmod_wire_target_finder
    gmod_wire_textreceiver
    gmod_wire_textscreen
    gmod_wire_thruster
    gmod_wire_trail
    gmod_wire_turret
    gmod_wire_twoway_radio
    gmod_wire_useholoemitter
    gmod_wire_user
    gmod_wire_value
    gmod_wire_vectorthruster
    gmod_wire_vehicle
    gmod_wire_watersensor
    gmod_wire_waypoint
    gmod_wire_weight 
    gmod_wire_wheel
    gmod_wire_winch_controller
    gmod_wire_wireless_recv 
    gmod_wire_wireless_srv 
    gmod_wire_wirer
    gmod_wire_xyzbeacon
    gmod_xqm_wire_hydraulic
    gyropod2
    gyropod2_advanced
    manhack_welder 
    npc_alyx
    npc_antlion
    npc_antlion_grub
    npc_antlion_worker
    npc_antlionguard
    npc_barney
    npc_breen
    npc_citizen
    npc_combine_s
    npc_cscanner
    npc_dog
    npc_eli
    npc_fastzombie
    npc_fastzombie_torso
    npc_gman
    npc_grenade_frag
    npc_headcrab
    npc_headcrab_black
    npc_headcrab_fast
    npc_hunter
    npc_kleiner
    npc_magnusson
    npc_manhack
    npc_metropolice
    npc_monk
    npc_mossman
    npc_pigeon
    npc_poisonzombie
    npc_rollermine
    npc_seagull
    npc_turret_floor
    npc_vortigaunt
    npc_zombie
    npc_zombie_torso
    npc_zombine
    physics_npc_solver
    prop_combine_ball
    prop_physics
    prop_ragdoll
    prop_vehicle_airboat
    prop_vehicle_jeep
    prop_vehicle_jeep_old
    prop_vehicle_prisoner_pod
    rpg_missile
    sbep_mmu
    sent_ball
    sent_deployableballoons
    sent_jumppad
    weapon_357
    weapon_ak47
    weapon_ar2
    weapon_crossbow
    weapon_crowbar
    weapon_deagle
    weapon_fiveseven
    weapon_frag
    weapon_glock
    weapon_m4
    weapon_mac10
    weapon_mp5
    weapon_para
    weapon_physcannon
    weapon_physgun
    weapon_pistol
    weapon_pumpshotgun
    weapon_rpg
    weapon_shotgun
    weapon_smg1
    weapon_striderbuster
    weapon_tmp
    youtube_player

  2. #2
    has a custom title mattwd0526's Avatar
    Join Date
    Apr 2009
    Location
    Born Bostonian
    Posts
    2,652

    Default Re: E2 Class Description Documentation

    Useful, but if you have the picker addon, unnecessary. Good job though.

  3. #3
    Wire Sofaking oenmaster's Avatar
    Join Date
    Jan 2008
    Location
    fak where is my satnav (NL)
    Posts
    717
    Blog Entries
    1

    Default Re: E2 Class Description Documentation

    Code:
    bind "p" "lua_run_cl local trace = LocalPlayer():GetEyeTrace() if(trace.HitNonWorld) then LocalPlayer():ChatPrint(tostring(trace.Entity)) else LocalPlayer():ChatPrint(tostring(ents.GetByIndex(0))) end"
    got this from him
    silentassassin12092

    it print the class and the entity number of it in the chat box ( like e2 print())

  4. #4
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,156

    Default Re: E2 Class Description Documentation

    1. You really should sort it alphabeticly (they start with the type name anyway (npc_,prop_, and so on))...

    2. Why do you have 2 prop_physics?

    3. where is the prop_combine_ball?

  5. #5
    Pizza is good... OmicroN's Avatar
    Join Date
    Apr 2008
    Location
    Frozen Hell (aka Michigan)
    Posts
    562

    Default Re: E2 Class Description Documentation

    Quote Originally Posted by feha View Post
    1. You really should sort it alphabeticly (they start with the type name anyway (npc_,prop_, and so on))...

    2. Why do you have 2 prop_physics?

    3. where is the prop_combine_ball?
    Here's a better idea people, type find_ent in console and BOOM, you have it right there. That is where I got it from, and I never did shoot off a prop_combine_ball.

    What I did is I shot off each gun that I had and went into console and used "find_ent _" which does a search of all entities listed with a _ in the name. You will find a bunch of useless one's amongst the one you need.

    As for alphabetical, I can do that. And there are multiples because of the method that I used.

    Lastly noted, at the time I had been awake from 5pm Thursday to I think I made the post at around 9-10pm. I was very tired.

  6. #6
    Wire Sofaking feha's Avatar
    Join Date
    Sep 2009
    Location
    Here
    Posts
    1,156

    Default Re: E2 Class Description Documentation

    /me like lists

    1. I find it much easyer to use a good documentation (yes yours that is) with minor easy to see flaws only (like 2 prop physics).

    2. That must have been quite much work :S

    3. Thats why I suggested it (knowing it was possible) XD.

    4. your errors was the kind of error anyone could have no matter if they are tired or not, its all about remembering which ones you already done and which ones that exist. Tbh I think I would have got way more errors (closer to 10 than 2) if I would have tried doing this XD.

  7. #7
    Developer Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,109

    Default Re: E2 Class Description Documentation

    Quote Originally Posted by OmicroNiuM View Post
    Lastly noted, at the time I had been awake from 5pm Thursday to I think I made the post at around 9-10pm. I was very tired.
    Classic.
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr

  8. #8
    Lifetime Supporter Nikita's Avatar
    Join Date
    May 2009
    Posts
    769

    Default Re: E2 Class Description Documentation

    What is the type for holograms?

    I'm not sure if real entities are associated with them, but they do have entity-returning functions.

  9. #9
    Developer Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,109

    Default Re: E2 Class Description Documentation

    Quote Originally Posted by Nikita View Post
    What is the type for holograms?

    I'm not sure if real entities are associated with them, but they do have entity-returning functions.
    "gmod_wire_hologram"
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr

  10. #10
    Wire Noob CakeLier's Avatar
    Join Date
    Apr 2011
    Posts
    14

    Default Re: E2 Class Description Documentation

    he i have an tool for this if you shoot on whatever it is it can show class model material color and more and u can set anything off and only show class and model InfoTool v1 Download! it helped me alot to get classes

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [Explosives] Fixed description typo.
    By Bender in forum Wiremod SVN Log
    Replies: 0
    Last Post: 09-30-2009, 07:30 AM
  2. Find more than one class via findByClass(S)
    By MephistoFFF in forum Expression 2 Discussion & Help
    Replies: 8
    Last Post: 05-28-2009, 09:25 AM
  3. E2 - Camera Class
    By Klladude in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 03-30-2009, 11:36 PM
  4. Class Tables Help
    By KillerBlonde in forum Off-Topic
    Replies: 2
    Last Post: 12-21-2008, 11:16 AM
  5. Replies: 14
    Last Post: 11-23-2007, 08:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots