Lockgroups full operational
Define a lockgroup for a node(or several) and the same for a hook, then this hook will only lock to this nodes and nothing else.
Demonstration video: The attachment will always position exactly as it should on the truck.. truck code for..
Attachment:
Code:
nodes
...
5, -0.35, 0.425, 0.000, cl 50, lockgroup 1
6, 0.35, 0.125, -0.429, cl 50, lockgroup 3
7, 0.35, 0.125, 0.429, cl 50, lockgroup 2
...
Truck:
Code:
hooks
144, hookrange: 2.15, speedcoef: 1.0, auto-lock, timer: 5.0, lockgroup: 1
145, hookrange: 2.15, speedcoef: 1.0, auto-lock, timer: 5.0, lockgroup: 2
146, hookrange: 2.15, speedcoef: 1.0, auto-lock, timer: 5.0, lockgroup: 3
Node 145 will only grab node 7 at the attachment and nothing else. Same applies for the other groups. 
Edit: I really need to add a ropestyle option for the hooks next...
Edit#2: All hoohnode patches are now moved into a seperate section:
see -> http://www.rigsofrods.com/wiki/pages...ion_File#Hooks