Jundiyy
  • Jundiyy
  • 50.25% (Neutral)
  • Captain Topic Starter
8 years ago
http://www.cnclabs.com/forums/cnc_postst17588_Making-a-command-button-for-firing-and-another-for-choices.aspx 
My problem there was to make the artillery platform shoot 3 different clips of rockets, still have the problem of the first button constantly shooting until I stop it. But anyway, todays problem is same building but different problem now.

I initially added the mines to this building as it's for china (check pic) it worked, then I messed around with it, added the 3 types of weapon that I mentioned in the link above and not sure what I did but the mines are blurred out.

So any ideas anyone?



Behavior = GenerateMinefieldBehavior ModuleTag_Mine04
TriggeredBy = Upgrade_ChinaMines
MineName = ChinaStandardMine
SmartBorder = Yes
AlwaysCircular = Yes

Upgradable = Yes
UpgradedTriggeredBy = Upgrade_ChinaEMPMines
UpgradedMineName = ChinaEMPMine
End

Behavior = CommandSetUpgrade ModuleTag_Mine25
CommandSet = ChinaArtilleryBarrageDefenceCommandSetUpgrade
TriggeredBy = Upgrade_ChinaMines
End
Behavior = ArmorUpgrade ModuleTag_Mine26
TriggeredBy = Upgrade_ChinaEMPMines
End
  Mines.png (2,471kb) downloaded 12 time(s).
Sponsor
acidbrain
8 years ago
Did you add a production update module?

Behavior = ProductionUpdate Module_PU
  ;<No Data>
End

Cheers
Panem et kirkinses
Jundiyy
  • Jundiyy
  • 50.25% (Neutral)
  • Captain Topic Starter
8 years ago
Fantastic! Works a treat, thanks so much, not sure how I managed it first time then somehow got rid of it, maybe because I copied and pasted all of the engineering or perhaps deleted it.
What and why is that production update important? I mean for future if I want to make another building - how do I know I will need it?
acidbrain
8 years ago
If a building/unit is able to construct units/buildings and/or has upgrades you need a ProductionUpdate module.

Cheers
Panem et kirkinses
Unknown Editor
8 years ago
Not sure about upgrades , but about Units , Production Update is Really Important ; for example the time Doors will get opened !
and much more I don't remember 😃
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
acidbrain
8 years ago


Not sure about upgrades

Unknown Editor wrote:


I am


I initially added the mines to this building

JUndiyy wrote:


Mines is an upgrade and it is working now because he added the ProductionUpdate module...;P

Cheers


Panem et kirkinses
Unknown Editor
8 years ago
Well , I mean if you wanna construct a unit , You can use production update for doors , then Rally Points and etc ...
But about Upgrades ... are they really using or requesting anything ?

Well , come and more think about it , might be done for "Max Quantity" (Just for this? or anymore usage for Upgrading?)
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%