qaisjp Posted February 13, 2011 Share Posted February 13, 2011 Hey I am currently scripting and modifying this resource and it work's as I intended it to work. I just have a few bug's and I have no idea how to fix it. Please can someone help me? It's a first person shooter camera that uses the command /fps to toggle. The only bugs are: 1) When I activate First Person Shooter Camera in an interior the camera matrix is not set. (Would setCameraInterior work?) 2) When I activate First Person Shooter Camera in a dimension the camera matrix is not set. (How to fix this? There is no setCameraDimension) 3) When I deactivate First Person Shooter Camera my camera goes back to normal but the camera matrix does not change in spite of doing setCameraTarget(getLocalPlayer()) (What is the default camera matrix?) I can PM the script to whoever want's to help me in fixing it Link to comment
Castillo Posted February 13, 2011 Share Posted February 13, 2011 to set the camera back on player should be like this: setCameraTarget(getLocalPlayer(),getLocalPlayer()) And others i don't really know, never happend to me. Edit: I have the same problem with dimensions o_o Link to comment
qaisjp Posted February 13, 2011 Author Share Posted February 13, 2011 to set the camera back on player should be like this: setCameraTarget(getLocalPlayer(),getLocalPlayer()) And others i don't really know, never happend to me. Edit: I have the same problem with dimensions o_o It's client side. I'm 100% sure the you have to use setCameraInterior (that bug is fixed now) however we need a setCameraDimension.... Link to comment
Aibo Posted February 13, 2011 Share Posted February 13, 2011 well camera should follow local player's dimension. you can try setElementDimension(getLocalPlayer(), dimensionID) Link to comment
qaisjp Posted February 14, 2011 Author Share Posted February 14, 2011 well camera should follow local player's dimension. you can try setElementDimension(getLocalPlayer(), dimensionID) This won't work, as our server handles with Stunt, Freeroam, Race, Worlds and RP (well soon ) and it is really important to have a FPS view in our roleplay gamemode... We handle our dimensions like this: 0 - Freeroam 1 - The dimension to choose your gamemode/default spawn 3 - Stunt 6 - Race (soon) 50 to 99 - Worlds (We havent use all of them ) The massive numbered dimensions == Houses for our house system etc.. I really need the FPS feature to work in dimensions and the setElementDimension( getLocalPlayer(), dimID) won't fix it Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now