Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

veafSkynetIadsHelper: propose a method to organically deactivate a network #244

Closed
MacFlorent opened this issue Sep 5, 2023 · 0 comments

Comments

@MacFlorent
Copy link
Contributor

MacFlorent commented Sep 5, 2023

Skynet offers a lot of options to configure nodes and weak points for all of part of the iads. These methods though, require the mission maker to do a bunch of scripting configure powers sources, communication nodes, command centers, and this is not typically something he will want to do when the networks are created by veafSkynetIadsHelper.

Nevertheless the mission maker may still want to be able to kill a network given some specific mission event. To give this option, we will use the command center mechanic of skynet as follows:

One method to add a command center to the network of a coalition

function veafSkynet.addCommandCenter(iCoalitionId, dcsCommandCenterGroupName)
A command center can be a unit or a static, but here we will keep things simple and take the first unit of a group.

One method to destroy all command centers of a coalition

function veafSkynet.destroyCommandCentersOfCoalition(iCoalitionId, iExplosionStrength)
This will organically deactivate the network and cleanly switch all elements to autonomous.
Explosion strength is optional but depending on the unit used as command center, the mission maker may need to adjust it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant