Page 1 of 1
No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:09 pm
by Blade
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.
Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:19 pm
by computergeek
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.
Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:22 pm
by Blade
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.
Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:37 pm
by computergeek
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)
Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:46 pm
by YaNkFaN
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
Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 8:57 pm
by Teancum
YaNkFaN wrote:with death regions you have to add them to the .lua with damage i'm pretty sure you don't
Correct. I always cheated on the Convo Pack maps and made damage regions with 100,000 dmg points. That way it'd kill anything.

Re: No Death/Damage Region?
Posted: Tue Mar 17, 2009 9:37 pm
by computergeek
Ok but how do you make damage regions?
Re: No Death/Damage Region?
Posted: Wed Mar 18, 2009 4:32 pm
by Blade
Isn't a damage region set up something like...
Code: Select all
AddDamageRegion(RegionName, #for damage
Or am I completely wrong? (most likely, I haven't really given much time to learning how to script).
Re: No Death/Damage Region?
Posted: Wed Mar 18, 2009 4:41 pm
by hammythepig
I tried adding a deathregion to one of my maps, and I did everything the doc.s said, but it didn't work.
Re: No Death/Damage Region?
Posted: Wed Mar 18, 2009 9:25 pm
by Teancum
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
Re: No Death/Damage Region?
Posted: Thu Mar 19, 2009 3:51 pm
by Blade
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...