V Framework is a modding framework that “breaks the wall” between Lua and the game’s executable. It loads as an Infinite Heaven module and exposes native Fox Engine features - UI, sound, soldiers, bosses and vehicles - to Lua scripts that the game never opened up to modding.
It ships with a handful of automatic fixes and a library of ready-made Lua APIs you can call from your own missions and mods, without touching a single memory address.
See the Nexus page for full installation instructions.
These work the moment V Framework is installed:
V Framework’s features are exposed as Lua functions, brand-new DoMessages, GameObject SendCommands, and exported constants. All of it is documented, with examples, in the V Framework Lua API reference.
-- Flag Mission 10070, true as an Emergency mission with a custom popup and a HUD banner
V_TppUiCommand.SetEmergencyMissionPopupLangId("hud_emergency_mission", "another_langId") -- hud_emergency_mission is a langId in .lng2 files
V_TppUiCommand.SetMissionEmergency(10070, true)
V_TppUiCommand.ShowMissionIcon("another_langId", "another_langId", 6.0)