Print Topic - Archive
Commandos HQ / Modding & Mods / Sensitive zones
Posted by: MoiChain, November 4, 2009, 1:41pm
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 ...
Posted by: wyel2000, November 4, 2009, 5:03pm; Reply: 1
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
(
)
]
)
]
]
Posted by: MoiChain, November 4, 2009, 5:04pm; Reply: 2
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 ...
Posted by: MoiChain, November 4, 2009, 5:05pm; Reply: 3
thanks !
We were here at the same time ...
Great !
XieXie !
Posted by: wyel2000, November 4, 2009, 5:51pm; Reply: 4
Posted by: MoiChain, November 5, 2009, 10:14am; Reply: 5
No. And I don't understand any Chinese. But Google translates and I can find my way on Chinese sites....
Posted by: wyel2000, November 5, 2009, 10:32am; Reply: 6
:):)
the xiexie=thanks on china
Posted by: Incor, November 5, 2009, 1:39pm; Reply: 7
I thought that it is a laughter :):):):):):)!!!
Print page generated: February 28, 2010, 12:18am