Staredit Network

Staredit Network -> UMS Assistance -> City Income And Capture
Report, edit, etc...Posted by Montgomery on 2004-07-22 at 20:48:42
helpsmilie.gif

Ok, for a new map I'm making, I need some help with an idea. If any of you have played the maps Blood & Iron or Republique (both rather similar) with the invincible cities and such, that would be helpful (although not necessary).

The cities must be able to switch between each other (they're basically gateways, although some have stargates) - if an undefended city (no buildings and no units) is attacked (enemies around it), it must spawn troops. If the troops are beaten off, and all defenders are eliminated, then the city is captured. If it is not, then the city is taken.

Could some people help me lay this out? I have suspicions and ideas, but your help will probably shave a week or two off the production time.
Report, edit, etc...Posted by DT_Battlekruser on 2004-07-23 at 00:42:47
Hmmm, do you want a map or triggers? Here's some triggers:

Players:
-Defenders

Conditions:
-Attackers Bring atLeast 1 Men to "City"
-Switch "city captured" is clear

Actions:
-Create 3 Marine at "city center" for Defenders
-Wait 1000
-preserve trigger

Players:
-Attackers

Conditions:
-Attackers bring at least 1 men to "city center"
-Defenders Bring at most 0 marine to "city"
-switch "city captured" is clear

Actions:
-Set Switch "city captured"
-Give Buildings owned by defenders at "city" to Attackers.
-Preserve Trigger


Make the buildings invincible.

Locations:
"city" - the area of the whole city
"city center" - the center or nexxus of the city, attackers must take this
Report, edit, etc...Posted by Montgomery on 2004-07-23 at 13:06:37
Alright, that makes sense. I'll probably use a couple variations on that theme. Thanks!

Ok, I have some trouble with the INCOME system as well, as the title shows. Basically, I need the leaderboard to display the income value (calculated by the amount of cities, factories, national capitals, resources and sea trades owned by a player, as well as a reduction based on their unit amount [upkeep].) This income value is constant, and every second (or two) the player recieves their income value (leaderboard number) into minerals (money). As well, they recieve manpower in the traditional method - they recieve the amount every 3 game months (every minute and a half - a game year is 6 minutes).

Any additional help with these two problems would be appreciated.

And I need to do triggers for every single city and port. The plan is so moving onto them sorta sets of a trigger, which in turn centers the city location onto the city under attack... but I'm not sure.
Next Page (1)