| | Mostrar Daño en cada unidad • | |
| |
Autor | Mensaje |
---|
Capitán

Barra de Salud : 
Mensajes : 157
Reputación : 83 Monedas de oro : 1044 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Mostrar Daño en cada unidad • Mar Ago 13, 2013 1:00 am | |
| Recuerdo del primer mensaje :Mostrar Damageby ChatiSnake Bueno hoy les presento algo sencillo que muchos conocen, es la forma de mostrar daño a una unidad cuando la golpeas. ¿Como funciona?Bueno sencillo mi querido amigo, esto es un complemento de 3 detonadores esencialmente yo he creado 4 para tu gusto. El primer detonador nos agregara acontecimientos Recibe Daño de todos las unidades que estén en el mapa a un detonador X, que sera el detonador numero 3, luego tenemos un detonador que es el 2 que agrega unidades que han entrado al mapa y la agrega como acontecimiento al detonador 3, el detonador 3 es simple crea un texto flotante y tiene sus arreglos. El detonador 4 pone color para que el texto salga del color del usuario que esta siendo dañado. Detonadores[gui]Mostrar Damage Unit En Map Events Time - Elapsed game time is 0.00 seconds Conditions Actions Set TempGroup = (Units in (Entire map)) Unit Group - Pick every unit in TempGroup and do (Actions) Loop - Actions Trigger - Add to Mostrar Damage Textos the event (Unit - (Picked unit) Takes damage) Custom script: call DestroyGroup(udg_TempGroup) [/gui]
[gui]Mostrar Damage Entering Events Unit - A unit enters (Entire map) Conditions Actions Trigger - Add to Mostrar Damage Textos the event (Unit - (Entering unit) Takes damage) [/gui]
[gui]Mostrar Damage Textos Events Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions MD_DamageSource Equal to True Then - Actions Set MD_Unit = (Damage source) Else - Actions Set MD_Unit = (Triggering unit) If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions MD_MegaKillOn Equal to True Then - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Integer((Damage taken))) Greater than or equal to 1000 Then - Actions Floating Text - Create floating text that reads ((String(((Integer((Damage taken))) / 1000))) + (. + ((String((Integer((((Damage taken) - 1000.00) / 100.00))))) + K))) above (Triggering unit) with Z offset 1.00, using font size 10.00, color (playerColor_R[(Player number of (Owner of MD_Unit))]%, playerColor_G[(Player number of (Owner of MD_Unit))]%, playerColor_B[(Player number of (Owner of MD_Unit))]%), and 0.00% transparency Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90.00 degrees Else - Actions Floating Text - Create floating text that reads (String((Integer((Damage taken))))) above (Triggering unit) with Z offset 1.00, using font size 8.00, color (playerColor_R[(Player number of (Owner of MD_Unit))]%, playerColor_G[(Player number of (Owner of MD_Unit))]%, playerColor_B[(Player number of (Owner of MD_Unit))]%), and 0.00% transparency Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees Else - Actions Floating Text - Create floating text that reads (String((Integer((Damage taken))))) above (Triggering unit) with Z offset 1.00, using font size 8.00, color (playerColor_R[(Player number of (Owner of MD_Unit))]%, playerColor_G[(Player number of (Owner of MD_Unit))]%, playerColor_B[(Player number of (Owner of MD_Unit))]%), and 0.00% transparency Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees Floating Text - Change (Last created floating text): Disable permanence Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds Floating Text - Change the fading age of (Last created floating text) to 0.00 seconds If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions MD_MostrarEnemy Equal to True Then - Actions Floating Text - Hide (Last created floating text) for (All players) Floating Text - Show (Last created floating text) for (All allies of (Owner of (Damage source))) Else - Actions [/gui]
[gui]Mostrar Damage Set Up Events Map initialization Conditions Actions -------- Mostrar color de quien daño= TRUE, Quien es dañado = FALSE -------- Set MD_DamageSource = True -------- Mostrar valores reducidos=TRUE, Mostrar Valores Completos=FALSE -------- Set MD_MegaKillOn = True -------- Mostrar el daño a enemigos del que provoca daño=TRUE, Mostrar solo amigos del que provoca daño=FALSE -------- Set MD_MostrarEnemy = True -------- Colores -------- Set playerColor_R[1] = 100.00 Set playerColor_R[2] = 0.00 Set playerColor_R[3] = 11.00 Set playerColor_R[4] = 33.00 Set playerColor_R[5] = 100.00 Set playerColor_R[6] = 100.00 Set playerColor_R[7] = 12.50 Set playerColor_R[8] = 90.00 Set playerColor_R[9] = 59.00 Set playerColor_R[10] = 49.50 Set playerColor_R[11] = 6.00 Set playerColor_R[12] = 30.50 Set playerColor_R[12] = 30.50 Set playerColor_G[1] = 0.00 Set playerColor_G[2] = 25.00 Set playerColor_G[3] = 81.00 Set playerColor_G[4] = 0.00 Set playerColor_G[5] = 99.00 Set playerColor_G[6] = 54.00 Set playerColor_G[7] = 75.00 Set playerColor_G[8] = 35.50 Set playerColor_G[9] = 59.00 Set playerColor_G[10] = 75.00 Set playerColor_G[11] = 38.50 Set playerColor_G[12] = 16.50 Set playerColor_B[1] = 0.00 Set playerColor_B[2] = 100.00 Set playerColor_B[3] = 72.50 Set playerColor_B[4] = 50.50 Set playerColor_B[5] = 0.00 Set playerColor_B[6] = 5.50 Set playerColor_B[7] = 0.00 Set playerColor_B[8] = 69.00 Set playerColor_B[9] = 59.00 Set playerColor_B[10] = 94.50 Set playerColor_B[11] = 27.50 Set playerColor_B[12] = 0.00 [/gui]
Bueno espero que les sirva esta pequeña Guía y les dejo un Mapa para que descarguen pero deben comentar para verlo, Saludos.
|
|  | |
Autor | Mensaje |
---|
Aprendiz
Barra de Salud : 
Mensajes : 25
Reputación : 0 Monedas de oro : 75 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Miér Jun 21, 2017 12:42 am | |
| good |
|  | | Iniciado
Barra de Salud : 
Mensajes : 10
Reputación : 0 Monedas de oro : 10 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Miér Ago 02, 2017 11:37 am | |
| |
|  | | Aprendiz
Barra de Salud : 
Mensajes : 13
Reputación : 0 Monedas de oro : 13 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Lun Mar 05, 2018 9:48 pm | |
| |
|  | | Iniciado
Barra de Salud : 
Mensajes : 3
Reputación : 0 Monedas de oro : 3 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Lun Mar 19, 2018 12:43 am | |
| gracias.. lo estaba necesitando |
|  | | Soldado

