TomyLobo
a2b4acfc08
Fixed Igniter, Light, Cam Controller, CD Ray/Lock, Damage Detector, Data Transferer, Eye Pod, FX Emitter and Wired Wheel after Garry broke them...
2009-11-24 19:46:23 +00:00
TomyLobo
ee54efd2ee
[WireLib] WireShared.lua: The "autocleanup" container now only stores new subtables once they have been written to.
...
[E2] signal.lua: Using the new "autocleanup" container for the table of listeners and the table of queued signals. This should prevent a few random errors.
2009-11-24 02:00:45 +00:00
TomyLobo
7cf8dfb053
[E2] init.lua: Chips are now set into error state in OnRemove. This should prevent a few errors happening when undoing dupes.
...
[WireLib] WireShared.lua: Removed a debug trace.
2009-11-23 23:49:04 +00:00
TomyLobo
f5c9c53de1
[Constant Value] Pasting an (adv)dupe with non-numeric constant values no longer breaks the ghosted dupe.
2009-11-23 22:40:46 +00:00
TomyLobo
7dfad0eb1d
[E2] init.lua: With wire_expression2_debug 1, E2 function names should now be readable.
2009-11-23 22:04:15 +00:00
TomyLobo
54b16a0f2d
2009-11-23 21:48:33 +00:00
TomyLobo
42396313d6
[E2] glon.lua: Added S=glonError(), which returns the last error caused by glonEncode, glonDecode or glonDecodeTable.
...
[E2] table.lua: Fixed a bug where T[S,number/string]=N/S would return nil if passed 0/""
[E2] e2lib.lua: wire_expresion2_debug 1 mode no longer freaks out with op[].
[WireLib] WireShared.lua:
- New container construction system: WireLib.containers.whatever:new(...) (thanks jA_cOp for the idea)
- Added an "autocleanup" container that automatically managesa tree of lua tables up to a specified depth.
[Digital Screen] init.lua: Used new container construction system.
2009-11-23 21:40:12 +00:00
Anticept
1843ec9023
Updated Version check for Garrysmod.
...
Updated UpdateCheck.lua Manual Revision
Removed some commented code from radios (Black_Phoenix said so)
Commented out the Administration section of the Wire tab, as the crap that was in there didn't work anyways, or is in desperate need of attention.
2009-11-23 09:44:48 +00:00
TomyLobo
e7219c3147
[Wirelink] Adding a wirelink to an entity no longer messes up the order of the outputs of a component.
2009-11-22 18:28:26 +00:00
Håvard Pettersson
4cf302b530
Oscilloscope: added inputs for color, line length, update frequency and freezing the display.
2009-11-22 16:59:28 +00:00
Håvard Pettersson
ddea2b4163
[Oscilloscope] You can now set line color and length using the clientside convars "wire_oscilloscope_color r,g,b" and "wire_oscilloscope_length 1-100".
...
[Oscilloscope] You can now pause/freeze the plotting using the pause input.
2009-11-22 14:11:37 +00:00
TomyLobo
198dbb50df
[E2] table.lua: Added T:keys(), T:values(), T:typeids() fixed.
2009-11-22 07:48:13 +00:00
TomyLobo
29d0d479a6
[E2] table.lua: Added T:keys(), T:values(), T:typeids(). Needs documentation :)
2009-11-22 07:45:10 +00:00
TomyLobo
9544644aa1
[Light] Added a "Glow Component", which is basically a gmod DynamicLight(). This thing can get quite bright and can be adjusted through additional inputs that appear if you enable it. Inspired by Paradukes' and SlyFo's gold-fish bomb :)
2009-11-22 06:55:59 +00:00
TomyLobo
5c3fb2569b
[WireLib] WireLib.lua+wire_wirelink.lua: You can now make typed in/outputs with Wire_Create/AdjustInputs/Outputs(ent, { "Name [TYPE]", ... })
2009-11-20 18:56:39 +00:00
TomyLobo
3f2b617532
[E2] bone.lua+entity.lua: E/B:applyOffsetTorque(V1,V2) now work with all kinds of V2, not just some. They will stay this way now, btw.
2009-11-20 15:17:17 +00:00
TomyLobo
10800f4e9e
[E2] wirelink.lua: You can now pass RGB vectors (range 0..255 per component) instead of numbers to the console screen writeString functions.
...
[E2] color.lua: Optimized rgb2digi and prevented it from leaking a global.
[E2] bone.lua+entity.lua: Added E/B:applyOffsetTorque(V1,V2), which apply torque at V2, according to V1. Both V1 and V2 are in local coordinates. (NOTE: These are preliminary and might change in the next few days.)
2009-11-19 15:39:33 +00:00
TomyLobo
254e624b7d
[E2] init.lua+STOOL: Delayed duped() until after the all entities are pasted, though not necessarily all wires and other non-entity things like that.
2009-11-19 01:14:33 +00:00
TomyLobo
86cdb79628
hologram.lua+Wire_Load.lua: Added forward-compatibility for resource.AddSingleFile, which should remove some error messages if it's present. (untested)
...
[Vehicle Controller] init.lua: Fixed the "Steering" input by applying the Steering value every tick instead of just every time it is triggered.
2009-11-19 00:43:33 +00:00
Håvard Pettersson
83b0f7375c
[E2] complex.lua: added asin, acos, atan, tan, tanh, cot, coth, sec, sech, csc and csch for complex numbers. Added C:toString, which works the same as toString(C)
...
[E2] number.lua: added sec(r), sech(r), csc(r), csch(r), cot(r) and coth(r)
[E2] array.lua: added push/pop/shift/unshift-Complex.
BIG thanks to Fizyk!
2009-11-18 19:30:27 +00:00
TomyLobo
c5fbcc01fd
[E2] Editor: Added some comments.
...
[E2] hologram.lua: Removed some comments.
2009-11-17 16:19:53 +00:00
TomyLobo
7b996c61b8
[Cam Controller] init.lua: If the cam controller was active prior to removing the old cam entity, the new cam entity becomes the new view entity.
2009-11-17 10:47:55 +00:00
TomyLobo
95f76bc53f
[Cam Controller] init.lua: If a (dynamic) camera is removed, it is now respawned with the same position and angle.
2009-11-17 10:35:34 +00:00
TomyLobo
92f33de5e7
[Cam Controller] Moved static camera creation code to ENT:Setup
2009-11-17 10:13:08 +00:00
TomyLobo
1c85f9475d
[Balloon Deployer] init.lua: Added a check that should prevent the ballon deployer from partially failing when it is removed at the same time as its balloon.
2009-11-16 14:09:49 +00:00
TomyLobo
228b6f99dc
[Forcer] You can now push THE WORLD! (Disclaimer: Since the world is much heavier than you, you dont push the world but it actually pushes you, albeit only in "reaction force" mode)
2009-11-15 21:51:59 +00:00
TomyLobo
7147c8762c
[CPU/GPU] Added file browsers to the cpanels. (By Venompapa)
2009-11-15 21:43:11 +00:00
TomyLobo
726c59408c
[E2] hologram.lua: Added holoRemainingSpawns. (by Hunter234564)
2009-11-13 21:47:24 +00:00
TomyLobo
23f1c0e4c3
[E2] player.lua: Added R=E:friends() and N=E:trusts(E). You trust another player if he's on your prop protection buddy list. You:friends() returns an array of the players you trust.
2009-11-13 21:37:32 +00:00
TomyLobo
c9c49cf7d0
[E2] extpp.lua: e2functions can now be defined inside conditionals.
2009-11-13 16:45:56 +00:00
TomyLobo
2fbc9422ff
[E2] signal.lua: Fixed the line 24 error for real now!
2009-11-13 14:37:11 +00:00
TomyLobo
49009fd3b0
[E2] signal.lua: Keying by entity index instead of context now. (This time without the line 24 error)
2009-11-13 14:27:17 +00:00
Asbjorn Espe
f891047982
[E2] Improved the way maxOfType("wire_holograms") is reading the hologram limit.
2009-11-13 14:08:44 +00:00
Asbjorn Espe
a4d057c5ec
[E2] Hologram limit can now be read through maxOfType("wire_holograms").
2009-11-13 13:53:21 +00:00
Asbjorn Espe
14922fa7f4
[E2] Reverted rev. 1880.
2009-11-12 15:35:36 +00:00
TomyLobo
544bc3b222
[E2] signal.lua: Keying by entity index instead of context now.
2009-11-12 10:00:58 +00:00
TomyLobo
263b73267e
[CPU/GPU] '\A' (in addition to plain 'A') now results in 65 being written instead of nothing
2009-11-09 22:44:36 +00:00
TomyLobo
fb5a210e99
[E2] console.lua+cl_console.lua: Added a wire_expression2_concmd_whitelist console variable. By default this variable is empty, which means that everything is valid. I also fixed that annoying "wire_expression2_concmd doesn't persist" bug.
2009-11-08 19:59:56 +00:00
TomyLobo
5175b581e4
[E2] Editor: Code is now also validated when closing the editor. This should improve the responsivity of the @model directive.
2009-11-07 03:33:26 +00:00
TomyLobo
bb2deed97e
[E2] Added an @model directive, that allows you to set the chip model. The selected model might take a while to get to the server though. @model overrides the model selected in the E2 tool's control panel, but reverts back to normal once you load a script without @model.
2009-11-07 00:44:53 +00:00
TomyLobo
8260893b51
[Text Screen] init.lua: Delayed sending properties to new players by 0.5s.
...
[Text Screen] cl_init.lua: Now keying the "properties" array with entity IDs instead of entities.
These changes should fix the problems with text screen not appearing to new players.
2009-11-05 22:44:44 +00:00
TomyLobo
656b60e91e
[Constant Value] wire_value.lua: You can now update constant value gates again.
2009-11-05 22:39:50 +00:00
TomyLobo
5f73ad2d6d
[Constant Value] init.lua+wire_value.lua: Fixed duping of non-number values.
...
[Constant Value] init.lua:
- Removed a debug message.
- Fixed some the hispeed interface causing Lua errors when trying to access the non-numeric entries.
2009-11-05 21:50:10 +00:00
TomyLobo
7740d3f163
[GPULib] WireMonitors.lua: Prevented stupidity.
2009-11-04 16:33:19 +00:00
TomyLobo
646471f956
[E2] console.lua: Added N=maxOfType(S) and N=playerDamage(), as documented months ago :)
2009-11-04 14:49:36 +00:00
TomyLobo
99848fe62a
[CD Ray] Committed another fix from WIREMOD-146.
2009-11-04 12:22:46 +00:00
TomyLobo
6364862d05
[E2] STOOL: Fixed download code.
2009-11-03 01:36:45 +00:00
TomyLobo
28f6e7e043
[E2] init.lua: Re-added "wire_expression2_protected 2" (read-only mode for non-owners)
2009-11-03 01:22:12 +00:00
TomyLobo
6037f491cc
[E2] init.lua: Added extra owner checks before sending code to clients.
2009-11-02 15:48:16 +00:00
TomyLobo
94e1b0965f
[CD Ray] Committed patch from WIREMOD-146, with some modifications.
...
[GPULib] Fixed leaking a global.
2009-11-02 13:28:29 +00:00