COMMANDOS: THEMSELVES
Green Beret code sample | Some Translations | Weapons Icons | Commandos Icons
Ok, fellas, let's take a closer look at commandos themselves. First of all I need to say that I don't completely understand what CARISMA means. Apparently CARISMA specifies some kind of degree or quantity. The following example is taken from Commandos: Mission Pack Demo. I won't translate all the commandos codes, I just give you one because they are pretty the same except that some codes work with all commandos, others will work only with specific commando.

I chose the most popular character(I hope)-Green Beret.

[Opening bracket
.CLASS BICHOALIADOClass name. All comds are BICHOALIADO
.TOKEN COMANDOToken name. In this case very important
.BANDO ALIADOAliance. Can be ALIADO-friendly, ALEMAN-hostile, NEUTRAL-object
.XYZ [ 144 3557 0 ]Starting coordinates. Use F9 to locate them
.ANGULO 135Starting angle.(0-359). 0 degrees when commando looks direct at you.(player)
.VOLCOLISION [ CILINDRO [ .R 10 .H 40 ] ]This has smth to do with graphics and hotspots
.LISTAS [ EJEC CHOC VISI SELE ]Major properties
.ACCIONES [Start of actions definitions
[ acMuerte [ .CARISMA 999 ] ]Ability to die. Remove this line and your commando is invincible
[ acUsaHab [ .CARISMA 300 ] ]Ability to pick up things
[ auAcuchillar [ .CARISMA 200 ] ]Ability to use knife
[ auUsar [ .CARISMA 200 .FLAGSUSAR FL_BALASFRANCOT ] ]Ability to pick objects. In this case only this character can pick up sniper bullets from a box
[ auCoger [ .CARISMA 200 .FLAGSRECOGER FL_BALASFRANCOT ] ]Goes together with one above
[ auUsarVehiculo [ .CARISMA 200 ] ]Ability to enter vihicles. Note: enter, not drive
[ auBeHome [ .CARISMA 200 ] ]Have no clue about this one
[ auDisparar [Start information about the weapons
.CARISMA 200That CARISMA thing
.ARMAS [ MIRILLA PISTOLA ESCOPETA MIRILLA PIEDRA ]Weapons list. See translations below
.PIEDRAS 50How many stones
.MUNMIRILLA 4How many sniper bullets
.MUNESCOPETA 100How many rifle shots
] ] 
[ auEscalar [ .CARISMA 200 .ESCALAMUROS SI ] ]Ability to climb ladders. ESCALAMUROS SI means this character can climb walls as well.
[ auGoto [ .CARISMA 200 ] ]This controls commandos response on your mouse clicks
[ acPisar [ .CARISMA 1 ] ]You tell me
[ AcDetenido [ .CARISMA 100 ] ]Due to this line this character will leave footprints on snow and sand
[ AuGarfio [ .CARISMA 200 ] ]Ability to carry dead bodies
[ auManejaSegnuelo [ .CARISMA 200] ]Ability to use aucustic decoy
.OBJETOS [ [ .TOKEN SEGNUELOUNO .ACTIVABLE SI ] ]"Virtual" objects character is currently carrying. In this case only decoy. Refers to elements-see below
] ] 
[ AuEsposas [ .CARISMA 200 ] ]This is new one. Haven't had time to figure it out.
[ AuControlAleman [ .CARISMA 200 ] ]Ability to use handcuffs
[ AuCogeTabacoDeMuerto [ .CARISMA 200 ] ]Ability to collect cigaretts from dead nazis
[ AuTabaco [ .CARISMA 200 ] ]Ability to use cigarettes(throw them)
] 
.MASA 100Unknown but maybe virtual weight
.SEHUNDE 1Unknown
.GRAPH [ .ANIM COMANDO .RENDERVOL [ CILINDRO [ .R 10 .H 40 ] ] ]Defines how the character'll be diplayed. Put graphic name behind anim and you got different skin.
.ORGANOS [ .MOTOR [ MotorAliado [ ] ] ]Something with alliance
.CONTENEDOR 1Unknown
.OCLU 0Unknown
.DETECTAEXPLOSION 0Whether object will automaticly explode if smth explodes near it.
.ELEMENTOS [ [ .CLASS MACRO .MACRO SEGNUELO .TOKEN SEGNUELOUNO ] ]Actual definitions of objects carried by this commando
.NOAGACHA 0Have no idea
]Closing bracket


You may now ask what means what. Well, here are some translations.
Token Names
COMANDOGreen Beret
CONDUCDriver
FRANCOTSniper
LANCHEROMarine
ESPIASpy
ARTIFICSapper
PILOTOPilot
Weapons
ARPONHarpoon
BALLESTACrossbow
ESCOPETANormal rifle
GRANADAGrenade
LANZALLAFlamethrower(doens't work)
METRALLETASubmachine gun
MIRILLASniper rifle
PIEDRAStones
PISTOLASingle gun


What you also should know is that you have make sure that proper icons are displayed when you start the game. That can be achieved with SUBINTERFACEALIADO property. Each commando has this property. Usually it's located at the end of a mission file. Here is the list of all tokens(icons) which can be displayed in commando's bag. Note: they must be inside .ITEMS [ ]. If you open mis file you'll understand what I am talking about.
.TOKEN IT_PISTOLAGun
.TOKEN IT_CUCHILLOKnife
.TOKEN IT_CEPOMantrap
.TOKEN IT_MANOHand
.TOKEN IT_SEGNUELODecoy
.TOKEN IT_ACTSENUELOOFF .DISPONIBLE NODecoy switch ONN
.TOKEN IT_ACTSENUELOON .DISPONIBLE NODecoy switch OFF
.TOKEN IT_MIRILLASniper Rifle
.TOKEN IT_ACTIVADORSapper's bomb remote control
.TOKEN IT_CARTUCHORemote bomb
.TOKEN IT_GRANADAGrenade
.TOKEN IT_BOTIQUINFirst Aid Kit
.TOKEN IT_METRALLETA .DISPONIBLE SISubmachine gun
.TOKEN IT_JERINGUILLALETALLethal Injection
.TOKEN IT_INSIGNIASpy's distraction "tool"
.TOKEN IT_UNIFORMEUniform(appears when spy's detected)
.TOKEN IT_BALSA .DISPONIBLE SIRaft
.TOKEN IT_TRAJEBUZOScuba gear
.TOKEN IT_ARPONHarpoon
.TOKEN IT_BOMBATIEMPOTime Bomb
.TOKEN IT_LANZALLALAMASFlamethrower
.TOKEN IT_PIEDRAStone
.TOKEN IT_ESCOPETARifle
.TOKEN IT_ESPOSASNo clue
.TOKEN IT_TABACO .DISPONIBLE NOPack of Cigarettes
.TOKEN IT_CONTROLALEMAN .DISPONIBLE NOCuffs
Last but not least you should know is how to control commandos icons which you see on top. Every mission should have this phrase .INFOCARAS [ ]. Definitions between the brackets are responsible for displaying commandos faces.
F.e [ CARA [ .TOKEN ESPIA ] ] shows spy's face on top of your screen. If you copy and then paste that line but with different commando name, you'll get that commando icon. See commandos tokennames
above. Note: displaying commando's icon doesn't mean he's actually present in the mission. You have declare him and all his properties before you can use him.
As you can understand these aren't all the codes but I do not intend to give 'em all away. Firstly that would take to much of my precious time, secondly you have to do something by yourself cos it's always easy to take it from smbd else.
Top Index

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