Barra de Salud : 
Mensajes : 78
Reputación : 4 Monedas de oro : 54 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Dom Mayo 06, 2018 5:09 pm | |
| |
|  | | Aprendiz
Barra de Salud : 
Mensajes : 24
Reputación : 0 Monedas de oro : 26 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Miér Jun 06, 2018 1:37 pm | |
| Comento para ver el ejemplo, gracias por el aporte |
|  | | Capitán

Barra de Salud : 
Mensajes : 134
Reputación : 5 Monedas de oro : 448 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Lun Oct 22, 2018 4:11 am | |
| No pude copiar la primera variable asi que tengo q comentar para ver :'v |
|  | | Soldado

Barra de Salud : 
Mensajes : 98
Reputación : 11 Monedas de oro : 381 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Lun Oct 22, 2018 8:27 am | |
| |
|  | | Aprendiz
Barra de Salud : 
Mensajes : 28
Reputación : 0 Monedas de oro : 28 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Lun Ene 07, 2019 2:11 pm | |
| |
|  | | Iniciado
Barra de Salud : 
Mensajes : 4
Reputación : 0 Monedas de oro : 4 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Mar Abr 16, 2019 4:47 pm | |
| |
|  | | Peón
Barra de Salud : 
Mensajes : 42
Reputación : 5 Monedas de oro : 127 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Vie Jul 12, 2019 12:51 am | |
| |
|  | | Soldado

