No Death/Damage Region?
Moderator: Moderators
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
No Death/Damage Region?
Hey, I'm making a map designed mostly for multiplayer, and I've decided to make multiple different... "arenas" if you will. I'm going to make them accessible by teleporting regions, but I want to have the central area which houses all of the teleports to be safe. Ideally, I'd make either a "No Death/Damage" region, or a health region with a fast recovery. I just don't know how to set up either of these regions, if they're possible.
(It'd be awesome if there's a way to prevent damage or death, as a health region can still be bypassed by weapons that take down 100% of health.)
Thanks in advance.
(It'd be awesome if there's a way to prevent damage or death, as a health region can still be bypassed by weapons that take down 100% of health.)
Thanks in advance.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: No Death/Damage Region?
Would it be possible to just block the AI out of that area?
A health region is possible, it is just a damage region with a negative damage number, giving you health. Search it and you should find something.
A health region is possible, it is just a damage region with a negative damage number, giving you health. Search it and you should find something.
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: No Death/Damage Region?
Thanks for the information, can you think of any maps off the top of your head that have damage regions? (Eh, I'll stop being lazy and just look
)
And about the AI, they're not who I'm worried about, heh. Since it's going to be meant for mostly multiplayer, I don't want to have idiots coming into the servers and killing everyone that spawns.
And about the AI, they're not who I'm worried about, heh. Since it's going to be meant for mostly multiplayer, I don't want to have idiots coming into the servers and killing everyone that spawns.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: No Death/Damage Region?
Ah ok, I see your point. I'll do a search for the damage regions right now. I didn't find much useful except that you have to link the region to a lua somehow I think (If someone who actually know what to do could help, we could really use it)
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: No Death/Damage Region?
All health regions are damage regions with negative values inserted into them look at the mustufar map for damage regions and how to set them up
with death regions you have to add them to the .lua with damage i'm pretty sure you don't
with death regions you have to add them to the .lua with damage i'm pretty sure you don't
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: No Death/Damage Region?
Correct. I always cheated on the Convo Pack maps and made damage regions with 100,000 dmg points. That way it'd kill anything.YaNkFaN wrote:with death regions you have to add them to the .lua with damage i'm pretty sure you don't
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: No Death/Damage Region?
Ok but how do you make damage regions?
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: No Death/Damage Region?
Isn't a damage region set up something like...
Or am I completely wrong? (most likely, I haven't really given much time to learning how to script).
Code: Select all
AddDamageRegion(RegionName, #for damage- hammythepig
- Master Sergeant

- Posts: 175
- Joined: Mon Nov 24, 2008 6:05 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Canada
Re: No Death/Damage Region?
I tried adding a deathregion to one of my maps, and I did everything the doc.s said, but it didn't work.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: No Death/Damage Region?
You set the region type to damageregion in ZeroEdit and give it tons of damage. You don't need to add anything to the LUA for a damage region
- Blade
- Captain

- Posts: 496
- Joined: Fri Apr 04, 2008 11:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: No Death/Damage Region?
Hm. I set up the damage region as you said: properties = "damageregion," the box popped up, in damagerate, I put -1000000, set all of the damageScales to 1, and munged. And nothing happened. I made sure to get down to a low health and ran into the region, and nothing, no health.
I'm confused, but I'll see if what I'm doing will work with a regular damage region (no negative values).
Edit: A regular damage region didn't want to work either...
I'm confused, but I'll see if what I'm doing will work with a regular damage region (no negative values).
Edit: A regular damage region didn't want to work either...
