COMMANDOS: PATROLS
 
Patrols in Commandos are very tricky. They are not macros as somebody may think, they somehow defined internally. All patroles are declared inside .PATRULLAS [ ]. I would devide patrols in two groups: normal and react_patrols. Narmal are those who beging on specified coordinates and continue until smth happens (f.e. alarm); react_patrol start in the barrack and appear only if smth happens: like other patrol has been killed or alarm has been triggered. If you are planning to add new patrols to a mission, you need to copy some existing patrol code, paste it inside .PATRULLAS [], replace it token name and give appropriate coordinates and that's it. Ok, now the translations.

[Opening bracket
.TOKEN PATROL_NAME [Patrol Token Name(you assign any name)
.NSOLDIERS 3[Number of soldiers(as far as know 48 is the maximum)
.RUTADEF [ [ Here start route definition
.NOMBRE SALIDAKind of route(I know very little about this)
.TIPORUTA LOOPSort of patrolling.(Can be LOOP, PINGPONG)
.RUTA [ Route itself
[ .XYZ [ 1370 3451 0 ] ]Starting Coordinates
[ .XYZ [ 1447 3535 0 ] ]2nd Coordinates
[ .XYZ [ 1580 3536 0 ] ]3rd Coordinates
[ .XYZ [ 1630 3205 0 ] ]4th Coordinates
[ .XYZ [ 1502 3138 0 ] ]5th Coordinates and then back to start
]Close route
.VEL [ ]Speed. In this case: standard speed. You can also give a number.
] ]Close route definitions
.ANIMCABO CABOGraphic of leading officer. Can be (CABO,CABODES,ALEGABAR,ALGADES)
.ANIMSOLDADO CABODESGraphics of the rest of the soldiers. Usually ALEGABAR
.DISPARARCABO PISTOLAWeapon of leading officer.
.DISPARARSOLDADO PISTOLAWeapons of the rest of the soldiers
.REGENERATEPATROL 1No clue
.SIGUEHUELLAS 0No clue
.JAIL PRISON_TOKEN_NAMENot sure, but I guess this line makes patrol arrest commandos instead of shooting.
.REGENERATE 0No clues
.NONSTOP 1Whether patrol reacts on alarm
.STARTATHOME 0Whether patrol starts its route from their barrack
.ANIMPAL -1This probably has smth to do with rendering
.VIGILARDEF [ .ANGBARRIDO 50 .DEMORA 50 ]Sight range. ANGULOBARIDO is a vision angle.
.XYZ [ 1502 3138 0 ]Very starting coords. Usually not far from route starting coords.
.NCOLUMNS 2Number of columns.
.HOME BARRACK_TOKEN_NAMEName of the barrack from which patrol starts its route
]Closing bracket.


I hope this will give you some starting knowledge about patrols. The rest you might wanna discover on your own.
Top Index

Made by Roman G
email: rgstar@hotmail.com
web: http://members.tripod.com/~cyberrg