Commit Graph

3893 Commits

Author SHA1 Message Date
pingu7867
0bf5d82857
beam start/end width multipliers 2023-04-21 13:02:40 -04:00
pingu7867
19c551ac24
command part nicename for the editor 2023-04-10 20:12:48 -04:00
pingu7867
ffd2ac1b52
text part features
Some number data sources, including a DynamicTextValue parameter usable by proxies
Combined text concatenates the text, e.g. "Health is 100"
Text alignment
Console message when trying to load a missing font, indicating it reverts to DermaDefault
2023-04-10 18:37:47 -04:00
CapsAdmin
1136fb8613 Merge branch 'master' into develop 2023-04-10 23:52:52 +02:00
Elias Hogstvedt
e00e16c304
Update test_suite_backdoor.lua 2023-04-10 23:51:52 +02:00
pingu7867
dc5ee9a09c
a fix for singleplayer mute footsteps (#1283)
* Update footsteps_fix.lua

* Update entity.lua

* Update player_config.lua
2023-04-10 23:24:42 +02:00
pingu7867
e9d3ec9174
options for particles
Fire once option to stop repeating

Zero angle option to re-align particles to have 0,0,0 angles by default (as it was before) to have the option to fix some bad side-effects of double sided particles or to not use the new thing when particles have some kind of rotation relative to the part when emitted (not a problem for radial/glow sprites, but a problem for numbers, icons and other types of sprites which should be seen upright)

randomizing texture paths with semicolons ;
2023-04-10 17:22:40 -04:00
Redox
42f028fee6
Prevent excessive pac size abuse 2023-04-10 16:25:39 +02:00
Redox
63cdfedf8a
Add simple logging print 2023-04-10 04:08:29 +02:00
Yagira
5eccbff849 sort vmt directories
should fix some vmt related issues
2023-02-20 18:04:23 +01:00
Yagira
6565bcba63 add support for 'patch' materials in mdlzips
should also fix #975
2023-02-05 00:50:36 +01:00
pingu7867
e0e684f4ea
fixing a small bug with autoload and button events (#1276)
Bug: Button events didn't work properly in autoload pacs, before opening the pac editor (using a pac without opening the editor is indeed autoload's main purpose, or one of them at least)
Explanation: Because of this single boolean, the statement at line 1189 of the event part's code resolves to true regardless of whether it's actually true, and the statement skips the necessary lines that update the active buttons. Uninverted button events "worked" because they show stuff when the button is not pressed, so indeed, if no button is recognized then that event will detect the absence and not hide the stuff.

if ply == pac.LocalPlayer and (pace and pace.IsFocused() or gui.IsConsoleVisible()) then return end

Before we open it, the editor is not focused, so it can't be initialized to true. It should be false.
2023-01-23 10:01:24 +01:00
Jacob Brandt
61932e96e8
Added bearing to event and proxy to help with 2d sprites (#1273)
* Added bearing to event
* Added bearing to proxy
* Add bearing example
2023-01-08 11:10:12 +01:00
Yagira
6125b77229 maybe fix command events 2023-01-06 23:47:25 +01:00
Yagira
0ad279ee9e add default values to command events 2023-01-06 14:37:07 +01:00
Yagira
0a0fcf2193 add cvars to hide pac cameras and/or 'in-editor' information 2023-01-02 13:19:26 +01:00
Techbot121
f5560c3db8 fix pac ban erroring with no args 2022-12-28 22:33:27 +01:00
Yagira
d4d181646e fix inverted 'custom draw distance' 2022-12-22 17:50:21 +01:00
Yagira
27278ee90d fix invalid unique ids when cloning parts 2022-12-20 16:30:52 +01:00
Jacob Brandt
26f83c9046
Add autocomplete to pac_wear_parts (#1269) 2022-12-10 14:43:28 +01:00
Yagira
cb88ad2a5c sort halo properties 2022-12-03 15:57:50 +01:00
Yagira
2435feb71b add 'affect target children' to halos 2022-12-03 15:23:48 +01:00
Jacob Brandt
99f7331772
Fixed AnimStack not existing in get() (#1267) 2022-12-01 23:04:23 -05:00
Jacob Brandt
66ff8c8dca
Make animation parts use a stack (#1265)
* animation parts use a stack

* Moved a comment

* Nuke pac_animation_stack

* Update some animation stack logic

* Make sure invalid parts are removed from stack asap

* Removed redundant cleanup

* Various fixes

* Don't need to remove then insert if its already at the top

* Re-added removing invalid parts from stack

* Forgot a variable

* grb's AnimStack request

* Update animation.lua

* Update animation.lua

* Update animation.lua

* Update animation.lua

* Update animation.lua

* Update animation.lua

Co-authored-by: DBotThePony <dbotthepony@yandex.ru>
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2022-12-01 14:32:00 -05:00
Redox
4ac148dfcb
Use parens for string concat and split up to var 2022-11-24 19:53:07 +01:00
Redox
e0ccac83c2
Fix nil error 2022-11-24 19:45:16 +01:00
Redox
874f532e13
Improve onuse hint to be more descriptive 2022-11-24 19:33:46 +01:00
Redox
920f5a44eb
Fix convar name 2022-11-23 01:02:52 +01:00
Redox
9907f19be7
Include file 2022-11-21 20:57:25 +01:00
Techbot121
f2b3373cff fix error when other animations are playing 2022-11-21 19:15:04 +01:00
Redox
c6942bef7a
Fix hook not being removed on timeout 2022-11-21 13:57:47 +01:00
DBotThePony
89872eace5
Typo 2022-11-21 19:37:30 +07:00
DBotThePony
ae4dff28fe
Streamline changes to onuse 2022-11-21 19:37:03 +07:00
DBotThePony
b45af9cc9c
Merge remote-tracking branch 'origin/on-use-only-rework' into develop 2022-11-21 19:32:03 +07:00
Redox
a5bcfa8523
Remove left over include 2022-11-21 13:10:30 +01:00
Brandon Sturgeon
697597f9dc
Fix first call of RatelimitAlert (#1264)
* Fix first call of ratelimit alert
2022-11-21 13:09:22 +01:00
Redox
f2bdc17401
Move code to more appropriate files 2022-11-21 13:07:43 +01:00
Redox
af3b025c05
Update convar name 2022-11-20 03:29:55 +01:00
Redox
073d76737c
Add force onuse server option 2022-11-20 03:23:44 +01:00
Redox
2bb09cde8a
Centralize pac_onuse_only 2022-11-20 02:29:50 +01:00
Yagira
f05e8fea0c fix projectile collisions 2022-11-17 23:52:15 +01:00
Yagira
f95a8cf210 fix property proxy targets 2022-11-17 23:52:04 +01:00
CapsAdmin
e25c84bcd3 Merge branch 'develop' 2022-11-15 21:19:24 +01:00
Techbot121
0b915fbb72 reuse color functions
also fixes wrong hex color display text and missing shortcuts
2022-11-15 17:07:08 +01:00
Techbot121
ba366dda4c fix pace.panic not closing extra windows 2022-11-15 17:03:07 +01:00
Yagira
39c35868d8 fix cached downloads not being used 2022-11-15 15:14:33 +01:00
Redox
4a8309b233
Reduce globals (#1259)
* Remove scope and make function local

* Remove unused variable

* Localize global

* Localize variables

* Remove unused var

* Localize functions and vars

* Localize more vars and functions

* Localize and remove global

* Localize vars
2022-11-11 22:48:13 +01:00
Redox
374dfa8214
Add more localization and remove unused (#1258)
* Add more localization and remove unused
* Remove unessary locals and add more
2022-11-11 16:12:27 +01:00
Redox
1b5be005f7
Minor-improvements (#1254)
* Return early

* Return early and replace depricated functions

* Style

* Use leakybucket in pac_submit spam prevention

* Apply new ratelimit sys to `pac_to_contraption`

* Apply new ratelimit sys to `pac_submit`

* Newline

* Remove unused local

* Fix convar logic

* Move len check to own statement

* Move early return up

* Add ratelimit print to ratelimitplayer
2022-11-09 17:34:20 -05:00
Redox
de33853862
Merge pull request #1255 from wrefgtzweve/add-cmd-hook
Add hook `PACCanRunConsoleCommand`
2022-11-09 18:17:27 +01:00