Introducing Frontlines, a small mod with a big ambition. Frontlines plans to bring new exciting content, revitalize the stale game-play mechanics of Zero Hour, and to provide both an interesting single player and multiplayer experience. Frontlines is an open-source mod, our assets are free to use, as long as we are credited.

  • View media
  • View media
  • View media
  • View media
  • View media
Report RSS Component Gattling Cannon (view original)
Component Gattling Cannon
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
pericanet
pericanet - - 650 comments

exelent

Reply Good karma Bad karma+1 vote
crazy..tira
crazy..tira - - 924 comments

interesting concept

Reply Good karma Bad karma+1 vote
flashknight33 Creator
flashknight33 - - 1,672 comments

impressive

Reply Good karma+1 vote
C&C_Burger
C&C_Burger - - 2,040 comments

Nice idea! Also nice red alert 2 style update. :p

Reply Good karma Bad karma+1 vote
BananaClip
BananaClip - - 1,130 comments

Good idea for a modular design, although which target will it pick if it is armed with both an anti-tank cannon and the gattling cannon, and air and ground targets enter it's range at the same time?

Reply Good karma Bad karma+1 vote
JJ_ Author
JJ_ - - 55 comments

Probably random, same as what a normal Gattling Cannon would. You can't really change that.

Reply Good karma+1 vote
precision_bomber Creator
precision_bomber - - 314 comments

From what I understand, the object will check across three of it's allowable weapons as soon as an enemy object approaches their VisionRange. Once the object finds a weapon to deal with the enemy object, it will use it on that until the either:
a) the object is killed
b) it has gone off-range(unless the object is mobile, it will instead pursue the object)

That's how it picks the targets.
Now what if it's multiple targets at once?
The first target will always be the one to get to object's VisionRange first and if the object has the appropriate weapon to use.
Then the second target will based on how near it is from the object[sic] and once more if it has the appropriate weapon.

It get more complicated if there's two kinds of units engaging the object, an air unit, and a ground. Typically, it will engage the air unit first if their anti-air weapon has that range, otherwise it will almost always use the PRIMARY weapon of the object if the PRIMARY weapon of the object can engage the appropriate target(it will if it's an anti-ground weapon) otherwise it moves on to the next weapon-- this is why you set PreferredAgainst on the weaponsets to speed up the process.

You can mitigate the issue of engaging multiple targets if the object is actually a bunker with pre-garrisoned units that you can't evacuate it's just that their weapons come out from the guns of the turret since garrisoned units have their own targeting-- hence give your targeting having two or more brains.

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

The Component Gattling Cannon is General Yang’s main defence. It directly replaces the Gattling Cannon, while the Bunker is removed. It is armed with a single gattling cannon by default, each of which does 60% the damage of one Gattling Cannon defence of other Chinese generals. Once built, the player has the option to choose from either upgrading it with a flamethrower, an anti-tank cannon or another gattling cannon. It has a slightly lower build cost, without including the upgrade cost. Its armour however is the same as the default Gattling Cannon.