Jump to content


Photo

Cannon don't work in BtCoD

cannon red lights bel on btco

  • Please log in to reply
4 replies to this topic

#1 xelono

xelono
  • Members
  • 46 posts
  • Location:Santiago, Chile
  • Projects:Commandos: Sniper Elite (BCD mod)
  •  http://xelonostudios.wixsite.com/commandosmods

Posted 21 July 2016 - 09:20 PM

Hello everyone,
 
How to make the cannon gunner first mission in Africa (Commandos BEL) work (shoot) in Commandos BtCoD ??
 
Also how to operate the Red light (blinking) in BtCoD?
 
anyone know some code to make it work all this?
 
(This has to do with the subject of .INTENDENCIA?)

 



#2 dialog

dialog
  • Members
  • 117 posts
  • Location:Russia

Posted 25 July 2016 - 12:20 PM

I don't know way to create normal enemy cannoneers in BCD. Probably, problem is in functions AcCanon / acCanonero, unavailable in coman_mp.exe.
But possible replace cannon to tank turret.
 
    [ 
      .CLASS BICHO
      .TOKEN CANON1
      .BANDO NEUTRAL
      .BOXSELECCIONREL [ -20 -20 40 40 ]
      .XYZ [ 0 0 0 ]
      .ANGULO 135
      .VOLCOLISION [ 
        POLY
        [ 
          .H 25
          .VERT [ [ 60 15 ] [ -40 37 ] [ -40 -37 ] [ 60 -15 ] ]
        ]
      ]
      .LISTAS [ EJEC CHOC VISI SELE ]
      .GRAPH [ 
        .ANIM NOTOY
        .RENDERVOL [ 
          POLY
          [ 
            .H 25
            .VERT [ [ 80 15 ] [ -40 37 ] [ -40 -37 ] [ 80 -15 ] ]
          ]
        ]
      ]
      .ORGANOS [
        .MOTOR [ MotorTanque [ ] ]
        .VISTA [
          Vista02
          [
            .VOL [
              POLY
              [
                .H 20
                .VERT [ [ 63 -32 ] [ 130 -32 ] [ 130 32 ] [ 63 32 ] ]
              ]
            ]
          ]
        ]
      ]
      .CONTENEDOR 1
      .ACCIONES [ 
        [
          acExplotaVeh
          [
            .CARISMA 900 .RADIO 200 .DANO 180 .TIEMPO 200
            .IMPACTOS [ .DISPARO -1 .BOMBA 1 .PEPINAZOTANQUE 1 .EXPLOSIONMENOR 1 ]
            .SONFIS XPLO
          ]
        ]
        [
          Acpilotaje
          [
            .CARISMA 200
            .TIPOVEH TIERRA
            .DISPARA 1
            .CHIVABANDO 1
            .INFO [ [ .ENTRADA [ 0 0 0 ] .SALIDA [ 0 0 0 ] ] ]
          ]
        ]
        [
          acTorreta
          [
            .RECARGA 30
            .TORRETA [ .ANIM TPNZ3 .HOTSPOTSEQUENCES [ PNZ3 DISPAROVEHICULOS ] .POSICION [ 0 0 0 ] ]
            .CARISMA 100
            .BANDO ALEMAN
            .TIPODISPARO CANON
            .ALCANCEMINIMO 300
          ]
        ]
      ]
      .OCLU 1
      .MASA 3000
      .ELEMENTOS [
        [
          .CLASS BICHO
          .BANDO ALEMAN
          .ESCONDUCTOR 1
          .LISTAS EJEC
          .VOLCOLISION [ CILINDRO [ .R 5 .H 29 ] ]
          .ACCIONES [
            [ acMuerte [ .CARISMA 600 ] ]
            [ AcUsaHab [ .CARISMA 500 .HABILIDAD TIERRA ] ]
            [ acCTanque [ .CARISMA 400 .NOVERHASTA 0 ] ]
            [ AcVigilar [ .CARISMA 100 .ANGBARRIDO 155 ] ]
          ]
          .MASA 100
          .ORGANOS [
            .VISTA [
              Vista01
              [
                .ALT 150
                .MOD 500
                .ANG 70
                .CABEZA 0
                .PASO 90
              ]
            ]
          ]
          .TOKEN PILOTO1
          .SEHUNDE 0
        ]
      ]
    ] 


#3 xelono

xelono
  • Members
  • 46 posts
  • Location:Santiago, Chile
  • Projects:Commandos: Sniper Elite (BCD mod)
  •  http://xelonostudios.wixsite.com/commandosmods

