I just recently realized I totally screwed up the way I did Vehicles in most of my data files. According to the way their are properly implemented I should have added things like Weapons by going to the Gizmo button, putting in the "LoadOut" entity and then bootstrapping all of my weapons and such there, which works just fine except for one thing... weight. All of the Gizmo gear adds it's weight to the character. I've looked at the main examples from the initial data file and done a few things I've seen there, namely added to Tags a "thing.holder_top" tag, which made no difference, and following the Wiki example I even tried the trick for a "Bag of Holding" by adding a Gear script to the vehicle (taken from here):
That didn't do it either. I noticed in the examples, though, that none of them were bootstrapping any weapons that actually had a weight value set on them so I figured that was the workaround for those, but I wouldn't mind keeping the weight values if I can. Is there some other way I can modify my vehicles to not add the weight of their equipment to the character?
BTW, this does mean I've got a ton of work to do on some of the already release data files so expect another update on some of those soon.
Code:
~Our contents count for no weight at all!
field[gearNet].value = field[gearWeight].value
That didn't do it either. I noticed in the examples, though, that none of them were bootstrapping any weapons that actually had a weight value set on them so I figured that was the workaround for those, but I wouldn't mind keeping the weight values if I can. Is there some other way I can modify my vehicles to not add the weight of their equipment to the character?
BTW, this does mean I've got a ton of work to do on some of the already release data files so expect another update on some of those soon.