JakobTischler / MoreRealisticDLCs

A lua/xml project that adds MoreRealistic to the Farming Simulator DLCs
8 stars 0 forks source link

OverrideBaleLoader for dlcBaleLoader.lua #27

Closed JakobTischler closed 10 years ago

JakobTischler commented 10 years ago

I'm looking at the Ursus T-127 bale loader right now. Loading it with the vehicle type mr_dlcBaleLoader_u:

        <type name="mr_dlcBaleLoader_u" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="realisticVehicle" />

            <specialization name="attachable" />
            <specialization name="animatedVehicle" />
            <specialization name="cylindered" />
            <specialization name="fillable" />
            <specialization name="pdlc_ursusAddon.dlcBaleLoader" />

            <specialization name="realisticAutostacker" />
        </type>

As you can see, it's using a custom bale loader script, dlcBaleLoader. Thus, I'm pretty sure OverrideBaleLoader doesn't apply. How can we solve this? Include a custom spec that mimics OverrideBaleLoader's content?

quadural commented 10 years ago

no worry : the "overrideBaleLoader" has nothing to do with "MR". It is just present to fix some "bug" in the genuine "baleLoader" script.

the real question is : does "realisticAutostacker" work or do we need to add a new script to manage the "power consumption" of this equipment ?

JakobTischler commented 10 years ago

Alright, cool. realisticAutostacker works as it should. I've only tested the folding/unfolding of the bale grabber, but that works, so I assume the rest does as well.