Hi Leute ich habe eine Frage zu den CameraEditor hier: http://forum.sa-mp.com/showthread.php?t=329813 der ich habe jetzt in meinem Scriptfiles Ordner diese kordinaten!
1209.315063, -1750.574340, 14.368000, 1208.665161, -1749.815917, 14.318018, 5000, 0, 1
1021.603637, -1662.853393, 735.274963, 1023.791625, -1662.633911, 731.933593
Aber wie mach ich das das die jetzt das die Camera da hin geht muss ich das?? Danke im voraus!
CameraEditor Frage!
- xAuraHDx
- Geschlossen
- Erledigt
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
Steht noch im ein und dem selben Thread. Lies doch einfach die Beschreibung vom Include...
-
Steht noch im ein und dem selben Thread. Lies doch einfach die Beschreibung vom Include...
Finde nichts ich meinte ja wie ich das in Script mache muss ich das mache nmit SetCameraPos(playerid,etc); oder wie? oder bin ich blind -
Zitat
The Functions
Loading and Playing
LoadCameraMover(filename[])
Loads a camera and returns a handle ID.
<filename[]>The file to read (no auto directory or extension wrapping, I might add this though).
PlayCameraMover(playerid, cameraid)
Plays the camera data loaded into 'cameraid'.
<playerid> The playerid who's camera will move.
<cameraid> The camera handle ID, probably a variable with the value returned by LoadCameraMover.
JumpToNode(playerid, node)
Jumps a player to a specific node (Use wisely, Needs to be tested more!)
<playerid> Playerid to jump.
<node> Node to jump to, an invalid node will throw an error to the console.
MoveCameraToNextNode(playerid, bool:editing = false)
Moves the player to the next node, this is called internally each time the camera reaches a node. You can use this externally if you have paused the camera, or if you have returned '0' on 'OnCameraReachNode'. Do not use this while the camera is already moving! This will trigger a second timer to start which would just screw everything up!
<playerid> Playerid to jump.
<node> Node to jump to, an invalid node will throw an error to the console.
<editing> Used internally by the editor, if this is true then an internal callback is called instead of 'OnCameraReachNode'Editing
EditCameraMover(playerid, camera)
Enters <playerid> into the edit mode for <camera>.
<playerid> The player who is entering edit mode, most likely this will be just sued on an admin command.
<camera> Camera handle ID, acquired using the return value of 'LoadCameraMover()'.
ExitEditing(playerid)
Forces <playerid> to leave the editor. (WARNING: Does not auto save! Maybe I should add that...)
<playerid> Player to force out of the editor.Used Internally
FormatMainMenu(playerid)
Loads the project data, puts it in a menu and shows it to the player.CreateCameraMover(playerid, camname[])
Creates a new camera sequence with one node, this node uses the player's current camera data, you can delete it once you've made more nodes.SaveCameraMover(playerid, exportmode=0)
Saves the camera that <playerid> is editing to the file and backs up the data that was previously in the file.
<exportmode> is the Save Type, when 0 the data will save in the regular format, when 1 it will save as Script-Ready Interpolate functions.ToggleEditGUI(playerid, toggle)
Toggles the editor GUI on or off for <playerid>.UpdateGUI(playerid)
Update the GUI with current camera/node dataEditCurrentNode(playerid)
Edit the current node that the player is on, this will activate freecam mode so you can fly around and re-position a node.CommitCurrentNode(playerid)
Commit the changes of node position data done using the freecam.CancelCurrentNodeEdit(playerid)
Cancels freecam and put's <playerid> back into the main editor, repositions their camera and shows the GUI.EnterFreeCam(playerid)
Enter freecam mode for <playerid> on the current node.ExitFreeCam(playerid)
Exits freecam and repositions <playerid>'s camera back onto the last node they were on.EditNewNode(playerid)
Creates a new node for <playerid> and immediately puts them into freecam to define the new node position.DeleteCurrentNode(playerid)
Deletes <playerid>'s current node and shifts the data array accordingly, then moves <playerid> to the previous node.ShiftNodeArray(camera, startnode, direction=0)
Shift the node array, if direction is 0 it will create a new empty cell at <startnode> ready for new node data, if 1 it will delete data in the <startnode> cell and shift all following data up to fill in the cell.The Callbacks
OnCameraLeaveNode(playerid, camera, node)
This is called when <playerid>'s <camera> leaves <node> and moves to the next node (<node>+1)
<playerid> The player who is using the camera.
<camera> The camera ID that <playerid> is using.
<node> The node that the camera just left.OnCameraReachNode(playerid, camera, node)
This is called when <playerid>'s <camera> reaches <node> This will be called <moveTime> after OnCameraLeaveNode for the same <camera>.
<playerid> The player who is using the camera.
<camera> The camera ID that <playerid> is using.
<node> The node that the camera reached.Return Values:
If you return 0 on this, the camera will not advance to the next node until told to do so externally.
Einfach mal richtig gucken. -
Einfach mal richtig gucken.
Sorry das ich mich grade so dumm stelle aber ich finde e cht nichts vielleicht ist es echt Zeit gleich mal zu schlaffen kannst dumir nicht fixx sagen wie ich das mache .Wer echt nett DANKE! -
breadfish.de
Hat das Thema geschlossen.