Space Engineers

Space Engineers

Industrial Overhaul - v1.7.5
dinklmen 11 月 22 日 上午 4:55
SAM
Issue with SAM not reading the Values of CargoContainers
< >
目前顯示第 1-1 則留言,共 1
dinklmen 11 月 22 日 上午 4:58 
This is what i get / SAMv2.TC1.14 Log -
I: Ƞ.MaxVolume.RawValue * ē / 100.0f = 0
I: Ƞ.CurrentVolume.RawValue = 0

According to the developer of SAM v2 TechCoder the issue is that mod is not working according to the established standards (and therefore not reporting back through the API....) This is what the script follows - you should make sure mod does this (talk to the dev of the mod - if they don't follow the rules {and, sadly, that is often the case..}, nothing I can do)
https://github.com/malware-dev/MDK-SE/wiki/Sandbox.ModAPI.Ingame.IMyCargoContainer
https://github.com/malware-dev/MDK-SE/wiki/VRage.Game.ModAPI.Ingame.IMyEntity.GetInventory
https://github.com/malware-dev/MDK-SE/wiki/VRage.Game.ModAPI.Ingame.IMyInventory
https://github.com/malware-dev/MDK-SE/wiki/VRage.Game.ModAPI.Ingame.IMyInventory.MaxVolume
https://github.com/malware-dev/MDK-SE/wiki/VRage.MyFixedPoint
https://github.com/malware-dev/MDK-SE/wiki/VRage.MyFixedPoint.RawValue
< >
目前顯示第 1-1 則留言,共 1
每頁顯示: 1530 50