Details 
Title: Output Event - set2DCamera
Summary: Platforming!
Author: Electrk
Submitted By: HansonBot
Date Submitted: Tue Jul 09, 2013 9:59 pm
Description: This add-on adds a set2DCamera client event that makes a camera follow the player like in 2D platformers.

There are three parameters for this event:

Direction

North - Makes the camera face north
South - Makes the camera face south
East - Makes the camera face east
West - Makes the camera face west
None - Makes the player go back to the normal view

Pitch

Basically how high the camera is angled. Lowest is -360, highest is 360. Default is 5.

Distance

Basically how far away the camera stays from the player when not obstructed by an object.
The maximum distance is 25, the closest is 5. Default is 10.

[hr]

Playertypes

This add-on has support for 2D playertypes. It uses the following tagged fields:

is2DPlayer (boolean)
cameraDirection2D (0-3, which direction the camera faces)
cameraPitch2D (what pitch the camera has)
cameraDistance2D (how far away the camera is)

If cameraDirection2D is undefined, $Pref::Server::2DCameraPlayerDirection (changeable via RTB Prefs or manually), is used.
If cameraPitch2D is undefined, $Pref::Server::2DCameraPlayerPitch (changeable via RTB Prefs or manually), is used.
If cameraDistance2D is undefined, $Pref::Server::2DCameraPlayerDistance (changeable via RTB Prefs or manually), is used.

There are four default playertypes: one for each direction.

[hr]

There are also /set2DCamera direction pitch minDist and /resetCamera commands for admins.
These can be disabled with RTB Prefs or manually with $Pref::Server::2DCameraUseCommands
 

File Information 
Supported Games: Blockland v20, Blockland Rebuilt
Version: v2
Filesize: 2.32 kB
Filename: Event_2DCamera.zip
Total Downloads: 9
Ratings:
Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)Rating: 0 (0 ratings submitted)  0 Ratings
 

 
This file has been approved by our moderators.
This means it appears to be safe to use.
Download Output Event - set2DCamera
 


Service revived by the B4v21 Team.
Designed by Vjacheslav Trushkin and modified by RTB.