Barra de Salud : 
Mensajes : 78
Reputación : 3 Monedas de oro : 200 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Sáb Jul 13, 2019 3:54 pm | |
| descargando para usar ne mi mapa. Te dare creditos |
|  | | Aprendiz
Barra de Salud : 
Mensajes : 12
Reputación : 0 Monedas de oro : 12 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Jue Oct 24, 2019 9:57 pm | |
| |
|  | | Iniciado
Barra de Salud : 
Mensajes : 3
Reputación : 0 Monedas de oro : 3 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Jue Nov 14, 2019 1:04 pm | |
| |
|  | | Aprendiz
Barra de Salud : 
Mensajes : 24
Reputación : 0 Monedas de oro : 50 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Vie Oct 02, 2020 1:36 pm | |
| |
|  | | Iniciado
Barra de Salud : 
Mensajes : 1
Reputación : 0 Monedas de oro : 1 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Dom Nov 22, 2020 4:04 pm | |
| comento para poder descargarlo
|
|  | | Iniciado
Barra de Salud : 
Mensajes : 5
Reputación : 0 Monedas de oro : 5 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: xd Lun Jun 21, 2021 4:47 am | |
| |
|  | | Soldado
Barra de Salud : 
Mensajes : 61
Reputación : 1 Monedas de oro : 64 Monedas de Platino : 0 
Inventario :  
 | (#) Tema: Re: Mostrar Daño en cada unidad • Sáb Abr 30, 2022 6:59 pm | |
| |
|  | |
 | (#) Tema: Re: Mostrar Daño en cada unidad •  | |
| |
|  | | | Mostrar Daño en cada unidad • | |
|
Temas similares |  |
|
| Permisos de este foro: | No puedes responder a temas en este foro.
| |
| |
| Eventos Actuales |
No hay eventos actualmente
|
Últimos temas | » La Caída Del Rey Exánime - 2016 Ayer a las 11:55 pm por vics» Sistema de dificultad Dom Mayo 15, 2022 7:06 pm por Marcos_M» Batalla de Xia Pi (ejército de Lu Bu) (mapa en ingles) Mar Mayo 10, 2022 4:38 am por tobdeg» Pack de armas Warhammer 40k Mar Mayo 10, 2022 4:32 am por tobdeg» Crear modelos Lun Mayo 09, 2022 3:00 pm por Rhawk_94» Oleadas de creeps Sáb Mayo 07, 2022 12:02 pm por Marcos_M» velocidad de animación Sáb Mayo 07, 2022 12:02 pm por Marcos_M» Stealth Item Jue Mayo 05, 2022 2:06 am por Becientodos» [DUDA] Modificar textos de la habilidad para aprender poderes de heroe Miér Mayo 04, 2022 2:47 am por WrathfulSteel» [KE].SYS - Oro/Madera en Casas cada X seg. Lun Mayo 02, 2022 4:58 pm por Faceless5» Dash v1.4 [GUI] - By ArOn Lun Mayo 02, 2022 8:24 am por AdanPirss» [GUÍA] Colores en los textos • Lun Mayo 02, 2022 6:32 am por AdanPirss» Crea tu propio spell [Rayos] Dom Mayo 01, 2022 2:56 pm por TheMaverickMc» Mostrar Daño en cada unidad • Sáb Abr 30, 2022 6:59 pm por AdanPirss» Pozo primaveral con las razas especiales (Mapa) Lun Abr 25, 2022 4:36 pm por andree99999 |
Los posteadores más activos de la semana | |
¿Quién está en línea? | En total hay 7 usuarios en línea: 0 Registrados, 0 Ocultos y 7 Invitados :: 2 Motores de búsqueda Ninguno El record de usuarios en línea fue de 341 durante el Lun Nov 04, 2019 3:14 pm |
|