» Welcome, Guest.
Please login or register.
February 27, 2010, 11:57pm

Forum Login
Login Name: Create a new account
Password:     Forgot password

Commandos HQ    Commandos Series    Modding & Mods  ›  Sensitive zones

Sensitive zones Print
1 Pages 1 Recommend Thread
MoiChain
November 4, 2009, 1:41pm Report to Moderator
Specialist
Posts: 75
Posts Per Day: 0.07
Time Online: 15 hours 36 minutes
Hello !

Does anyone know how to create or modify a sensitive zone on the map ? I'm working on TU02 (Commandos2)


is it by HexEditing the SEC file ? Is there an easier way ?

Thanks in advance ...
Logged Offline
E-mail Private Message
wyel2000
November 4, 2009, 5:03pm Report to Moderator
Master Sergeant
Posts: 321
Posts Per Day: 0.29
Reputation: 100.00%
Time Online: 3 days 3 hours 36 minutes
for example: TU01.MIS and HL.MIS

[
    .MUNDO
    [
        .INTENDENCIA
        [
            .DAR_ALARMA_AL_VER_ALIADO  1.0 #trigger alarm
            .ALARMAS
            [
                .LISTA_ALARMAS
                (
                    [
                        .NOMBRE ALARMA01 alarm lamp name
                        .TIEMPO 250.0 #alarm time
                    ]
                    [
                        .NOMBRE ALARMA02 alarm lamp name
                        .LUCES
                        (
                            LUZALARMA_01 #lamp name
                        )
                        .TIEMPO 750.0 #alarm time
                    ]
                )
            ]
            .REACTS
            (
                [
                    .ESC EXTERIOR
                    .ZONA POPA_BABOR
                    .EVENTO ALA1
                    .ALARMA ALARMA01
                ]
                [
                    .ESC HLD00 #home name
                    .ZONA PUENTE  #zone area. goto ".ZONAS"
                    .EVENTO IN01 #events name. goto patrol or other.
                    .ALARMA ALARMA02 ALARMA01 #alarm lamp name
                ]
            )
            .ZONAS
            (
                
                [
                    .NOMBRE ZONA_POSTE #zone name
                    .LISTA_MAPZON
                    (
                        
                        [
                            .ESC EXTERIOR #home name
                            .ZON ZONA_POSTE #zone area, goto ".ZONASFLOTANTES"
                        ]
                    )
                ]
            )
        ]
        .ZONASFLOTANTES
        (
            [
                .NOMBRE ZONA_POSTE #zone name
                .ESCENARIO EXTERIOR #home name
                .LISTA_POLYS #area
                (
                    (
                        (
                            -32.7 -346.6 0
                        )
                        (
                             5.5 -315.8 0
                        )
                        (
                            15.3 -357.5 0
                        )
                        (
                            -7.7 -364.6 0
                        )
                    )
                )
                .TODO_EL_ESCENARIO 0 #if ".TODO_EL_ESCENARIO 1.0" and not ".LISTA_POLYS". the is all home area.
            ]
        )
        .BICHOS
        (
            [
                .TOKEN LUZALARMA_01 #lamp name
                .POS
                [
                    .XYZ
                    (
                        -1069.0 -153.0 140.0
                    )
                    .ESC EXTERIOR
                ]
                .ANGULO 0
                .FLOTANDO  1.0
                .BANDO NEUTRAL
                .COMPORTAMIENTO
                (
                    ComporLuzAlarma
                    [
                    ]
                )
                .LISTAS
                (
                    
                )
            ]
        )
    ]
]
Logged Offline
E-mail Private Message Reply: 1 - 7
MoiChain
November 4, 2009, 5:04pm Report to Moderator
Specialist
Posts: 75
Posts Per Day: 0.07
Time Online: 15 hours 36 minutes
I found by myself !

I modify existing ZONASFLOTANTES with the        .LISTA_POLYS
                (
                    
                    (

                        (
                            387.4 -120.0 0
                        )
                        (
                            340.7 -211.8 0
                        )
                        (
                            314.5 -391.7 0
                        )
        

etc...

the polygon I draw "grabs" the sectors it touches and includes them in the ZONAFLOTANTE.

Good luck to you all ...
Logged Offline
E-mail Private Message Reply: 2 - 7
MoiChain
November 4, 2009, 5:05pm Report to Moderator
Specialist
Posts: 75
Posts Per Day: 0.07
Time Online: 15 hours 36 minutes
thanks !
We were here at the same time ...

Great !
XieXie !
Logged Offline
E-mail Private Message Reply: 3 - 7
wyel2000
November 4, 2009, 5:51pm Report to Moderator
Master Sergeant
Posts: 321
Posts Per Day: 0.29
Reputation: 100.00%
Time Online: 3 days 3 hours 36 minutes
xiexie??
you are chinese?
Logged Offline
E-mail Private Message Reply: 4 - 7
MoiChain
November 5, 2009, 10:14am Report to Moderator
Specialist
Posts: 75
Posts Per Day: 0.07
Time Online: 15 hours 36 minutes
No. And I don't understand any Chinese. But Google translates and I can find my way on Chinese sites....
Logged Offline
E-mail Private Message Reply: 5 - 7
wyel2000
November 5, 2009, 10:32am Report to Moderator
Master Sergeant
Posts: 321
Posts Per Day: 0.29
Reputation: 100.00%
Time Online: 3 days 3 hours 36 minutes
:):)

the xiexie=thanks on china
Logged Offline
E-mail Private Message Reply: 6 - 7
Incor
November 5, 2009, 1:39pm Report to Moderator
Specialist
Posts: 68
Gender: Male
Posts Per Day: 0.18
Time Online: 2 days 20 hours 27 minutes
Location: Ukraine
Age: 21
I thought that it is a laughter :):):):):):)!!!
Logged Offline
E-mail Private Message Reply: 7 - 7
1 Pages 1 Recommend Thread
Print

Commandos HQ    Commandos Series    Modding & Mods  ›  Sensitive zones



Powered by E-Blah Forum Software 10.3.6 © 2001-2008