Posted 25 July 2016 - 08:50 PM

Thank you very much Dialog.
(I made some small adjustments so you can see the gunner)
 
But I have encountered a problem when loading a saved game with this new code, the function of shooting makes the game out, but if I choose to restart mission, the game follows its normal course (even if the new code inserted into the .mis )
 
(Maybe it has something to do with INTENDENCIA)
 
I hope you understand.

Edited by xelono, 25 July 2016 - 08:51 PM.


#4 dialog

dialog
  • Members
  • 117 posts
  • Location:Russia

Posted 26 July 2016 - 03:32 PM

Try this code (for MAC file). Cannoneer can be shooted, but he looks bad. I don't know, how it can be corrected...
.VARIABLES [ EAngulo.180 TTokenArtillero ]
.CLASS BICHO
.BANDO NEUTRAL
.LISTAS [ EJEC CHOC SELE TIP ]
.ANGULO $ANGULO
.BOXSELECCIONREL [ -20 -20 40 40 ]
.TIP 2MOR
      .VOLCOLISION [ 
        POLY
        [ 
          .H 25
          .VERT [ [ 60 15 ] [ -40 37 ] [ -40 -37 ] [ 60 -15 ] ]
        ]
      ]
      .LISTAS [ EJEC CHOC VISI SELE ]
      .GRAPH [ 
        .ANIM NOTOY
        .RENDERVOL [ 
          POLY
          [ 
            .H 25
            .VERT [ [ 80 15 ] [ -40 37 ] [ -40 -37 ] [ 80 -15 ] ]
          ]
        ]
      ]
      .ORGANOS [
        .VISTA [
          Vista02
          [
            .VOL [
              POLY
              [
                .H 20
                .VERT [ [ 63 -32 ] [ 130 -32 ] [ 130 32 ] [ 63 32 ] ]
              ]
            ]
          ]
        ]
      ]
      .CONTENEDOR 1
      .ACCIONES [ 
        [ acvehdescubierto [ .CARISMA 200 ] ]
        [
          acExplotaVeh
          [
            .CARISMA 900 .RADIO 200 .DANO 180 .TIEMPO 200
            .IMPACTOS [ .DISPARO -1 .BOMBA 1 .PEPINAZOTANQUE 1 .EXPLOSIONMENOR 1 ]
            .SONFIS XPLO
          ]
        ]
        [ AcCanon  [ .CARISMA 100 .INVULNERABLE 0 ] ]
        [
          acTorreta
          [
            .RECARGA 30
            .TORRETA [ .ANIM TPNZ3 .HOTSPOTSEQUENCES [ PNZ3 DISPAROVEHICULOS ] .POSICION [ 0 0 0 ] ]
            .CARISMA 100
            .BANDO ALEMAN
            .TIPODISPARO CANON
            .ALCANCEMINIMO 0
          ]
        ]
      ]
      .OCLU 1
      .MASA 3000
      .ELEMENTOS [
        [
          .CLASS BICHO
          .BANDO ALEMAN
          .ESCONDUCTOR 1
          .LISTAS EJEC
          .VOLCOLISION [ CILINDRO [ .R 5 .H 29 ] ]
          .BOXSELECCIONREL [ -25 -30 50 50 ]
          .ACCIONES [
            [ acMuerte [ .CARISMA 600 ] ]
            [ AcUsaHab [ .CARISMA 500 .HABILIDAD TIERRA ] ]
            [ acCTanque [ .CARISMA 400 .NOVERHASTA 0 ] ]
            [ AcVigilar [ .CARISMA 100 .ANGBARRIDO 155 ] ]
          ]
          .MASA 100
          .GRAPH [ .ANIM CABO .RENDERVOL [ CILINDRO [ .R 5 .H 40 ] ] ]
          .ORGANOS [
            .VISTA [
              Vista01
              [
                .ALT 150
                .MOD 500
                .ANG 70
                .CABEZA 0
                .PASO 90
              ]
            ]
            .OIDO [ Oido01 [ ] ]
            .MOTOR [ MotorAndante [  ] ]
          ]
          .TOKEN $TokenArtillero
          .SEHUNDE 0
        ]
      ]

(Maybe it has something to do with INTENDENCIA)

I think not - in BEL cannons works without intendencia.

#5 Kaledbowk

Kaledbowk
  • New Members
  • 4 posts
  • Location:Turkey
  • Projects:Commandos: Return

Posted 16 September 2016 - 06:30 PM

Hi xelono,

 

I've been watching you for a long time. I wait your Commandos: Sniper Elite mod :) I like your new website.

 

Good luck!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users