Garry's Mod

Garry's Mod

Universal Crafting System
正在显示第 1 - 10 项,共 43 项条目
< 1  2  3  4  5 >
更新于:8 月 13 日 上午 8:01
作者:OPGman

v2.1
- Added a tree as a default mineable entity type
- Changed the default rock models to ones from Counter-Strike: Source since they're included with Gmod now
- Improved the spawn message for the persistence system

更新于:5 月 25 日 下午 7:26
作者:OPGman

v2.0.3
- Fixed the adjusted spawn position from last patch only affecting automation and not normal crafting
- Fixed the probability math of mining drops not spawning anything if the chance wasn't high enough
- Fixed mineable entities still casting a shadow after being mined
- Fixed mineable entities not keeping their original color after respawning

更新于:5 月 25 日 下午 3:17
作者:OPGman

v2.0.2
- Fixed all recipe and ingredient categories showing up regardless of table type
- Crafted items will now spawn above the table rather than below

更新于:5 月 13 日 下午 4:38
作者:OPGman

v2.0.1
- The text that floats above crafting tables and mineable entities will now position itself based on the height of the model's hitbox instead of its origin.

更新于:5 月 9 日 下午 6:31
作者:OPGman

v2.0
WARNING:
This is nearly a complete rewrite of the addon. Configs from previous versions are NOT compatible. See the updated description for more info.

- You can now create a virtually infinite amount of crafting table types, each with their own set of recipes and ingredients. When created from the spawn menu, crafting tables will always have the default HL2 weapon type, but admins can change the type of a table by holding C and right clicking it.

- Crafting categories no longer need to be manually created, the addon will automatically create them based on the categories defined in recipe and ingredient tables. This also means that, for the sake of simplicity, individual categories can no longer be customized, but the color of all categories can still be changed.

- Rocks and trees have been removed in favor of a single generic mineable entity. This entity can be customized in the same way as the crafting table.

- Renamed all entities to help avoid name conflicts with other addons.

- Removed all ConVars and associated functions.

- Added a few new hooks and removed several unnecessary hooks.

- Updated existing hooks with a new naming scheme and better arguments.

- Crafting recipes and other configurations are now setup in a dedicated ucs_config.lua file rather than the crafting table's shared.lua file.

- Added 3D2D text above crafting tables and mineable entities that shows their name and health.

- Added persistence system that allows admins to save crafting tables and mineable entities on the map without having to worry about them spawning invisible or with the wrong type. These entities can be saved by holding C and right clicking them.

- Cleaned up and reorganized various parts of the code.

更新于:2024 年 5 月 30 日 下午 10:20
作者:OPGman

v1.20.3
- Started keeping track of version numbers
- Added message that prints to console when the addon is loaded

更新于:2022 年 12 月 23 日 下午 3:41

Fixed script errors when a non-player damaged a rock or tree

更新于:2022 年 9 月 11 日 下午 6:19

Cleaned up code and made rocks, trees, and ingredients admin-only in the spawn menu.

更新于:2022 年 1 月 9 日 下午 7:11

Merged recent GitHub commits and updated description.

更新于:2021 年 4 月 7 日 下午 11:48

Merged old config branch, fixed trees using the rock health and respawn configs, and added GetItemAmount convenience function.