⇐ Index
⇐ Custom CPACKs & Units
⇐ VPAC Wiki Page
VPAC CPACKs download location.
MAJOR UPDATE NEEDED - POWER SYSTEM
MAJOR UPDATE NEEDED - REBUILD.
MAJOR UP- Ok forget listing,
THIS PAGE NEEDS UPDATING! -Vertu
The VPAC Main provides the essentials and basics of Play As Creeper. Compared to standard PAC (VPAC Main's ancestor), everything here has been “completed”. Examples being the addition of the ability for Launchers to hold fire and the rebuild system including terraforming (ability to rebuild land from say, Shattered Land dissolved by Creep).
This script runs while paused to manage how much power you have. It evaluates the current amount of power available to the player.
The power use of all VPAC units currently on map and the bonus available power from say, abducting ERNs with the NEXUS and destroying Power Suppressors, is calculated here as a sort of final destination. This is using a global list as an unfinished equation where each CPACK wanting to change the available power can insert their change into an index. This is really just having slots for a summation where each slot represents the desired power change by a specific CPACK and POWER SYSTEM just adds these desired changed together to produce the final “Available Power”. This ensures that each CPACK handles their own problems, their own gimmicks, and their own units, in their own way. Division of responsibility you can say.
The indexes used for the summation are [1000] - [1008]. 1006, 1007, & 1008 are currently not being used but are still within the array in the event a new source of power modifiers are introduced in a separate CPACK. This means you can create your own separate CPACK to “chip-in” to the power calculation quite easily.
POWER SYSTEM is also responsible for the power display which includes the power use of all VPAC units.
The display uses the ADA Message: “Display” (case sensitive) with a background image of 4 (not opaque).
The list of units is color coded to the build tabs they reside in and the order they are within those tabs, listed from left-right, top-bottom. This display is also dynamically generated where POWER SYSTEM will detect if other VPAC CPACKs are present. So if you only have VPAC Main, the display will only show the power costs of VPAC Main units. Every combination of CPACKs is accounted for, which also makes editing it a bit of a nightmare as it has not yet been generalized (and may never be).
The display also supports language toggles for French and Spanish though Role Play Controller handles this.
-End of latest edit-
Power Suppressor Context:
The VPAC Vertu Expansion provides units called Power Suppressors which when destroyed give additional power. The ERNManger is what causes these units to increase available power.
ERNs can also be released by Power Suppressors if you enable them to (preferably individually). This gives some depth to replaying the map for an optimized run.
This global script is responsible for automatically creating the DESTROY RIFT LAB custom objective. Since there is only a single custom objective in CW4 this script has a on/off toggle in the event you don't want only the DESTROY RIFT LAB objective.
It will create, write, enable, make required, and completed when the Rift Lab is destroyed. No need to snoop around game settings in the editor.
This script can be disabled. By default it is not disabled.
VPAC CPACKs download location.
⇐ VPAC Wiki Page
⇐ Custom CPACKs & Units
⇐ Index