It's been found out how to do so, thanks to SOMYST from the Commandos Bootcamp discord:
In the level's .gsc file, you will find "ADD_ARMA" which is adding weapons to a character's inventory.
In the level's BBD Folder then Armas.bbd (You will have to decode this file) you will find the ids of all weapons in the level. (As well as possibly alter their stats/which slot they fit in?)
By changing the ids of weapons, you can replace the gear.
For instance in "gestapo.gsc" (Trapped if I remember)
(
"CADENA"
"+ + + EQUIPACION DEL ESPIA + + +"
)
)
(
"ADD_ARMA"
(
"PLAYER"
)
(
"ARMA_CLASSID"
41
)
)
"ARMA_CLASSID"
41 is giving the Spy his PPK, change that and you can give him a Mauser as SOMYST did:
It also seems you can ignore "limits" with this as I managed to give Green Beret the PPK in Cold Reception, replacing his shotgun and he had both the Colt and Walter PP in his inventory (when normally you can only have one pistol.) as well as Somyst giving Spy the Mauser which he normally can't pickup.
Edited by Samz, 23 October 2023 - 02:44 PM.