Skip to content
Valkyrien Warfare Drivers for OpenComputers

Quick rating

Community listing page, reviews may not be monitored by the author.

Valkyrien Warfare Drivers for OpenComputers

No reviews yet

Collect information about VW's ships from a OC computer

Mod Loaders
Minecraft

About

Description

Brief description

Adds a block, the ship_interface, that allows the user to collect data from a computer relevant to the ship that the interface is placed.

How to use

Place the ship_interface on  a VW's ship and make sure that it is connected to an OC's network.

To use it in LUA, use component.ship_interface.FUNCTION_HERE() and it will return a value.

If the ship_interface isn't on a ship, it will return a nil value.

Functions

getMass();      returns the mass of the ship
getPosition();         returns the x, y and z coordinates of the ship
getPitch();            returns the pitch of the ship
getYaw();              returns the yaw of the ship
getRoll();             returns the roll of the ship
getYawPitch();         returns the yaw and the pitch of the ship
getAngularVelocity(); return the angular velocity of the ship
getLinearVelocity(); return the linear velocity of the ship, in meters per second (m/s)

Bug Reports

If you encounter a bug or your game crashes and you think that this mod is the cause of it, post a bug report here explaining what you were doing before de bug/crash happened and the steps to reproduce this bug/crash.