Help how to add damage regions
Moderator: Moderators
-
SleepKiller
- Corporal

- Posts: 143
- Joined: Thu Mar 03, 2011 5:08 pm
- xbox live or psn: N/A
Help how to add damage regions
How can I add a damage region to a map to take away say 100 health a second?
- 1FGR1NightGhost
- Don't feed the troll (that's me)
- Posts: 85
- Joined: Wed Jun 08, 2011 12:01 pm
- Projects :: Bornesia Kastarian Docks
- xbox live or psn: No gamertag set
Re: Help how to add damage regions
in ZeroEditor there is an option box (alongside water, texture, height, foliage. ect.)
simply go to the left side of the screen and select "new region" and place it were ever you want.
now go to the right side of the screen, and edit the parameters there. You can actualy choose how much it does to each kind of unit (humans, droids, vehicles, animals)
simply go to the left side of the screen and select "new region" and place it were ever you want.
now go to the right side of the screen, and edit the parameters there. You can actualy choose how much it does to each kind of unit (humans, droids, vehicles, animals)
- Ginev
- Command Sergeant Major

- Posts: 260
- Joined: Thu Apr 02, 2009 7:02 am
- Projects :: Remaking FR Battlefront 3 Tatooine map.
- xbox live or psn: No gamertag set
- Location: Bulgaria
Re: Help how to add damage regions
You mistake.In BF1 dont have such a things.BF1 have only death region that when you step inside you die.You can't choose how much damage to get from AI when step inside.Maybe there is something like this in BF2,but in BF1 no.
If you want death region to add follow this:
Place one new region.In the right,place one name (for example Death1).When you hit enter the same name will apply in the properties section too.When you do this save your map and go to the luascript.Find this:
--AddDeathRegion("Sarlac01")
change it to look like this: (from the example the name will be Death1)
AddDeathRegion("Death1")
save the lua and munge.Thats all.
If you want death region to add follow this:
Place one new region.In the right,place one name (for example Death1).When you hit enter the same name will apply in the properties section too.When you do this save your map and go to the luascript.Find this:
--AddDeathRegion("Sarlac01")
change it to look like this: (from the example the name will be Death1)
AddDeathRegion("Death1")
save the lua and munge.Thats all.
- bamdur123
- Sergeant Major

- Posts: 243
- Joined: Fri Oct 15, 2010 7:15 pm
- Projects :: Tython-Siege of Darkness Zombie Hotel
- Location: Ohio, USA
Re: Help how to add damage regions
the bf1 zeroeditor doestn support it, and possibly neither the game engine at the point it was made, you may try this
Region("DamageRegion damagerate=60 personscale=1", 0)
{
Layer(5);
Position(-80.937225, 59.502384, 119.114571);
Rotation(0.923375, 0.000000, 0.383934, 0.000000);
Size(7.198578, 27.678169, 13.317889);
Name("TestRegion");
}
add that inside your maps .rgn file
i have not tested this but theres a chance it will work
as you can see, position is its cordinates, rotation and size etc. dmagerate is the damage per second i believe and person scale is if damage is amplified by the unit class(droids wouldnt be affected) just a guess.
Region("DamageRegion damagerate=60 personscale=1", 0)
{
Layer(5);
Position(-80.937225, 59.502384, 119.114571);
Rotation(0.923375, 0.000000, 0.383934, 0.000000);
Size(7.198578, 27.678169, 13.317889);
Name("TestRegion");
}
add that inside your maps .rgn file
i have not tested this but theres a chance it will work
as you can see, position is its cordinates, rotation and size etc. dmagerate is the damage per second i believe and person scale is if damage is amplified by the unit class(droids wouldnt be affected) just a guess.
- giftheck
- Droid Pilot Assassin

- Posts: 2218
- Joined: Mon Jan 19, 2009 5:58 pm
- Projects :: Star Wars Battlefront Anniversary
Re: Help how to add damage regions
The only possible damage regions that can exist are for water, and that's hardcoded.
