Hive.crpl

Started by GoodMorning, August 03, 2016, 03:18:26 AM

Previous topic - Next topic

GoodMorning

Hello all,

I'm finishing off the first version of a Hive script. Currently it is a powerful, chainable, indirect Creeper source that is weak to Beams.

Thoughts? This map is good for edit mode, though it isn't that much fun to play. But feel free to reuse the scripts.

There are various key commands.

The more detailed version: (It's spoilered because it's long, there's a quick reference in the map).
Spoiler

The "Invincible" setting is allowed only for Hives that depend on a parent Hive, to prevent indestructibles.

Selection can be done in bulk or based on the mouse position (different keys) and affects other key-based commands.





Lshift + <key>... to select ...... to unselect ...
AllAN
Under MouseYL

LShift + T makes the selected Hive(s) start/stop producing units.
LShift + H puts all of the Hive's processes on hold for as long as the key is held.
LShift + U shown the count of underlings that are alive.
LShift + B destroys all underlings.
LShift + K kills the selected Hive(s), and doesn't drop a PZ.

A Hive's "parent", if destroyed, will cause the Hive to destroy itself on the next frame. A Hive may not have more than one parent.
LShift + P makes the selected Hive(s) dependent on the Hive under the mouse (not itself).
LShift + O makes all selected Hives "orphans", not having a parent.

Hives have different colours depending on their state:
There is no red in the image if selected, otherwise it is fully present.
There is no green if there is no parent Core, otherwise it's normal.
There is no blue if the Core is invincible, though this requires a parent.

On an unrelated note, having to spell "colour" without a "u" to make the script compile gives me visceral discomfort (Search under "nocebo effect").
[close]

Refinements will/may include a Hive that strengthens, spawns Queens, swaps Drones, and/or builds more Hives at predefined points (through Queens, possibly). These terms are used in the sense of bees rather than, respectively, the Loki, humans, or CW1's normal aircraft.
A narrative is a lightly-marked path to another reality.