Page 1 of 1

Damage regions and non damage regions?

Posted: Tue Jan 09, 2018 10:52 am
by correctmushroom2013
Theme about damage regions. I wanna create damage area of snowstorm, but I don't know how to do non damage zone.
Is there an analogous region like rain shadow in the editor, only for the damage region?
Hidden/Spoiler:
Image
Image

Re: Damage regions and non damage regions?

Posted: Tue Jan 09, 2018 1:18 pm
by Oceans14
I think there are two ways to go about this. First, you could have 4 damage regions laid out so that there's a square in the center - that square area is not in any region at all and therefore doesn't do damage. The second option could be set up exactly as you've sketched, but the circular "non-damage region" is just a damage region that does negative damage (i.e. adds health). I believe I read somewhere that this works, though I've personally never tried it.

Re: Damage regions and non damage regions?

Posted: Tue Jan 09, 2018 1:22 pm
by correctmushroom2013
Right, I can create 4 damage regions, but I need circle area in non damage.
And second variant doesn't work.("negative damage").

Re: Damage regions and non damage regions?

Posted: Tue Jan 09, 2018 4:59 pm
by Oceans14
Hmm, ok. Here's something else: if you check out the medical droid odf (data_abc > Common > odfs > com_item_healthrecharge) down at the bottom you'll see "EffectRegion" and "Radius". I wasn't expecting to find EffectRegion but that might be something you could try. Otherwise you can just set the radius to whatever you want and even change the geometry to something like a null if you don't want any visual indicator of the object. This isn't a perfect solution obviously because the unit would still take damage, but at least it would be gaining health at the same rate.

Re: Damage regions and non damage regions?

Posted: Tue Jan 09, 2018 6:25 pm
by correctmushroom2013
Yes, I did it. I placed a medical droid near my areas. It works, but it's not the best variant. :)

So, then I'll ask 2 more questions.
1. How I can rename my units, sides, and map name? If all it's already munged.
2. Where I can download assets "zombie dead trooper"?
Hidden/Spoiler:
Image
Image

Re: Damage regions and non damage regions?

Posted: Wed Jan 10, 2018 3:20 am
by Marth8880
You'll honestly probably be best off just having a bunch of regions fit around the area you don't want to be affected - after all, keep in mind that there is no actual (known) region limit, the perceived limit of 70 is most likely only for simultaneous OnEnterRegion event handlers.

Re: Damage regions and non damage regions?

Posted: Wed Jan 10, 2018 9:00 am
by correctmushroom2013
Really, what about my last questions?

Re: Damage regions and non damage regions?

Posted: Wed Jan 10, 2018 9:37 am
by CdtFox
correctmushroom2013 wrote:Really, what about my last questions?
1) You can create a new core.lvl. If you wan to edit units and weapons names you just have to run editlocalize.bat. I noticed that a core.lvl can be completely independent of his "home/original" data_***. You just have to load it in your script. Once munged the core.lvl goes in your new map's directory. I never tried myself but I think you can have multiple core.lvl files too. One specific for the units, one for the vehicles etc.

2)Here you go:

http://www.gametoast.com/viewtopic.php?f=64&t=29197

Also there is a proper section to ask for assets :wink:

viewtopic.php?f=64&t=23324&p=533549#p533549

Re: Damage regions and non damage regions?

Posted: Wed Jan 10, 2018 1:51 pm
by correctmushroom2013
CdtFox wrote:1) You can create a new core.lvl. If you wan to edit units and weapons names you just have to run editlocalize.bat.
Thanks, but I've never worked with localization files. Where can I find the name of my custom side "rec" or create it? I did not even find the default names the classes of "imp" and "all" sides.