midspace / Space-Engineers-Admin-script-mod

Modding script for Space Engineers with dozens of Admin commands for creating game scenarios or supporting servers.
44 stars 13 forks source link

/id to give cube detail #72

Open midspace opened 9 years ago

midspace commented 9 years ago

Enhance the /id command to also give detail on a single cube that is indicated in the cross hairs. This should pertain to Owner and level of damage.

This will help in identifying who has hacked a cube if a troll has been busy on a server.

midspace commented 9 years ago

More details need to be added by calling GetObject() on the cube and interrogating the objectbuilder base.

Or look at each IMySlimBlock, and the properties.

I'm not entirely sure what each property represents. AccumulatedDamage BuildIntegrity BuildLevelRatio CurrentDamage DamageRatio HasDeformation IsDestroyed IsFullIntegrity MaxDeformation MaxIntegrity

This is partly related #79 but the repair command intend to remove or reset these properties in some way.