Mercenaries 2 Modding Wiki
A community reference for modding Mercenaries 2: World in Flames (PC) β how to get your own code running in the live game, and what its Lua-scripted systems actually do.
This is a study/reference resource, not a redistribution of anything from the game β pages describe observed engine behavior (module structure, functions, events, lifecycle) rather than reproducing game files.
Where to start
- New here? Read Getting Started first β it covers
lua-bridge, currently the only way to inject and run your own Lua against the live game. - Just want a working cheat menu? Grab All-In-One Cheat Menu β one script, one hotkey, no reading required.
- Looking for a specific game object/system? Browse Resident Modules β one reference page per engine module (
crate,airplane,mrxbriefing, β¦), covering what it does, what it inherits from, its functions, and the events it listens for. - Working with an AI assistant? Paste it the AI Primer β a single compressed block that gets it oriented on this gameβs modding surface without reading the whole site.
A note on accuracy
The per-module reference pages are drafted by a local LLM analyzing engine behavior, then spot-checked. Theyβre a strong starting point, not gospel β if something looks off in practice, thatβs worth flagging so the page can be corrected.