OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: jaw on February 17, 2025, 02:55:21 pm

Title: Is there a way to extract the rulefile the game uses after all mods are added in
Post by: jaw on February 17, 2025, 02:55:21 pm
Hi!

I assume OXCE compiles/combines the rules from base game and mods to single ruleset when the game starts and then refers to it. If this is so, is it possible to extract the ruleset somehow? My google-fu is failing me.

I'm trying to debug strange interactions from overrides of multiple overlapping mods and it'd be very helpful to see how the game interprets the rule files.
Title: Re: Is there a way to extract the rulefile the game uses after all mods are added in
Post by: Yankes on February 17, 2025, 03:18:44 pm
There are `Stats for Nerds` where you can see some final stats, aside for this and debugging code itself there is not way to check what final value is.


Overall after 8.0 I consider maybe add new tag `!debug` that could dump to log current value of given node.
Title: Re: Is there a way to extract the rulefile the game uses after all mods are added in
Post by: jaw on February 17, 2025, 03:51:59 pm
Thanks for the reply. !debug would be very useful for the edge cases. Stats for nerds helps a ton with items/armor but if it can be accessed for soldiers, transformations and other objects without a ufopaedia entry, I don't know how.