Infocard Loader

This commit is contained in:
Nekura
2025-06-06 15:26:47 +02:00
parent b072eee9f2
commit da0f14fd87
3 changed files with 26 additions and 13 deletions

Binary file not shown.

25
EXE/REM/Lua/Infocards.lua Normal file
View File

@@ -0,0 +1,25 @@
-- TEST Infocard
-- rem.AddInfoCard(9000, "Spam")
-- Test Infocard
rem.AddInfoCard(9000, [[<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TRA data="0x00000003" mask="-1" def="-4"/><JUST loc="left"/><TEXT>Fett und Kursiv</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><PARA/><JUST loc="left"/><TRA data="0x00000000" mask="-1" def="-1"/><TRA data="0x0202f502" mask="-1" def="29"/><JUST loc="left"/><TEXT>Kursiv und Rot</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><PARA/><JUST loc="left"/><JUST loc="center"/><TEXT>Zentriert</TEXT><PARA/><JUST loc="left"/><TRA data="0x0202f506" mask="-1" def="25"/><JUST loc="center"/><TEXT>Zentriert Kursiv Unterstrichen und farbe</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><PARA/><JUST loc="left"/><TRA data="0x0202f507" mask="-1" def="24"/><JUST loc="center"/><TEXT>Fett Zentriert Kursiv Unterstrichen und farbe</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><PARA/><JUST loc="left"/><TRA data="0x00000001" mask="-1" def="-2"/><JUST loc="right"/><TEXT>MIX</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><JUST loc="right"/><TEXT> BLOCK </TEXT><TRA data="0x00000002" mask="-1" def="-3"/><JUST loc="right"/><TEXT>TEST</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><JUST loc="right"/><TEXT> </TEXT><TRA data="0x00000004" mask="-1" def="-5"/><TRA data="0x00000000" mask="-1" def="-1"/><TRA data="0xffff0000" mask="-1" def="31"/><JUST loc="right"/><TEXT>123</TEXT><TRA data="0x00000000" mask="-1" def="-1"/><PARA/><JUST loc="left"/><POP/></RDL>]])
-- HotkeyMenu Infocard (Override)
rem.AddInfoCard(1904, "REMNANT")
-- RACE INFOCARDS
rem.AddInfoCard(9001, "1")
rem.AddInfoCard(9002, "2")
rem.AddInfoCard(9003, "3")
rem.AddInfoCard(9004, "4")
rem.AddInfoCard(9005, "5")
rem.AddInfoCard(9006, "START")
-- Mission Infocards
rem.AddInfoCard(458753, [[<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>Juni introduced Harrison to me in the Manhattan. </TEXT><PARA/><TEXT>We talked a lot of Liberty's inner politics and its common afairs. </TEXT><PARA/><TEXT>Harrison's the first choice by the President of Liberty to blot out the Nomad corruption.</TEXT><PARA/><TEXT>I should come later to get more informations about the current politic situation.</TEXT><PARA/><POP/></RDL>
]])
rem.AddInfoCard(458754, "Fly to Planet Manhattan")
rem.AddInfoCard(458755, "Story Arc - Tour of Duty")
rem.AddInfoCard(458756, [[<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>Once again, I met diplomat Harrison. He told me the nomad incident changed the initial situations of the colonies. </TEXT><PARA/><TEXT>Political and military permissions are in transition, but also new conflicts arise.</TEXT><PARA/><TEXT>Only the highest government authorities know more about the reasons for these structural changes.</TEXT><PARA/><TEXT>Liberty's government was considering a new taxation scheme aimed at the Junkers, that would impose</TEXT><PARA/><TEXT>tariffs on their scrap businesses in exchange for protection and infrastructure support.</TEXT><PARA/><TEXT>Many in the Junker community saw this as another attempt to restrict their hard fought independence.</TEXT><PARA/><TEXT>Harrison is asking me, if I can give him an escort to Rochester Base in sector D3 in the New York System.</TEXT><PARA/><TEXT>As a new diplomat he needs to arrange an agreement between Liberty and the Junkers.</TEXT><PARA/><POP/></RDL>
]])

View File

@@ -1,23 +1,11 @@
print("Lua started!")
-- Open the console after a delay
-- Example Timer after Delay
-- rem.StartTimer(2000, function()
-- rem.ShowNNMessage(9000)
-- print("Console open after 2 seconds.")
-- end)
-- Add Infocard
rem.AddInfoCard(9000, "TestSpam")
rem.AddInfoCard(1904, "REMNANT")
-- RACE INFOCARDS
rem.AddInfoCard(9001, "1")
rem.AddInfoCard(9002, "2")
rem.AddInfoCard(9003, "3")
rem.AddInfoCard(9004, "4")
rem.AddInfoCard(9005, "5")
rem.AddInfoCard(9006, "START")
rem.ConfigureWeaponFire({
{1, 70}, -- Weapon 1: 70ms Cooldown
{2, 100}, -- Weapon 2: 100ms Cooldown