forked from d3st1nyh4x/d3-arcade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
293 lines (279 loc) · 9.37 KB
/
config.lua
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
Config = {}
-- Which translation you wish to use ?
Config.Locale = "nl"
-- Key settings
Config.keyToOpenTicketMenu = "E"
Config.keyToOpenComputer = "E"
-- Marker for buying ticket
Config.Arcade = {
{
NPC = {
position = vector3(-1083.19, -245.78, 36.75),
heading = 205.11,
model = "ig_claypain",
},
blip = {
position = vector3(-1082.12, -247.57, 36.8),
blipId = 521,
scale = 1.0,
color = 0,
name = "Arcade house",
shortRange = true,
enable = true,
},
},
-- GABZ ARCADE!!!!!
{
NPC = {
position = vector3(-1659.14, -1062.72, 11.17),
heading = 226.17,
model = "ig_claypain",
},
blip = {
position = vector3(-1659.14, -1062.72, 11.17),
blipId = 521,
scale = 1.0,
color = 0,
name = "Arcade house",
shortRange = true,
enable = true,
},
},
-- FREE ARCADE!!!!! https://forum.cfx.re/t/free-mlo-arcade-bar-interior/4808151
-- {
-- NPC = {
-- position = vector3(-1292.95, -301.69, 35.05),
-- heading = 284.18,
-- model = "g_m_y_strpunk_02",
-- },
-- blip = {
-- position = vector3(-1292.95, -301.69, 36.05),
-- blipId = 521,
-- scale = 1.0,
-- color = 0,
-- name = "Arcade house",
-- shortRange = true,
-- enable = true,
-- },
-- },
}
-- "single use" prices to be used on non gamehouse machines (e,g props in houses, etc, via qb-target. check readme.md)
Config.singleUsePrice = 500
-- arcade machine model hashes
Config.ArcadeModels = {
815879628,
1301167921,
-1502319666,
1876055757,
-1501557515,
568464183,
-395173800,
-88750881,
-538006270,
398786301,
-1991361770,
-199136770, --gabz map (lifevad
}
-- ticket price, and time in arcade.
Config.ticketPrice = {
[_U("bronz")] = {
price = 300,
time = 10, -- in minutes
},
[_U("silver")] = {
price = 600,
time = 20, -- in minutes
},
[_U("gold")] = {
price = 900,
time = 30, -- in minutes
},
}
-- is arcade payed ?
Config.enableGameHouse = true
-- do not change unless you know what you're doing
Config.GPUList = {
[1] = "ETX2080",
[2] = "ETX1050",
[3] = "ETX660",
}
-- do not change unless you know what you're doing
Config.CPUList = {
[1] = "U9_9900",
[2] = "U7_8700",
[3] = "U3_6300",
[4] = "BENTIUM",
}
Config.MyList = {
{
name = "name",
link = "bleh",
},
}
-- game list for retro machine
Config.RetroMachine = {
{
name = "Pacman",
link = "http://xogos.robinko.eu/PACMAN/",
},
{
name = "Tetris",
link = "http://xogos.robinko.eu/TETRIS/",
},
{
name = "Ping Pong",
link = "http://xogos.robinko.eu/PONG/",
},
{
name = "Flappy Parrot",
link = "http://xogos.robinko.eu/FlappyParrot/",
},
{
name = "DOOM",
link = string.format("nui://d3-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Doom.zip", "./DOOM.EXE"),
},
{
name = "Duke Nukem 3D",
link = string.format("nui://d3-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/duke3d.zip", "./DUKE3D.EXE"),
},
{
name = "Wolfenstein 3D",
link = string.format("nui://d3-arcade/html/msdos.html?url=%s¶ms=%s", "https://www.retrogames.cz/dos/zip/Wolfenstein3D.zip", "./WOLF3D.EXE"),
},
-- emulatorjs powers this second page, it takes in a rom url, a "core" type (eg nes, snes, etc) a game name, and an id for network play (yep! some cores support network play!)
-- for more info see :
-- https://github.com/ethanaobrien/emulatorjs/tree/main/docs
{
name = "Circus Charlie",
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s", "https://www.retrogames.cz/NES/Circus_Charlie.nes", "nes", "Circus_Charlie-nes", "4201"),
},
{
name = "Sonic The Hedgehog",
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s", "https://www.retrogames.cz/Genesis/SonictheHedgehog.zip", "segaMD", "SonictheHedgehog-segaMD", "4202"),
},
-- some cores require a bios, you may pass it in like this
{
name = "Pokemon Ruby",
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s&bios=%s", "https://static.emulatorgames.net/roms/gameboy-advance/Pokemon%20-%20Ruby%20Version%20(U)%20(V1.1).zip", "gba", "PokemonRuby-gba", "4203", "https://phoenixnap.dl.sourceforge.net/project/gameboid/gba_bios907607290.bin"),
},
-- you may need to encode characters such as "&" in urls, or the query parser might get confused.
{
name = "Kirby & The Amazing Mirror",
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s&bios=%s", "https://static.emulatorgames.net/roms/gameboy-advance/Kirby%20%26%20The%20Amazing%20Mirror%20(U).zip", "gba", "KirbyTheAmazingMirror-gba", "4204", "https://phoenixnap.dl.sourceforge.net/project/gameboid/gba_bios907607290.bin"),
},
{
name = "Contra III",
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s", "https://static.emulatorgames.net/roms/super-nintendo/Contra%20III%20-%20The%20Alien%20Wars%20(U)%20[!].zip", "snes", "Contraiii-snes", "4205"),
},
{
name = "Metal Slug X (BIG!)", -- BIG GAME! will take a while to download/boot up
link = string.format("nui://d3-arcade/html/ejs.html?url=%s¶ms=%s&name=%s&id=%s&bios=%s", "https://static.emulatorgames.net/roms/playstation/Metal%20Slug%20X%20(U)%20[SLUS-01212].7z", "psx", "MSLUGX-psx", "4206", "https://dl.hexrom.com/rom/psx-bios-SCPH1001-hexrom_com.zip"),
},
}
-- game list for gaming machine
Config.GamingMachine = {
{
name = "Slide a Lama",
link = "http://lama.robinko.eu/fullscreen.html",
},
{
name = "Uno",
link = "https://duowfriends.eu/",
},
{
name = "Ants",
link = "http://ants.robinko.eu/fullscreen.html",
},
{
name = "FlappyParrot",
link = "http://xogos.robinko.eu/FlappyParrot/",
},
{
name = "Zoopaloola",
link = "http://zoopaloola.robinko.eu/Embed/fullscreen.html"
}
}
-- game list for super computer
Config.SuperMachine = {}
for i = 1, #Config.RetroMachine do
table.insert(Config.SuperMachine, Config.RetroMachine[i])
end
for i = 1, #Config.GamingMachine do
table.insert(Config.SuperMachine, Config.GamingMachine[i])
end
-- computer list in world
Config.computerList = {
-- Gaming computers
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1063.7, -246.7, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1060.2, -244.85, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1055.7, -246.12, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1053.96, -241.8, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1056.14, -243.42, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1050.76, -240.9, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1050.03, -243.51, 44.5),
seatHash = 536071214,
},
{
-- if false player dont need a ticket to play on this computer.
isInGamingHouse = false,
computerType = Config.GamingMachine,
computerGPU = Config.GPUList[2],
computerCPU = Config.CPUList[2],
position = vector3(-1062.44, -248.98, 44.5),
seatHash = 536071214,
},
}