emoose / MBINCompiler

Now maintained by monkeyman192: https://github.com/monkeyman192/MBINCompiler
Other
43 stars 69 forks source link

robot entities do not decompile/recompile correctly #91

Open monkeyman192 opened 7 years ago

monkeyman192 commented 7 years ago

I have been playing with MODELS/COMMON/ROBOTS/DRONE/ENTITIES/DRONE.ENTITY recently, and I realised that when I modified this file the drones did not drop loot any more. After a bitof investigating I realised that when mbincompiler decompiles the mbin, it doesn't bring along the droneloot information.

The same happens with the quad and walker entities.

GhengopelALPHA commented 7 years ago

I seem to be having a similar issue, not sure how similar tho. It has to do with the METADATA/GAMESTATE/DEFAULTSAVEDATA, where after decompiling the file all KnownTechs and KnownProducts entries are blank, thus erasing all tech knowledge at the start of the game.

RhesusTOR commented 7 years ago

There's missing fields in the MBINCompiler / MBINCompiler / Models / Structs / GcDestructableComponentData.cs file. At least one for the loot trigger on destruction, possibly more.