User guide
User guide on how to use the Dynasty Text 3D
1. Using the Text 3D
DO NOT trigger this function on every tick; it is meant to be activated as a toggle.
You can use the text 3D as showed in the example bellow:
2. Default Text 3D
In case you use a notification and don't fill any of the parameters, it will be filled with the value stated in the Config.file. For example if the parameter keyBoxColor
is not used, it will be filled with the value 0,255,192,130
in this case.
3. Text 3D configuration
3.1 ID
In this case the ID you use to call this Text 3D is Default text 3D ID
3.2 Coords
In this case the coords the Text 3D will appear are vec3(0, 0, 0)
3.3 Distance
In this case the distance from where you can see the Text 3D is 1.5
3.4 Marker distance
In this case the distance from where you can see the marker is 3.0
3.5 Marker color
In this case the color of the marker is 0, 255, 192, 255
3.6 Marker enable
In this case the marker enable is true
3.7 Key
In this case the key that appears is E
3.8 Key box color
In this case the color of the key box is 0, 255, 192, 130
3.9 Key text color
In this case the color of the key text is 0, 255, 192, 130
3.10 Message
In this case the message of the Text 3D is Default Text 3D message
3.11 Message box color
In this case the message box color is 0, 255, 192, 130
3.11 Message text color
In this case the message text color is 0, 255, 192, 130
3.12 Text 3D enable
In this case the text 3D enable is true
4. Multiple Text 3D options
The example bellow shows how to use multiple options
1. Text 3D position
Let's take the example above. If you have 3 options in the same position, you can also position them up or down depending on your need with the parameter position
5. Add functionality to the Text 3D
5.1 Install Ox_Lib
5.2 Add ox_lib to the script
Go to fxmanifest.lua file inside your script and add the code below
5.2 Add ox_lib to the script
Add ox_lib pointer to your script as the example shown below
6. Remove Text 3D
We use the ID of the Text 3D to remove it like the example below
In this example the Text 3D with the ID DefaultText
is removed
Last updated