Jump to content
Sign in to follow this  
blackmamb

"No Muzzle" Protected spawn Zone

Recommended Posts

Hey guys!

Been searching for that a bit, i'm pretty sure i saw something somewhere about, it, but i can't find it again.

I'm looking to create a protected spawn zone, kinda like the one in Xeno's domination: basically a zone in which you can't be shot, and you cannot shoot from.

I was looking at the domi files, but couldn't find where that was defined.

Anybody have any idea about how to do that, or how it's done in domination?

Should i add, this is of course for a MP mission.

And if it helps in any way, i'll use CBA, ACE at least.

Thanks all.

Share this post


Link to post
Share on other sites

can remember who or where i go this from but...

create marker called pzone1

init.sqf

execvm "protectzone.sqf";

protectzone.sqf

//protection zone approx radius 50m, will overlap
_pos1 = (getMarkerPos "pzone1");
_pzone1 = "ProtectionZone_Ep1" createVehicleLocal (_pos1);
//following makes it invisible
_pzone1 setObjectTexture [0,"#(argb,8,8,3)color(0,0,0,0,ca)"];

Share this post


Link to post
Share on other sites

Cheers mate. Will try! Didn't know about that ProtectionZone object. Will sure make it easier!

Edit: Though i need something bigger. I guess adding a lot of those will do.

Share this post


Link to post
Share on other sites
Cheers mate. Will try! Didn't know about that ProtectionZone object. Will sure make it easier!

Edit: Though i need something bigger. I guess adding a lot of those will do.

Or you could (I believe) just increase the radius, or make it square or rectangular & juggle with the axis lengths / zone angle to fit the topology, etc.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×