First Person Controller
This mod adds new blocks to simulate the first-person experience. The main new block is the first-person controller. It is a small human that you can control in first person. While controlling, you can interact with special blocks to emulate keys/messages. Seat provides ability for any controller to use your machine also attaching controller to itself. The controller also sticks beautifully to moving objects at almost any speed. The controller has health. Multiplayer supported.
Controlling
- Start/stop controlling by pressing B (rebindable);
- Moving with WASD;
- Jumping with Left Alt (rebindable);
- Interacting with E (rebindable).
- Grab with F (rebindable).
- Crouching with Left Ctrl (rebindable).
Attaching Blocks
The blocks can be attached to the small backpack on the back. It is an attaching point.
Interacting
You can interact with interactable blocks. Aim and press E.
Sliders
- Health – how much health do you have;
- Min Impact Damage – minimum damage that can be applied on impact;
- Max Speed – maximum controller speed;
- Camera FOV – first-person field of view;
- Max Speed – maximum controller speed;
- Max Acceleration – max force that can be applied to be at target position. Higher values cause controller to be immovable for external forces.
- Jump Force – jump impulse force. Height depends on mass too;
- Look Sensitivity – mouse look sensitivity;
- Look Smoothing – mouse look smoothing. Lower values means more smooth look;
- Ground Stick Distance – distance required between controller and moving object to follow it;
- Push Force Scale – a way to limit controller’s ability to push things they standing at. Good for preventing pushing planes mid air.
- Interact Distance – distance required for interaction;
- Mass – controller body mass.
- To make controller more vehicle-friendly as a passenger reduce mass (to like 2) and acceleration (to like 30) (and jump force due mass reduction).
- To make attachements more stable increase the mass and acceleration.
- To make controller stick better to moving objects increase stick distance and set stick spread to 45.
Pitch Limits
These are the limits of how far the attaching point can follow the camera look.
Interactable blocks are the way for controller to interact with blocks on any machine. Each block have label to hint its purpose.
Button
The button has two modes: Hold (by default) and Toggle. When pressed, the button begins to emulate key/message.
Seat
The block to which the controller can be attached. When attached, the controller can control the machine through emulation of keys/messages from a predefined key set. The controller can control any machine using the seat. There is also an emulator for seat is occupation.
*New blocks will be added in future.*
Periscope & Periscope Reticle
The periscope block is used for mouse controlling turrets, planes etc. Block itself acts as a camera point. To create a turret:
1. Place Periscope;
2. Set "Periscope Id" and "Control Id" in the Periscope;
3. Place seat;
4. Set "Enter periscope" key in the seat;
5. Set "Periscope Id" same value as in Periscope;
6. Place pitch and yaw turret hinges;
7. In placed hinges set "Control Id" same value as in Periscope;
8. Flip hinges if needed;
9. Using Controller enter seat and press "Enter periscope" key.
To add reticle:
1. Place Periscope Reticle facing turret forward direction;
2. Set "Periscope Id" same value as in Periscope;
IMPORTANT: If you are experiencing "half the rotation bug" then set the "Relation Swap" on the problematic hinges. Base of the hinge (the block which is the hinge is connected to) is used as a base of your rotation. Enabling "Relation Swap" makes the base act as a part that needs to be rotated.
Place First Person Controller block, start simulation and press B. Place blocks at the backpack.
Github Repository [github.com]
Revisions:
Old revisions of this mod are available below. Click the link to download.