Damage regions and non damage regions?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Damage regions and non damage regions?

Post 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
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Damage regions and non damage regions?

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Damage regions and non damage regions?

Post 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").
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Damage regions and non damage regions?

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Damage regions and non damage regions?

Post 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
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Damage regions and non damage regions?

Post 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.
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Damage regions and non damage regions?

Post by correctmushroom2013 »

Really, what about my last questions?
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Damage regions and non damage regions?

Post 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
correctmushroom2013
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Fri Jul 19, 2013 11:10 am
Projects :: Droid Factory Conquest
Games I'm Playing :: SWBF2 BDO
xbox live or psn: No gamertag set
Location: Russian Federation

Re: Damage regions and non damage regions?

Post 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.
Post Reply