![]() |
how to set a safe area? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: how to set a safe area? (/Thread-how-to-set-a-safe-area) |
how to set a safe area? - jexnico - 02-17-2016 09:35 PM I wanted to know how to define a secure area. I wanted in a cage has no security but outside had. Ty! ![]() ![]() RE: how to set a safe area? - Kanibal - 02-17-2016 10:06 PM Like this Code: [AREADEF a_cage_1] RE: how to set a safe area? - jexnico - 02-17-2016 10:47 PM Hey kanibal, ty for you answer but how i set the others cage using the same logic? RE: how to set a safe area? - Kanibal - 02-17-2016 10:51 PM (02-17-2016 10:47 PM)jexnico Wrote: Hey kanibal, ty for you answer but how i set the others cage using the same logic? [AREADEF a_cage_2] ..... [AREADEF a_cage_3] ..... [AREADEF a_cage_4] ..... RE: how to set a safe area? - jexnico - 02-17-2016 11:19 PM (02-17-2016 10:51 PM)Kanibal Wrote:(02-17-2016 10:47 PM)jexnico Wrote: Hey kanibal, ty for you answer but how i set the others cage using the same logic? it's me again, sorry for disturbing you, I am new in the sphere .. haha I'm trying to get inside without safety cage but I'm not getting, I am putting the flag in the "sphere map1", correct? I managed to score inside the cage as unsafe, but now has a problem, there's a part of the cage that does not want to be embarrassed any security. RE: how to set a safe area? - karma - 02-18-2016 12:53 AM When defining a new AREADEF block, you need to write the correct RECT values, which are: 1) Min X of the rectangle 2) Min Y of the rect 3) Max X of the rect 4) Max Y of the rect 5) Map X and Y are those of the corners of the rectangle which contains the area you are defining. Since i think you are using map0, it would be correct to put this block inside scripts/map/sphere_map0.scp. Also, i would use an unambiguous defname, like a_magincia_zoo_cage_1. Areadef's P is instead the P at which you will be teleported if you do .GO *name of the areadef* (NAME=Cage 1 of Magincia zoo). Is that Magincia, right? I don't remember °_° RE: how to set a safe area? - jexnico - 02-18-2016 01:33 AM (02-18-2016 12:53 AM)karma Wrote: When defining a new AREADEF block, you need to write the correct RECT values, which are: Ty karma ![]() |