Jump to content


Photo

[Commandos 2] Inventory Editing and Extracting Data Help


  • Please log in to reply
2 replies to this topic

#1 s_kz

s_kz
  • New Members
  • 2 posts

Posted 15 September 2024 - 09:46 AM

Hello, I wanted to know if there was a way to check or edit what items/weapons/inventory soldiers spawn in with at the start of a mission in Commandos 2, how to find that data and whether it's possible to change it (making soldiers carry different weapons or extra items such as cigs/medkits etc, or assigning them different uniforms, things like that). I also wanted to know if it's possible to check what items your own commandos start off with and if it's possible to edit those as well.



#2 herbert3000

herbert3000

    Guilty Until Proven Innocent

  • Division Admins
  • 610 posts
  • Location:Austria
  • Division:Commandos HQ
  • Job:Division Admin

Posted 20 September 2024 - 12:18 AM

Hi, all that stuff is defined in the MIS files.
My suggestion is that you start exploring TU01.MIS and make a few changes (always make a backup of the original file and only change a single thing before you save the file and reload the mission).
For example you could search for .ANIMACION ALEFUS.ANI and change it to .ANIMACION ALEMET.ANI
This changes the skin of a soldier from a rifleman to a submachinegunner.
The actual weapon is defined by the line .ARMA ALEMAN_FUSIL (or .ARMA ALEMAN_Z)

Also check out the Modding Tutorials Wiki:
https://web.archive....ki/object-codes



#3 s_kz

s_kz
  • New Members
  • 2 posts

Posted 25 September 2024 - 10:58 AM

Hi, all that stuff is defined in the MIS files.
My suggestion is that you start exploring TU01.MIS and make a few changes (always make a backup of the original file and only change a single thing before you save the file and reload the mission).
For example you could search for .ANIMACION ALEFUS.ANI and change it to .ANIMACION ALEMET.ANI
This changes the skin of a soldier from a rifleman to a submachinegunner.
The actual weapon is defined by the line .ARMA ALEMAN_FUSIL (or .ARMA ALEMAN_Z)

Also check out the Modding Tutorials Wiki:
https://web.archive....ki/object-codes

Thank you for your reply
I found the files and even started messing around with the debug version. Now one thing that I have noticed is that soldiers who are often unarmed such as mechanics or sailors etc are apparently marked to have a pistol within the .mis files (displayed as arma.aleman_pistola https://prnt.sc/Xzatnn0KWj5c).Their inventories (or bichos as I recall) do not have these guns, and the clothing that they use does not seem to pop up or appear editable anywhere, which leads me to believe if it's hard coded within the game somehow? If there's a way to access these things that I can't find right away in the mis files I'd love to know.

 

Another question I have: I play the steam version of commandos 2 and have not yet tinkered with DP. I launched the debug version of the game by replacing the legacy file as stated in some other thread, but my question is how can I play the game with the edited pck or mis (or any other) files if those files are a. encoded in the original file, and b. located within the unextracted pck file? Is it possible to just edit the debug version of commandos 2 to play on those edited files or do I require DP for that? thank you again


Edited by s_kz, 25 September 2024 - 11:28 AM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users