29.11.2018, 18:19
I did something similar to this some time ago.
I used a dynamic area (sphere), a dynamic object and SetDynamicObjectMaterialText.
Create the object and pass the area id to its "area" argument. That will show the object only when you're in the area (makes it a lot easier to efficiently implement the next part).
Then, using a timer, you can rotate the player object (not dynamic object) for each player who is in the area to face the direction of the player's camera.
This will rotate the object independantly for each player. Using the right font and object you can create an object that looks exactly like the SP texts.
And the result will be a 3D object text that rotates for every player independantly. Update rate is not as smooth as in SP but I think that's not a problem.
In a place like this however it wouldn't need rotating at all. I suspect it was just an object with material text and this font.
Alternatively just create a TextDraw and calculate the screen coords from the world coords. Actually that's what this looks more similar to. However since the Camera Data only updates each second this would look bad when moving the camera. So if it was smooth while looking around, it was probably an object (probably not even rotated).
I used a dynamic area (sphere), a dynamic object and SetDynamicObjectMaterialText.
Create the object and pass the area id to its "area" argument. That will show the object only when you're in the area (makes it a lot easier to efficiently implement the next part).
Then, using a timer, you can rotate the player object (not dynamic object) for each player who is in the area to face the direction of the player's camera.
This will rotate the object independantly for each player. Using the right font and object you can create an object that looks exactly like the SP texts.
And the result will be a 3D object text that rotates for every player independantly. Update rate is not as smooth as in SP but I think that's not a problem.
In a place like this however it wouldn't need rotating at all. I suspect it was just an object with material text and this font.
Alternatively just create a TextDraw and calculate the screen coords from the world coords. Actually that's what this looks more similar to. However since the Camera Data only updates each second this would look bad when moving the camera. So if it was smooth while looking around, it was probably an object (probably not even rotated).