forked from adam10603/GTA5VehicleFlagTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (71 loc) · 2.54 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>GTA V Vehicle Flag Tool</title>
<link rel="shortcut icon" href="favicon.ico"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/javascript" src="js.js"></script>
</head>
<body>
<a href="https://github.com/adam10603/GTA5VehicleFlagTool">
<div id="github_link_container" class="hideWhenSmall">
<img src="github.png" id="github_logo">
GitHub page
</div>
</a>
<div id="instructions">
Paste a value (hex) from the handling files to decode it<br>and/or click the flag names to modify the value!
</div>
<table id="inputs_table">
<tr>
<td>
<select name="flagtype" id="flagtype" oninput="processFlagType()">
<option value="strModelFlags">strModelFlags</option>
<option value="strHandlingFlags">strHandlingFlags</option>
<option value="strDamageFlags">strDamageFlags</option>
<option value="strAdvancedFlags">strAdvancedFlags</option>
</select>
</td>
<td>
=
</td>
<td>
<input type="text" id="flagvalue" name="flagvalue" class="selectable" oninput="processFlagValue()">
</td>
</tr>
</table>
<table id="checkboxes_table">
</table>
<table id="flag_description_table">
<tr>
<td>
Lookup table:
</td>
<td>
<select name="flagtable" id="flagtable" oninput="processFlagTable()">
<option value="default">Default</option>
<option value="ikt">IKT</option>
</select>
<div class="tooltip hideWhenSmall">❓
<span class="tooltiptext">This selects the lookup table for flag names and descriptions. The default table is managed by us (Adam, Chilli, Nismo), while the other one is from IKT. The two tables have independent versioning. See the GitHub page for links to both tables.</span>
</div>
</td>
</tr>
<tr>
<td>
Selected flag:
</td>
<td id="selected_name">
</td>
</tr>
<tr>
<td>
Flag description:
</td>
<td id="selected_description">
</td>
</tr>
</table>
</body>
</html>