-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtdm_config.lua
More file actions
59 lines (55 loc) · 1.89 KB
/
tdm_config.lua
File metadata and controls
59 lines (55 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
--[[
File: tdm_config.lua
Description:
This file contains configurations for the Team Deathmatch (TDM) game mode,
including properties for each team such as team ID, base position, player model and UI.
Configuration Format:
Each team configuration is represented as a table with the following properties:
- id: The ID of the team.
- basePosition: The base position of the team.
- playerModel: The player model associated with the team.
- playerHeading: The desired player heading on spawn.
]]
tdmConfig = {}
tdmConfig.teams = {
{
id = TeamType.TEAM_RED,
basePosition = vector3(2555.1860, -333.1058, 92.9928),
playerModel = 'a_m_y_beachvesp_01',
playerHeading = 90.0
},
{
id = TeamType.TEAM_BLUE,
basePosition = vector3(2574.9807, -342.9044, 92.9928),
playerModel = 's_m_m_armoured_02',
playerHeading = 90.0
},
{
id = TeamType.TEAM_SPECTATOR,
basePosition = vector3(2574.9807, -342.9044, 92.9928),
playerModel = 's_m_m_armoured_02',
playerHeading = 90.0
},
-- Add more team configurations as needed
}
tdmConfig.UI = {
btnCaptions = {
Spawn = "Spawn",
NextTeam = "Next Team",
PreviousTeam = "Previous Team"
},
teamTxtProperties = {
x = 1.0, -- Screen X coordinate
y = 0.9, -- Screen Y coordinate
width = 0.4, -- Width of the text
height = 0.070, -- Height of the text
scale = 1.0, -- Text scaling
text = "", -- Text content
color = { -- Color components
r = 255, -- Red color component
g = 255, -- Green color component
b = 255, -- Blue color component
a = 255 -- Alpha (transparency) value
}
}
}