This commit is contained in:
Kilian Hofmann 2025-11-30 21:20:36 +01:00
parent 4225828d15
commit 970f8dfdd1
5 changed files with 886 additions and 874 deletions

View File

@ -2664,6 +2664,8 @@
<VIS_VAR>MD11_OVHD_PNEU_ECON_OFF_LT</VIS_VAR>
<NODE_ID>MD11_OVHD_PNEU_ECON_OFF_LT001</NODE_ID>
</UseTemplate>
<!-- NOTE: 110COM - Feels like this should be spring loaded to the center position -->
<!-- NOTE: 110COM - Probably hard to implement the two stage nature and a spring back -->
<UseTemplate Name="TFDi_Design_MD11_ELEV_FEEL_Knob">
<NODE_ID>MD11_OVHD_FLTCTL_ELEVFEEL_KB</NODE_ID>
<ANIM_NAME_PUSHPULL>MD11_OVHD_FLTCTL_ELEVFEEL_BT</ANIM_NAME_PUSHPULL>

View File

@ -64,8 +64,8 @@ paths.forEach((_path) => {
});
const fd = fs.openSync("tooltips.csv", "w");
fs.writeSync(fd, "File|Template Name|Node ID|Tooltip\n");
fs.writeSync(fd, "File|Template Name|Node ID|Tooltip|Comment\n");
objects.forEach((obj) => {
fs.writeSync(fd, `${obj.file}|${obj.templateName}|${obj.nodeID}|\n`);
fs.writeSync(fd, `${obj.file}|${obj.templateName}|${obj.nodeID}||\n`);
});
fs.closeSync(fd);

View File

@ -41,8 +41,14 @@ paths.forEach((_path) => {
if (tip) {
const _tip = lines[index]
.replaceAll("NODE_ID", "TOOLTIPID")
.replaceAll(_nodeID, tip)
.replaceAll(_nodeID, tip);
lines.splice(index, 0, `${_tip}`);
const comment = lines[index - 1].replaceAll(
/\S.*/g,
"<!-- NOTE: EXP - Tooltip -->"
);
lines.splice(index - 1, 0, comment);
index += 2; //Advance
}
templateName = undefined;
}

File diff suppressed because it is too large Load Diff

View File

@ -66,6 +66,7 @@
"evac",
"EVAC",
"EVTMKR",
"Exceedance",
"FADEC",
"FIRETEST",
"flaperon",
@ -123,6 +124,7 @@
"LLOFOFF",
"LMCDU",
"LODS",
"LSAS",
"LSIDE",
"LTRANS",
"LYDA",
@ -149,6 +151,7 @@
"OUTBD",
"OUTFLO",
"Overspeed",
"Overwing",
"ovhd",
"OVHD",
"OVHT",