Garry's Mod

Garry's Mod

101 arvostelua
Contraption Framework
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
Tiedostokoko
Julkaistu
Päivitetty
29.266 KB
5.2.2024 klo 16.46
11.1. klo 21.17
16 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Contraption Framework

Kuvaus
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 kommenttia
barrientosdavian12 2.2. klo 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.12.2024 klo 18.51 
What do you guys mean? I haven't had any problems with it myself
Victoria, Angel of the void 29.12.2024 klo 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.12.2024 klo 6.41 
how does this almost never work with acf
House Head15 25.12.2024 klo 8.39 
I HAVE 1470 AND 5042
StrawWagen 21.11.2024 klo 19.09 
Happened when calling Entity:deparent() with e2
StrawWagen 21.11.2024 klo 19.09 
addons/cfw/lua/cfw/core/connectivity_sv.lua:16: bad argument #1 to 'pairs' (table expected, got nil)
Theirishlad 14.10.2024 klo 9.18 
ah
thecraftianman 13.10.2024 klo 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.10.2024 klo 7.54 
What does this addon even do?