Jump to content

Plugin help? Trying to limit deployment by topology?


Recommended Posts

Posted

It should be possible to Prevent a deployable from being deployed based on comparing local topology to a list.

Example : 

TopologyBlackList:[ 
autoturret:{mainland, oceanside, beach, beachside, tier0}, 
flameturret:{mainland, oceanside, beach, beachside, tier0}, 
trap.bear:{mainland, oceanside, beach, beachside, tier0},     
trap.landmine:{mainland, oceanside, beach, beachside, tier0},     
guntrap:{mainland, oceanside, beach, beachside, tier0}, 
spikes.floor:{mainland, oceanside, beach, beachside, tier0},     
barricade.woodwire:{mainland, oceanside, beach, beachside, tier0},     
barricade.metal:{mainland, oceanside, beach, beachside, tier0} ]

The plugin would with this config, then prevent the player from placing a trap of any kind in the spawn area. 

I know it's possible, I just don't know how to get the local topology and how to feed the information to CanDeploy to prevent the deployment?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.