Eventos Actuales |
No hay eventos actualmente
|
| | Mostrar Daño en cada unidad • | |
| |
Autor | Mensaje |
---|
Capitán

Barra de Salud : 
Mensajes : 159
Reputación : 82 Monedas de oro : 1144 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 : 71
Reputación : 4 Monedas de oro : 33 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 |
|  | | Soldado

Barra de Salud : 
Mensajes : 105
Reputación : 4 Monedas de oro : 359 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
|
|  | |
 | (#) 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.
| |
| |
| Últimos temas | » Gwaihir (Àguila Gigante) - LOTR Ayer a las 11:48 pm por Yuki» ¿habilidad de incremento de daño si se ataca al mismo objetivo? Ayer a las 11:18 pm por Lolvaldomero» ¿ como evito que mis creeps cambien de objetivo y ataquen al mas debil o al que hace mas daño? Ayer a las 11:07 pm por Lolvaldomero» Resident evil Remake Full (Jill Valentine ) -ACTUALIZADO 16/03/15 Ayer a las 8:34 am por elizero» Summoner's Rift Map - Convertido para WC3 -Dave91 Ayer a las 7:08 am por GShiro» [SISTEMA] Acumulación/Agrupación de items (Estilo DOTA) • Lun Ene 25, 2021 9:33 pm por Lolvaldomero» Fucion de objetos con inventario lleno (tutomap) Lun Ene 25, 2021 9:31 pm por Lolvaldomero» Pack de Iconos - Heroes of the Storm Lun Ene 25, 2021 2:47 pm por JARL» Pack de Ultimates Personalizadas Lun Ene 25, 2021 2:46 pm por JARL» Empujón [SPELL MUI] Lun Ene 25, 2021 2:43 pm por JARL» [Spellpack] Mago Sanguinario Lun Ene 25, 2021 2:41 pm por JARL» Masacre 1.0 Lun Ene 25, 2021 7:02 am por Román Quidel» ¿Como crear una habilidad de transformación pasiva? Dom Ene 24, 2021 11:15 pm por Rasamayu» Witch King (On FellBeast!) - LOTR Dom Ene 24, 2021 4:03 pm por Wolf88» Tutorial sobre modelado en war3 - Creación de Estructura Osea • Vie Ene 22, 2021 7:25 pm por Satoshi |
Los posteadores más activos de la semana | |
|