Service Closed
This service will be unavailable from March 1st 2014, please download anything you wish to keep before this date.
                        

 
Details 
Title: Output Event - set2DCamera
Summary: Platforming!
Authors: Electrk
Submitted By: MrBob00
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 
Version: v2 (View Changes)
Filesize: 2.32 kB
Filename: Event_2DCamera.zip
Last Modified: Sun Nov 17, 2013 4:51 am
Total Downloads: 898
File Rating:
Rating: 4.46 (7 ratings submitted)Rating: 4.46 (7 ratings submitted)Rating: 4.46 (7 ratings submitted)Rating: 4.46 (7 ratings submitted)Rating: 4.46 (7 ratings submitted) 7 Ratings
 

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


Comments 
Author Message

Comments: 194
Blockland ID: 12949
 Posted: Sun Dec 01, 2013 7:09 pm

Make your own playertype.

Profile

Comments: 12
Blockland ID: 21004
 Posted: Sun Dec 01, 2013 12:37 am

I love it! 5/5. One question though, how am I, as an admin, supoosed to set it for everyone on the server and keep it permanent(if you die, the camera won't reset) without using playertypes?

Profile

Comments: 75
Blockland ID: 15297
 Posted: Fri Nov 29, 2013 10:17 pm

you should make it so the player cannot look up and down. also complete 2D like in super mario would be great

Profile

Comments: 50
Blockland ID: 31430
 Posted: Sat Aug 10, 2013 9:18 pm

I have 2 suggestions
add top and bottem

Profile

Comments: 2
Blockland ID: 16336
 Posted: Tue Jul 23, 2013 3:10 am

Now I need two more things,
1. A playertype that is restricted to only one compass direction

2. A playertype that cannot look up or down

Other than that 10/10

Profile

Comments: 88
Blockland ID: 36637
 Posted: Thu Jul 18, 2013 5:51 am

Inb4sonic

Anyways /support

Profile

Comments: 95
Blockland ID: 29108
 Posted: Sat Jul 13, 2013 11:58 am

Platformers are possible with this.
AWESOME
9999999999999999999999/10

Profile

Comments: 204
Blockland ID: 30207
 Posted: Fri Jul 12, 2013 4:43 pm

@WarOfCake

You don't need pics. Its very simple.

Profile

Comments: 141
Blockland ID: 33750
 Posted: Fri Jul 12, 2013 1:47 pm

How bout some pics?

Profile YIM

Comments: 38
Blockland ID: 20233
 Posted: Fri Jul 12, 2013 1:03 pm

Already made, avik. the topdown playertype.

Profile

Comments: 258
Blockland ID: 34960
 Posted: Fri Jul 12, 2013 12:30 pm

2D movie anyone?

Profile

Comments: 162
Blockland ID: 20061
 Posted: Fri Jul 12, 2013 9:15 am

Great now just make one for arial view like Zelda! 10/10

Profile

Comments: 204
Blockland ID: 30207
 Posted: Fri Jul 12, 2013 9:03 am

Mario? Gunpoint 2D Stealth game...Anyone?

Profile

Comments: 18
Blockland ID: 21549
 Posted: Thu Jul 11, 2013 5:36 pm

I love you.

Profile
 
 
Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin and modified by RTB.