Garry's Mod

Garry's Mod

Not enough ratings
Control Theory E2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
120.995 KB
14 Jul, 2018 @ 9:05am
2 Dec, 2024 @ 12:00pm
43 Change Notes ( view )

Subscribe to download
Control Theory E2

Description


Description
This addon adds control theory customizable PID loop and sensor OOP to wire Expression 2

Documentation wiki
https://github.com/dvdvideo1234/ControlSystemsE2/wiki

Feature List
  • Object oriented expression script behavior OOP
  • The objects are created once during initialization
  • The controller and sensor have separate dedicated classes
  • Fixed or dynamic sampling time support for the controller object
  • Trace sensor can retrieve all the data that can be located in a regular trace
  • Coding effective environment API
  • Traces are 60% faster when using the fsensor API than the regular wire rangers
  • The controller and sensors can be monitored easily
  • The sensor can be attached to an entity to use its local coordinates and angle
  • Sensors tracing hit filter can be easily customized by linking to entity method
  • Both sensors and controllers support persist variable setting and can be dupable
  • Supports varieties if controller/sensor state initialization

This addon is includer in the wire-extras addon: https://github.com/wiremod/wire-extras
I am the original autor of this addon and I want my independent separate repository!

General wiki: https://github.com/dvdvideo1234/ControlSystemsE2/wiki

Ftrace API: https://github.com/dvdvideo1234/ControlSystemsE2/wiki/FTrace
StControl API: https://github.com/dvdvideo1234/ControlSystemsE2/wiki/StControl

Readme: https://github.com/dvdvideo1234/ControlSystemsE2/blob/master/readme.md

Git repository: https://github.com/dvdvideo1234/ControlSystemsE2

Report errors to: https://github.com/dvdvideo1234/ControlSystemsE2/issues

Re-uploading and source stealing will not be tolerated !
Selling it is also out of option, as the open source suggests !

If you want to support me and you like what I do:

paypal.me/DeyanVasilev
6 Comments
[Sk$Bh]Trick or treat KID!  [author] 2 Dec, 2024 @ 12:01pm 
Deprecated FTrace and StControl object methods were removed. Three years is quite a lot of time to shitch your E2s over.
[Sk$Bh]Trick or treat KID!  [author] 9 Mar, 2022 @ 9:18am 
@cleric 32 minutes ago

Thank you very much bro.
cleric 9 Mar, 2022 @ 8:44am 
Magnificent!
[Sk$Bh]Trick or treat KID!  [author] 14 Jun, 2021 @ 1:25am 
The flash traces OOP no supports all three types of filters. Use the wiki to check how to use them.
https://github.com/dvdvideo1234/ControlSystemsE2/wiki/FTrace
[Sk$Bh]Trick or treat KID!  [author] 20 Feb, 2021 @ 12:23pm 
Beware all API that adds stuff and manipulates filters now starts with "put%". Please update your E2 scripts accordingly.