Jump to content

Plugin help? Trying to limit deployment by topology?


The Friendly Chap
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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
 Share

392.3k

Downloads

Total number of downloads.

2.1k

Customers

Total customers served.

28.3k

Files Sold

Total number of files sold.

441.7k

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.