Garry's Mod
101 voti
Contraption Framework
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Build
Dimensioni del file
Pubblicato in data
Aggiornato in data
29.266 KB
5 feb 2024, ore 16:46
11 gen, ore 21:17
16 note di rilascio ( visualizza )

Sottoscrivi per scaricare
Contraption Framework

Descrizione
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 commenti
barrientosdavian12 2 feb, ore 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 dic 2024, ore 18:51 
What do you guys mean? I haven't had any problems with it myself
Victoria, Angel of the void 29 dic 2024, ore 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 dic 2024, ore 6:41 
how does this almost never work with acf
House Head15 25 dic 2024, ore 8:39 
I HAVE 1470 AND 5042
StrawWagen 21 nov 2024, ore 19:09 
Happened when calling Entity:deparent() with e2
StrawWagen 21 nov 2024, ore 19:09 
addons/cfw/lua/cfw/core/connectivity_sv.lua:16: bad argument #1 to 'pairs' (table expected, got nil)
Theirishlad 14 ott 2024, ore 9:18 
ah
thecraftianman 13 ott 2024, ore 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 ott 2024, ore 7:54 
What does this addon even do?