Maybe outside the scope of this mod, but it could be interesting to randomize the stats of the bots available to hire in the single player campaign.
The stats are loaded (in multiplel places) via the XGame.XUtil::FindPlayerRecord function, which pulls the stats (by name) directly from the UPL files (see below) using a native function.
Stats that could be randomized include:
- Accuracy
- Aggressiveness
- StrafingAbility
- CombatStyle
- Tactics
- ReactionTime
- Jumpiness
- FavoriteWeapon
The UPL files that stats are loaded from are:
- xplayersL1.upl
- xplayersL2.upl
- xaplayersl3.upl (I believe this is added via the Editor's Choice Edition, which is included in patch v3369)
My guess is that it isn't really feasible to do this randomization in-game. It might just be easier to have an external tool that randomizes the UPL files themselves.
Maybe outside the scope of this mod, but it could be interesting to randomize the stats of the bots available to hire in the single player campaign.
The stats are loaded (in multiplel places) via the XGame.XUtil::FindPlayerRecord function, which pulls the stats (by name) directly from the UPL files (see below) using a native function.
Stats that could be randomized include:
The UPL files that stats are loaded from are:
My guess is that it isn't really feasible to do this randomization in-game. It might just be easier to have an external tool that randomizes the UPL files themselves.