Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
War of Secession.w3x
Variables
Info.
civil war
Initialization
Melee Initialization
Ammo
Ammunition
kill counter
money
Miss
Miss Melee
CP
City
Forest
Field
Win
Union Win
Confederate Win Copy
Blue
Blue Copy
Blue1
Gray1
Gray
Gray Copy
town hall save
Union Blue
Union Blue Copy
Union Blue Copy 2
Union Blue Copy 3
Confederate Gray
Confederate Gray Copy
Confederate Gray Copy 2
Confederate Gray Copy 3
Name
Type
is_array
initial_value
Miss
integer
No
Real
real
No
civil war
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled The Civil War with the description The American Civil War, widely known in the United States as simply the Civil War as well as other sectional names, was a civil war fought from 1861 to 1865 to determine the survival of the Union or independence for the Confederacy. Among the 34 states in January 1861, seven Southern slave states individually declared their secession from the United States and formed the Confederate States of America. The Confederacy, often simply called the South, grew to include eleven states, and although they claimed thirteen states and additional western territories, the Confederacy was never diplomatically recognized by a foreign country. The states that remained loyal and did not declare secession were known as the Union or the North. The war had its origin in the fractious issue of slavery, especially the extension of slavery into the western territories. After four years of combat, which left over 600,000 Union and Confederate soldiers dead and destroyed much of the South's infrastructure, the Confederacy collapsed and slavery was abolished. Then began the Reconstruction and the processes of restoring national unity and guaranteeing civil rights to the freed slaves.In the 1860 presidential election, Republicans, led by Abraham Lincoln, opposed the expansion of slavery into U.S. territories. The Republican Party, dominant in the North, secured a majority of the electoral votes, and Lincoln was elected the first Republican president, but before his inauguration on March 4, 1861, seven slave states with cotton-based economies formed the Confederacy. The first six to secede had the highest proportions of slaves in their populations, a total of 48.8% for the six. Outgoing Democratic President James Buchanan and the incoming Republicans rejected secession as illegal. Lincoln's inaugural address declared his administration would not initiate civil war. Eight remaining slave states continued to reject calls for secession. Confederate forces seized numerous federal forts within territory claimed by the Confederacy. A peace conference failed to find a compromise, and both sides prepared for war. The Confederates assumed that European countries were so dependent on "King Cotton" that they would intervene; none did and none recognized the new Confederate States of America.Hostilities began on April 12, 1861, when Confederate forces fired upon Fort Sumter, a key fort held by Union troops in South Carolina. Lincoln called for every state to provide troops to retake the fort; consequently, four more slave states joined the Confederacy, bringing their total to eleven. The first bloodshed of the Civil War occurred in Maryland during the Baltimore riot of 1861 on April 19. Lincoln soon controlled the border states, after arresting state legislators and suspending habeas corpus, ignoring the ruling of the Supreme Court's Chief Justice that such suspension was unconstitutional, and established a naval blockade that crippled the southern economy. The Eastern Theater was inconclusive in 1861–62. The autumn 1862 Confederate campaign into Maryland (a Union state) ended with Confederate retreat at the Battle of Antietam, dissuading British intervention. Lincoln issued the Emancipation Proclamation, which made ending slavery a war goal. To the west, by summer 1862 the Union destroyed the Confederate river navy, then much of their western armies, and the 1863 Union siege of Vicksburg split the Confederacy in two at the Mississippi River. In 1863, Robert E. Lee's Confederate incursion north ended at the Battle of Gettysburg. Western successes led to Ulysses S. Grant's command of all Union armies in 1864. In the Western Theater, William T. Sherman drove east to capture Atlanta and marched to the sea, destroying Confederate infrastructure along the way. The Union marshaled the resources and manpower to attack the Confederacy from all directions, leading to the protracted Siege of Petersburg. The besieged Confederate army eventually abandoned Richmond, seeking to regroup at Appomattox Court House, though there they found themselves surrounded by union forces. This led to Lee's surrender to Grant on April 9, 1865. All Confederate generals surrendered by that summer. While the military war had ended, and there was no insurgency, the political reintegration of the nation took another 12 years, known as the Reconstruction Era. The war finally ended when a consensus was reached that Confederate nationalism and black slavery were both dead.The American Civil War was one of the earliest true industrial wars. Railroads, the telegraph, steamships, and mass-produced weapons were employed extensively. The mobilization of civilian factories, mines, shipyards, banks, transportation and food supplies all foreshadowed the impact of industrialization in World War I. It remains the deadliest war in American history, resulting in the deaths of an estimated 750,000 soldiers and an undetermined number of civilian casualties. One estimate of the death toll is that ten percent of all Northern males 20–45 years old, and 30 percent of all Southern white males aged 18–40 died. From 1861 to 1865 about 620,000 soldiers lost their lives.Artical from Wikipedia. So now it's not plagiarism! (I think) , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Game - Display to (All players) the text: Objective: Capture all CPs from the enemy to be able to destroy the enemies bases. Destroy all the bases to win. To regain the bases invicability, capture a CP.
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Set starting resources (for all players)
Visibility - Enable black mask
Ammo
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to
Actions
Unit - Set mana of (Target unit of ability being cast) to ((Mana of (Target unit of ability being cast)) + 8.00)
Ammunition
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) is A ranged attacker) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Mana of (Attacking unit)) Greater than or equal to 1.00
Then - Actions
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) - 1.00)
Else - Actions
Unit - Order (Attacking unit) to Stop .
money
Events
Map initialization
Conditions
Actions
Player - Set name of Player 5 (Yellow) to Villagers
Player - Turn Gives bounty On for Player 5 (Yellow)
Miss
Events
Unit - A unit Is issued an order targeting an object
Conditions
((Triggering unit) is A ranged attacker) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Miss Less than or equal to 28
Then - Actions
Unit - Cause (Triggering unit) to damage (Attacked unit) , dealing 0.00 damage of attack type Normal and damage type Normal
Floating Text - Create floating text that reads Miss above (Triggering unit) with Z offset 0 , using font size 2.00 , color ( 100 %, 20.00 %, 30.00 %), and 0 % transparency
Wait 0.80 seconds
Floating Text - Destroy (Last created floating text)
Else - Actions
Do nothing
Miss Melee
Events
Unit - A unit Is issued an order targeting an object
Conditions
((Triggering unit) is A melee attacker) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Miss Less than or equal to 12
Then - Actions
Unit - Cause (Triggering unit) to damage (Attacked unit) , dealing 0.00 damage of attack type Normal and damage type Normal
Floating Text - Create floating text that reads Miss above (Triggering unit) with Z offset 0 , using font size 2.00 , color ( 100 %, 20.00 %, 30.00 %), and 0 % transparency
Wait 0.80 seconds
Floating Text - Destroy (Last created floating text)
Else - Actions
Do nothing
City
Events
Unit - A unit enters Region_002 <gen>
Conditions
(Owner of (Entering unit)) Not equal to (Owner of Control Point 0004 <gen>)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in Region_002 <gen> owned by (Owner of Control Point 0004 <gen>))) Equal to 0
(Number of units in (Units in Region_002 <gen> owned by (Owner of (Entering unit)))) Greater than or equal to 1
Then - Actions
Unit - Change ownership of Control Point 0004 <gen> to (Owner of (Entering unit)) and Change color
Game - Display to (All players) the text: ((Name of (Owner of (Entering unit))) + ( has taken over a + Control Point!))
Else - Actions
Forest
Events
Unit - A unit enters Region_003 <gen>
Conditions
(Owner of (Entering unit)) Not equal to (Owner of Control Point 0005 <gen>)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in Region_003 <gen> owned by (Owner of Control Point 0005 <gen>))) Equal to 0
(Number of units in (Units in Region_003 <gen> owned by (Owner of (Entering unit)))) Greater than or equal to 1
Then - Actions
Unit - Change ownership of Control Point 0005 <gen> to (Owner of (Entering unit)) and Change color
Game - Display to (All players) the text: ((Name of (Owner of (Entering unit))) + ( has taken over a + Control Point!))
Else - Actions
Field
Events
Unit - A unit enters Region_001 <gen>
Conditions
(Owner of (Entering unit)) Not equal to (Owner of Control Point 0006 <gen>)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in Region_001 <gen> owned by (Owner of Control Point 0006 <gen>))) Equal to 0
(Number of units in (Units in Region_001 <gen> owned by (Owner of (Entering unit)))) Greater than or equal to 1
Then - Actions
Unit - Change ownership of Control Point 0006 <gen> to (Owner of (Entering unit)) and Change color
Game - Display to (All players) the text: ((Name of (Owner of (Entering unit))) + ( has taken over a + Control Point!))
Else - Actions
Union Win
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0005 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0006 <gen>) Equal to Player 2 (Blue)
Actions
Unit - Remove Invulnerable (Neutral) from Town Hall 0048 <gen>
Unit - Remove Invulnerable (Neutral) from Town Hall 0047 <gen>
Confederate Win Copy
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0005 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0006 <gen>) Equal to Player 9 (Gray)
Actions
Unit - Remove Invulnerable (Neutral) from Town Hall 0049 <gen>
Unit - Remove Invulnerable (Neutral) from Town Hall 0050 <gen>
Blue
Events
Unit - Town Hall 0047 <gen> Dies
Conditions
Actions
Game - Defeat Player 9 (Gray) with the message: Defeat!
Blue Copy
Events
Unit - Town Hall 0048 <gen> Dies
Conditions
Actions
Game - Defeat Player 12 (Brown) with the message: Defeat!
Blue1
Events
Time - Every 0.01 seconds of game time
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
(Player 3 (Teal) slot status) Equal to Is unused
Actions
Game - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Game - Victory Player 12 (Brown) ( Show dialogs, Show scores)
Gray1
Events
Time - Every 0.01 seconds of game time
Conditions
(Player 9 (Gray) slot status) Equal to Is unused
(Player 12 (Brown) slot status) Equal to Is unused
Actions
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Gray
Events
Unit - Town Hall 0049 <gen> Dies
Conditions
Actions
Game - Defeat Player 2 (Blue) with the message: Defeat!
Gray Copy
Events
Unit - Town Hall 0050 <gen> Dies
Conditions
Actions
Game - Defeat Player 3 (Teal) with the message: Defeat!
Union Blue
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0005 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0006 <gen>) Equal to Player 2 (Blue)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0047 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0048 <gen>
Union Blue Copy
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0005 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0006 <gen>) Not equal to Player 2 (Blue)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0047 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0048 <gen>
Union Blue Copy 2
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0005 <gen>) Not equal to Player 2 (Blue)
(Owner of Control Point 0006 <gen>) Equal to Player 2 (Blue)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0047 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0048 <gen>
Union Blue Copy 3
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Not equal to Player 2 (Blue)
(Owner of Control Point 0005 <gen>) Equal to Player 2 (Blue)
(Owner of Control Point 0006 <gen>) Equal to Player 2 (Blue)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0047 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0048 <gen>
Confederate Gray
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0005 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0006 <gen>) Equal to Player 9 (Gray)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0049 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0050 <gen>
Confederate Gray Copy
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0005 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0006 <gen>) Not equal to Player 9 (Gray)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0049 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0050 <gen>
Confederate Gray Copy 2
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0005 <gen>) Not equal to Player 9 (Gray)
(Owner of Control Point 0006 <gen>) Equal to Player 9 (Gray)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0049 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0050 <gen>
Confederate Gray Copy 3
Events
Time - Every 0.10 seconds of game time
Conditions
(Owner of Control Point 0004 <gen>) Not equal to Player 9 (Gray)
(Owner of Control Point 0005 <gen>) Equal to Player 9 (Gray)
(Owner of Control Point 0006 <gen>) Equal to Player 9 (Gray)
Actions
Unit - Add Invulnerable (Neutral) to Town Hall 0049 <gen>
Unit - Add Invulnerable (Neutral) to Town Hall 0050 <gen>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.