|
| 02 Nov 2012 11:55 PM |
| can someone help me put a script that enables a person to not zoom out in game like for example the one in paintball or apocalypse rising pls help |
|
|
| Report Abuse |
|
|
|
| 02 Nov 2012 11:56 PM |
localscript:
repeat wait() until game.Players.LocalPlayer game.Players.LocalPlayer.CameraMode = "LockFirstPerson" |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 12:01 AM |
| thanks really appreciate it :)) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 12:01 AM |
| oh and were do i put it cause im not into scripting much still a beginner :) |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 03 Nov 2012 12:08 AM |
| I still wish we had the ability to set a specific radius that camera can zoom out to. It would make a whole lot of stuff a lot easier. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 12:11 AM |
| Put it in Workspace, I believe. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 12:13 AM |
| well if enable the zoom out it would make my game less fun and easy hope u understand :3 |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 03:10 AM |
First of all you must know that not all scripts are compatible and you shouldn't just copy paste scripts thinking they would work:
Put this in a localscript inside the starterpack:
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ |
|
|
| Report Abuse |
|
|
pashmi
|
  |
| Joined: 27 Jan 2010 |
| Total Posts: 7120 |
|
|
| 03 Nov 2012 03:13 AM |
| In a game by "theRaj" or something, He somehow made it so that a GUI blocks your screen if you zoom out too far in THIRD PERSON. I'm intrigued to see how he did that. |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 03:13 AM |
@pashmi; There are literally hundreds of them in free models.
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2012 05:30 AM |
@pashmi
Yeah, the game is called "TheCreed" and his name is TheRal. It's actually quite simple :
local Camera = Workspace.CurrentCamera while wait(.5) do local DistanceZoomedOut = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude if DistanceZoomedOut <= 25 then script.Parent.Visible = false ---the gui it's in becomes visible. elseif DistanceZoomedOut > 25 then script.Parent.Visible = true end end |
|
|
| Report Abuse |
|
|
vbloke2
|
  |
| Joined: 14 Jan 2011 |
| Total Posts: 24 |
|
| |
|
|
| 03 Nov 2012 07:29 AM |
| please please Can someone please help me by buying this shirt: http://www.roblox.com/DONATE-item?id=96616346 |
|
|
| Report Abuse |
|
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 03 Nov 2012 07:33 AM |
@adark
You can make it yourself? Manipulation of the camera's coordinateframe is the key to success! :) |
|
|
| Report Abuse |
|
|
adark
|
  |
| Joined: 13 Jan 2008 |
| Total Posts: 6412 |
|
|
| 03 Nov 2012 11:46 PM |
Rereading my post, I phrased that badly.
I didn't mean a radius to zoom out to, I meant a radius to be attached to that couldn't be zoomed out or in past and didn't create camera stutter when you tried. |
|
|
| Report Abuse |
|
|