Snippet GUI-Friendly Damage Detection

When im saveing the map all this shit below got error till the ending. WTF?

// Configurables.
function GDD_RecycleRate takes nothing returns real //The rate at which the system checks units to see if they've been removed from the game
return 0.03
endfunction
 
Here is the problem when i imported the GDD stuff like you sayd in this thread. When i launch the map (WC3 1.26a) Game launches and in game appeares unpassable terrains and some GUI triggers are turned off, like the map is not fully loaded. Does anyone knows what is this?
 
you forgot the /spoiler at the end of the jass code lol
 
I havent actually tried this, and it might be a bad idea.

But, setting the Damage variable to a reduced amount will reduce the damage dealt?
Or is this method only allow the user to view the amount of damage, rather than edit the amount of damage dealt?
 
Hmm guys can someone help me implement this in my map. I have copied both triggeres in my map and did.

Code:
Ultimate fortress fire
    Events
        Game - GDD_Damage becomes Equal to 0.00
    Conditions
    Actions
        Game - Display to (All players) the text: ((String(GDD_Damage)) + done)

The game just says 0.000 damage done. Do i need to set the variables in GDD variable creator myself or they are what they are.

Namely, I need a trigger that will register damage and return it to the attacker. Can someone help me how to do it I'm a bit confused how to use this.
 
You're using the wrong variable. It's GDD_Event that should change to 0.00 for the damage event.
 
I'm trying to remove the use of the variable creator. I uncommented the globals section in the code (as it says you can if you use JASS Helper), but it doesn't work. Any ideas?
 
"It doesn't work" isn't a very good description.

Simply uncommenting the globals block should be sufficient if you're using this system in (v)JASS.
 
I am using vJASS. How much detail do you want for "it doesn't work"? Is this better: "When I uncomment the globals section and make a function that prints "Damaged!" whenever a unit takes damage and test it with a demo map and tell one unit to attack another, no text is printed on the screen. When I use the variable creator and make a test trigger that prints "Damaged!" whenever a unit takes damage and test it with a demo map and tell one unit to attack another, the text does apper on the screen".
 
Perhaps some code would be in order. Or even a new thread in the proper location.
 
is it necessary to paste another GDD for another skill if you already have one in your map?
 
First of all, thank God for Weep! I was going to make a custom attack system in GUI that would have to use the Damage Point of an attacking melee unit, or the time it would take for a projectile to get to the target for a ranged attack (Distance / Projectile Speed), to time the damage right, but now I can use GDD!!!!!

This is a kind of an old thread I know, but it's about GDD. It's not a problem for me, but something interesting I noticed. When the attack vs. armor damage factor tables in Gameplay Constants are zeroed out, GDD displays 1.000 damage being done.
 
I'm using GDD_Damage. It came that way ^^. I have a hunch that it's because I set attack vs. armor damage factors all to zero. I was just wondering why it could be that it displays 1.000 damage when it should show zero. Just curious. I know some people display GDD_Event so damage shows up as 0.000 then, and they come here saying "Y U no display damage?!"

If GDD_Event is 0.000 when damage is done, why would it display as 1.000?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    I would be there for days, even with my camera set up slides can take a long time, and if they want perfect captures I really need to use my scanners that are professionally made for that. My camera rig works well for what it is, but for enlargements and things it's not as good.
  • Varine Varine:
    I've only had a couple clients with that so far, though. I don't have a website or anything yet though.
  • Varine Varine:
    Console repair can be worthwhile, but it's also not a thing I can do at scale in my house. I just don't have room for the equipment. I need an office that I can segregate out for archival and then electronic restoration.
  • Varine Varine:
    But in order for that to be real, I need more time, and for more time I need to work less, and to work less I need a different job, and for a different job I need more money to fall back on so that I can make enough to just pay like, rent and utilities and use my savings to find these projects
    +1
  • Varine Varine:
    Another couple years. I just need to take it slow and it'll get there.
  • jonas jonas:
    any chance to get that stolen money back?
  • jonas jonas:
    Maybe you can do console repair just as a side thing, especially if there's so much competition business might be slow. Or do you need a lot of special equipment for that?
  • jonas jonas:
    I recently bought a used sauna and the preowner told me some component is broken, I took a look and it was just a burnt fuse, really cheap to fix. I was real proud of my self since I usually have two left hands for this kinda stuff :p
  • tom_mai78101 tom_mai78101:
    I am still playing Shapez 2. What an awful thing to happen, Varine, and hopefully everything has been sorted out soon. Always use multi-factor authentication whenever you have the opportunity to do so.
    +1
  • Varine Varine:
    I think all of the money is accounted for now, and all the cards have been changed out, so I think for the most part it's taken care of now. Just need to go through and make sure all of my accounts are secured again, it's just time consuming.
  • Varine Varine:
    And yeah everything has 2 factor turned on now, or at least everything I can think of at the moment.
  • Varine Varine:
    The consoles don't need too much equipment that I don't already have. I would like to get a reflow oven, but I don't really want to buy one so I'm thinking about modifying a toaster oven I have to make something that will work for what I'm doing.
  • Varine Varine:
    I have the soldering irons and reflow and all that, but without an oven it's kind of hard to build mod chips and things like that. I made a handful of them with a hot air station, but it's a pain.
  • Varine Varine:
    The only thing I'm not really set up for is BGA rework. I've done it before a little bit, but not reliably, and that equipment is wildly expensive. You need X-rays and shit.
  • Varine Varine:
    I also have a couple 3D printers. I'm not super good with those and need to get an enclosure built, but they'll be useful for some aesthetic mods I've been thinking about. At least I can use them to do designs and then just have someone else print out the parts for me once I know they work.
  • Varine Varine:
    I also use them to make adapters for all my camera shit, but that's also an on the side thing for now. Lens adapters get really expensive.
  • Varine Varine:
    I've been trying to do some little art pieces as well, but I'm not much an engineer so they haven't gone great. I got some new things showing up to try and play with
  • Varine Varine:
    I want to build this tesserect kind of thing with mirrors, and I've been trying to make this like black hole diorama. In my head it looks really cool, but I kind of thought I could form polarizing lenses into a sphere but I tend to just destroy them every time I try.
  • Varine Varine:
    So I got a new idea, but I'm not sure how to make it work like I want without being able to get a polarizer curved. I think they are made out of PVA typically, and I thought I could just heat it up a little bit to soften the film, but that clearly isn't working. So I'm going to try a few other things, I'm thinking if I put a mirror film over the polarizing film I might get something cool. I have some polarized LED's as well, and I think if I make a central light source I can use the mirrors combined with the polarizers to make that central light APPEAR black. I have next week off so I'm going to spend some time trying to figure it out
  • Varine Varine:
    The tesserect works, at least. I just need to figure out how to be able to assemble it, but I think I have a pretty good idea of how to go about it. Or at least a prototype of it. I'll post some pictures next week
  • jonas jonas:
    That last bit sounds like the last entry in a scientist's journal in a destroyed research facility in a post-apocalyptic video game
  • Varine Varine:
    lol it's not that exciting
  • Varine Varine:
    Shiny tho
  • Varine Varine:
    Basically it's a cube with a two way mirror on the inside, and then a smaller cube suspended in that with a mirrors on the outside of it. Kind of like those infinity pictures where they use two mirrors to go forever. Only it's twelve mirrors
  • Varine Varine:
    And the tiniest LED strip I could find

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top