Here's a short modding tutorial that shows you how to add a new enemy soldier to a mission.
You can find all files mentioned below here: https://www.mediafir...xp/Cartel_Smash
Setup (you only have to do this once):
Download, install and run Cartel Smash, then exit the game.
Download config.txt and move it to the Cartel Smash directory.
Go to this folder %LOCALAPPDATA%\CartelSmash , edit game.cfg and set unlocked = 12
Download and install Notepad++
Download userDefineLang.xml and move it to this folder %UserProfile%\AppData\Roaming\Notepad++
Download and install Cheat Engine
(Attention: The setup also wants to install Opera, uncheck it if you don't want this)
Download cartel.lua and move it to the Cheat Engine directory.
Open main.lua (it's in the Cheat Engine directory)
Add this line:
below the existing require line.
Save the file.
Add the new soldier:
Run Cartel Smash and start the mission which you would like to edit.
Alt+Tab out and run Cheat Engine.
Click on the flashing icon, then select Cartel Smash from the process list.
Go back to Cartel Smash.
Move the mouse cursor to the position you'd like to log, press CTRL + Q to log the coordinates (you can log as many positions as you like).
Go back to Cheat Engine, now the Lua Engine window should be open with the coordinates in it.
In the Cartel Smash folder, go to data\mis and open the correct .obj file with Notepad++
The 1st mission on easy is 01e_ntr.obj
The 6th mission on hard is 06h_ntr.obj
In Notepad++ click on Language (in the menu bar) and select Cartel Smash on the bottom of the list.
Press CTRL + F and find "ob1"
Select the code block from object to exec (including both words).
Duplicate the code block and change the name after object to something else (for example soldier_1)
Change pos(...) -> insert the coordinates you logged before.
Also change PatrolPoint(...) -> log more coordinates if necessary.
Remove the wait(...) angle(...) anm(...) code after PatrolPoint(...)
You can also delete PatrolPoints or add more.
You can also change the patrol_mode to pingpong or round.
Save the file and restart the mission.