Garry's Mod

Garry's Mod

97 ratings
Contraption Framework
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Build
File Size
Posted
Updated
29.266 KB
5 Feb, 2024 @ 4:46pm
11 Jan @ 9:17pm
16 Change Notes ( view )

Subscribe to download
Contraption Framework

Description
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
36 Comments
thecraftianman 29 Dec, 2024 @ 6:51pm 
What do you guys mean? I haven't had any problems with it myself
Victoria, Angel of the void 29 Dec, 2024 @ 1:58pm 
@aceofspades I have no idea, since ACF cries non-stop in the console about needing it. I find that mildly ironic.
aceofspades 27 Dec, 2024 @ 6:41am 
how does this almost never work with acf
House Head15 25 Dec, 2024 @ 8:39am 
I HAVE 1470 AND 5042
StrawWagen 21 Nov, 2024 @ 7:09pm 
Happened when calling Entity:deparent() with e2
StrawWagen 21 Nov, 2024 @ 7:09pm 
addons/cfw/lua/cfw/core/connectivity_sv.lua:16: bad argument #1 to 'pairs' (table expected, got nil)
Theirishlad 14 Oct, 2024 @ 9:18am 
ah
thecraftianman 13 Oct, 2024 @ 1:45pm 
Adds some functionality for doing stuff based on player builds but needs other mods to take advantage of it (like ACF)
Theirishlad 13 Oct, 2024 @ 7:54am 
What does this addon even do?
thecraftianman 3 Oct, 2024 @ 11:30am 
@[OWO] Kossi
This is a known issue; make sure that Wiremod is up to date and it should be fixed.