User Tools

Site Tools


designer_tutorials:tutorials:factories:territory_tracking_and_respawn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
designer_tutorials:tutorials:factories:territory_tracking_and_respawn [2020/01/16 20:35]
Edward Nygma
designer_tutorials:tutorials:factories:territory_tracking_and_respawn [2020/01/17 22:31] (current)
Edward Nygma
Line 1: Line 1:
 Territory Tracking and Respawn Territory Tracking and Respawn
  
-{{:designer_tutorials:tutorials:factories:game.png|?600}}+{{:designer_tutorials:tutorials:factories:game.png?900|}}
  
  
 This tutorial lays out a combination of factory structures that work in tandem.  First let's get an idea of what we're trying to build. This tutorial lays out a combination of factory structures that work in tandem.  First let's get an idea of what we're trying to build.
  
-{{:designer_tutorials:tutorials:factories:game_lowerleft.png|?300}}+{{:designer_tutorials:tutorials:factories:game_lowerleft.png?600|}}
  
 The object of the game is to be the last player with units in play.  "In Play" refers to units within any territory marked 4 or 5 in the image above.  Each player will start with 2 units in each grid, as shown above (4 and 5).  When a unit is removed from the grid, it will respawn.  You may only spawn one unit per turn in each grid. The object of the game is to be the last player with units in play.  "In Play" refers to units within any territory marked 4 or 5 in the image above.  Each player will start with 2 units in each grid, as shown above (4 and 5).  When a unit is removed from the grid, it will respawn.  You may only spawn one unit per turn in each grid.
Line 20: Line 20:
  
  
-{{:designer_tutorials:tutorials:factories:game_t2.png|?300}}+{{:designer_tutorials:tutorials:factories:game_t2.png?600|}}
  
  
Line 27: Line 27:
 T2 functions as an On/Off switch.  It's either occupied or empty, 1 or 0, On or Off, True or False. T2 functions as an On/Off switch.  It's either occupied or empty, 1 or 0, On or Off, True or False.
  
-When T2 is ON, it can be included in a continent that says "If the conditions indicated by T2 are True, then this continent becomes active."+T1 is trying to turn it On and T4 is trying to turn it off.
  
-In our casewe want T2 to turn on when the player does NOT own T4. In order to do that we have to have the switch turn to ON, but if the player DOES own T4, then turn it back off.+When T2 is Onor occupied, it can be included in a continent that says "If the conditions indicated by T2 are True, then this continent becomes active."
  
-T1, the player's capital, operates as a single-territory continent with a +1 autocapture factory(>>) with T2 as its target.  This attempts to turn T2 from 0 to 1, or On.+In our case, we want T2 to turn on when the player does NOT own T4. If the unit in T4 dies, activate the respawn continent. 
 + 
 +In order to do that we have T1 turn T2 On, but if the player DOES own T4, turn T2 Off instead.  +1 -1 = 0. 
 + 
 +T1, the player's capital, operates as a single-territory continent with a +1 autocapture factory(>>) with T2 as its target.  This attempts to turn T2 from 0 to 1, or Off to On.
  
 To offset this, we need to make T4 a -1 autocapture factory (>>) from T4 to T2.  Since T4 is accessible by multiple players, we need to include the player capital in this continent, so T4 + T1 -1>> T2. To offset this, we need to make T4 a -1 autocapture factory (>>) from T4 to T2.  Since T4 is accessible by multiple players, we need to include the player capital in this continent, so T4 + T1 -1>> T2.
Line 39: Line 43:
 If you do NOT own territory T4, you no longer get the -1>> to T2, and as a result, the net bonus is +1 from T1, which grants ownership of T2. If you do NOT own territory T4, you no longer get the -1>> to T2, and as a result, the net bonus is +1 from T1, which grants ownership of T2.
  
-Now:+{{:designer_tutorials:tutorials:factories:game_example.png?600|}}
  
 If a player owns T4:  If a player owns T4: 
Line 49: Line 53:
 (T1) +1>> T2 = On (T1) +1>> T2 = On
  
-That means that ownership of T2 only occurs at the beginning of a turn in which the player does not own T4.+That means T2 only turns on, when the player loses ownership of T4, and it turns off if the player regains ownership of T4.
  
 If you create a grid of territories that all have the T4 structure of (T1 + T4a) -1>> T2, (T1 + T4b) -1>> T2... then T2 will only turn on when the player no longer owns ANY territories in the grid. If you create a grid of territories that all have the T4 structure of (T1 + T4a) -1>> T2, (T1 + T4b) -1>> T2... then T2 will only turn on when the player no longer owns ANY territories in the grid.
 +
 +This happens because every T4 represents a -1, and your capital only ever gives +1.  The only time the T1 +1>> T2 outweighs the T4 opposite forces, (T1 +T4n) -1>> T2 for each owned unit on the grid, is when the number of T4 territories owned is 0.
  
 The T2 -1> T2 sets the switch back to Off (its default state) if it turned on last turn. The T2 -1> T2 sets the switch back to Off (its default state) if it turned on last turn.
Line 58: Line 64:
    
  
-{{:designer_tutorials:tutorials:factories:game_t3.png|?300}}+{{:designer_tutorials:tutorials:factories:game_t3.png?600|}}
  
  
Line 92: Line 98:
  
  
-{{:designer_tutorials:tutorials:factories:game_lowerright.png|?300}}+{{:designer_tutorials:tutorials:factories:game_lowerright.png?600|}}
  
  
Line 116: Line 122:
  
  
-{{:designer_tutorials:tutorials:factories:game_upperleft.png|?300}} +{{:designer_tutorials:tutorials:factories:game_upperleft.png?600|}}
  
 Here's the whole system.  T1 gives tries to turn on T2 and T3 with +1>> and +2>> The occupied T4 territories each thrown -1>> at them, and it's replicated to track Grid 5. Here's the whole system.  T1 gives tries to turn on T2 and T3 with +1>> and +2>> The occupied T4 territories each thrown -1>> at them, and it's replicated to track Grid 5.
Line 125: Line 130:
 Now we just need a win condition. Now we just need a win condition.
  
-{{:designer_tutorials:tutorials:factories:game_win.png|}}+{{:designer_tutorials:tutorials:factories:game_win.png?600|}}
  
 The way our system works says that if a player has lost 1 unit in Grid 4, T3 turns on.  If they lose both units, T2 turns on.   The way our system works says that if a player has lost 1 unit in Grid 4, T3 turns on.  If they lose both units, T2 turns on.  
designer_tutorials/tutorials/factories/territory_tracking_and_respawn.1579224932.txt.gz · Last modified: 2020/01/16 20:35 by Edward Nygma