Garry's Mod
Оценок: 101
Contraption Framework
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Контент сервера
Метки дополнений: Стройка
Размер файла
Добавлен
Изменён
29.266 KB
5 фев. 2024 г. в 16:46
11 янв в 21:17
Обновлений: 16 (просмотреть)

Подпишитесь, чтобы загрузить
Contraption Framework

Описание
Contraption Framework (CFW)


Monitors constraints to create "Contraption" objects and adds callbacks for changes made to contraptions for efficient contraption-aware functionality.

For example, in order to calculate the total mass of a contraption traditionally one would need to iterate over every entity on the contraption and store this information somewhere.

With Contraption Framework (CFW), a callback is run whenever an entity is added to or removed from a contraption and the total mass is added to or subtracted from the total stored in memory on the contraption object.



https://github.com/ACF-Team/CFW
Комментариев: 37
barrientosdavian12 2 фев в 0:16 
this is a thing i guess:
[Contraption Framework] entities/gmod_wire_expression2/core/custom/cfw.lua:29: attempt to call field 'newE2Table' (a nil value)
1. v - entities/gmod_wire_expression2/core/custom/cfw.lua:29
2. Run - lua/includes/modules/hook.lua:96
3. Init - lua/cfw/classes/contraption_sv.lua:35
4. createContraption - lua/cfw/classes/contraption_sv.lua:15
5. connect - lua/cfw/core/connectivity_sv.lua:57
6. SetParent - lua/cfw/core/parenting_sv.lua:68
7. unknown - lua/entities/ent_jack_gmod_ezsatchelcharge.lua:35
thecraftianman 29 дек. 2024 г. в 18:51 
What do you guys mean? I haven't had any problems with it myself
Victoria, Angel of the void 29 дек. 2024 г. в 13:58 
@aceofspades I have no idea, since ACF cries non-stop in the console about needing it. I find that mildly ironic.
aceofspades 27 дек. 2024 г. в 6:41 
how does this almost never work with acf
House Head15 25 дек. 2024 г. в 8:39 
I HAVE 1470 AND 5042
StrawWagen 21 ноя. 2024 г. в 19:09 
Happened when calling Entity:deparent() with e2
StrawWagen 21 ноя. 2024 г. в 19:09 
addons/cfw/lua/cfw/core/connectivity_sv.lua:16: bad argument #1 to 'pairs' (table expected, got nil)
Theirishlad 14 окт. 2024 г. в 9:18 
ah
thecraftianman 13 окт. 2024 г. в 13:45 
Adds some functionality for doing stuff based on player builds but needs other mods to take advantage of it (like ACF)
Theirishlad 13 окт. 2024 г. в 7:54 
What does this addon even do?