Jump to content


Photo

TechCenter Upgrades


  • Please log in to reply
2 replies to this topic

#1 Hideyasu

Hideyasu
  • Members
  • 26 posts

Posted 04 December 2015 - 12:11 AM

Hello

 

I have a problem with the updates, as you can see I have described the new updates and normally it should be indeed taken,

ArmoryCenter has no errors

 

But since I have the edited assign with new can be no longer display the TechCenter ..

 

TechCenter:

			<SubObjectsUpgrade
				id="ModuleTag_Upgrade_Railgun"
				ShowSubObjects="UG_Rail">
				<CustomAnimAndDuration
					AnimState="USER_1">
				</CustomAnimAndDuration>
				<TriggeredBy>Upgrade_Railgun</TriggeredBy>
			</SubObjectsUpgrade>
			<SubObjectsUpgrade
				id="ModuleTag_Upgrade_Mortars"
				ShowSubObjects="UG_Mortar B_MortarRound_1">
				<CustomAnimAndDuration
					AnimState="USER_2">
				</CustomAnimAndDuration>
				<TriggeredBy>Upgrade_PitbullMortar</TriggeredBy>
			</SubObjectsUpgrade>
			<SubObjectsUpgrade
				id="ModuleTag_Upgrade_Boosters"
				ShowSubObjects="UG_Boost">
				<CustomAnimAndDuration
					AnimState="USER_3">
				</CustomAnimAndDuration>
				<TriggeredBy>Upgrade_FirehawkStratofighterBooster</TriggeredBy>
			</SubObjectsUpgrade>
			<SubObjectsUpgrade
				id="ModuleTag_Upgrade_Sensor_Pods"
				ShowSubObjects="UG_Scan">
				<CustomAnimAndDuration
					AnimState="USER_4">
				</CustomAnimAndDuration>
				<TriggeredBy>Upgrade_OrcaSensorPod</TriggeredBy>
			</SubObjectsUpgrade>

LogicCommand:

	<LogicCommand id="Command_UpgradeRailgun"
		Type="PLAYER_UPGRADE">
		<Upgrade>Upgrade_Railgun</Upgrade>
	</LogicCommand>
	<LogicCommand id="Command_UpgradePitbullMortar"
		Type="PLAYER_UPGRADE">
		<Upgrade>Upgrade_PitbullMortar</Upgrade>
	</LogicCommand>
	<LogicCommand id="Command_UpgradeFirehawkStratofighterBooster"
		Type="PLAYER_UPGRADE">
		<Upgrade>Upgrade_FirehawkStratofighterBooster</Upgrade>
	</LogicCommand>
	<LogicCommand id="Command_UpgradeOrcaSensorPod"
		Type="PLAYER_UPGRADE">
		<Upgrade>Upgrade_OrcaSensorPod</Upgrade>
	</LogicCommand>

LogicCommandSet:

	<LogicCommandSet id="GDITechCenterCommandSet">
		<Cmd>Command_UpgradeRailgun</Cmd>
		<Cmd>Command_UpgradePitbullMortar</Cmd>
		<Cmd>Command_UpgradeFirehawkStratofighterBooster</Cmd>
		<Cmd>Command_UpgradeOrcaSensorPod</Cmd>
		<Cmd>Command_TogglePower</Cmd>
		<Cmd>Command_SelfRepair</Cmd>
		<Cmd>Command_Sell</Cmd>
	</LogicCommandSet>

UnitAbilityButtonTemplates:

			<PlayerUpgradeButton
				Id="Command_UpgradeRailgun">
				<State
					Image="Button_UpgradeRailgun"
					Title="NAME:Railgun"
					Description="DESC:Railgun"/>
			</PlayerUpgradeButton>
			<PlayerUpgradeButton
				Id="Command_UpgradePitbullMortar">
				<State
					Image="Button_UpgradePitbullMortar"
					Title="NAME:PitbullMortar"
					Description="DESC:PitbullMortar"/>
			</PlayerUpgradeButton>
			<PlayerUpgradeButton
				Id="Command_UpgradeFirehawkStratofighterBooster">
				<State
					Image="Button_UpgradeFirehawkStratofighterBooster"
					Title="NAME:FirehawkStratofighterBooster"
					Description="DESC:FirehawkStratofighterBooster"/>
			</PlayerUpgradeButton>
			<PlayerUpgradeButton
				Id="Command_UpgradeOrcaSensorPod">
				<State
					Image="Button_UpgradeOrcaSensorPod"
					Title="NAME:OrcaSensorPod"
					Description="DESC:OrcaSensorPod"/>
			</PlayerUpgradeButton>

Upgrade:

	<UpgradeTemplate id="Upgrade_Railgun"
		inheritFrom="BasePurchasableUpgrade"
		IconImage="Button_UpgradeRailgun"
		DisplayName="UpgradeName:Railgun"
		AcquireHint="UpgradePrereq:Railgun"
		TypeDescription="UpgradeType:Railgun"
		Description="UpgradeDesc:Railgun"
		Type="PLAYER"
		BuildCost="1500"
		BuildTime="15.0s"/>
	<UpgradeTemplate id="Upgrade_PitbullMortar"
		inheritFrom="BasePurchasableUpgrade"
		IconImage="Button_UpgradePitbullMortar"
		DisplayName="UpgradeName:PitbullMortar"
		AcquireHint="UpgradePrereq:PitbullMortar"
		TypeDescription="UpgradeType:PitbullMortar"
		Description="UpgradeDesc:PitbullMortar"
		Type="PLAYER"
		BuildCost="1500"
		BuildTime="15.0s"/>
	<UpgradeTemplate id="Upgrade_FirehawkStratofighterBooster"
		inheritFrom="BasePurchasableUpgrade"
		IconImage="Button_UpgradeFirehawkStratofighterBooster"
		DisplayName="UpgradeName:FirehawkStratofighterBooster"
		AcquireHint="UpgradePrereq:FirehawkStratofighterBooster"
		TypeDescription="UpgradeType:FirehawkStratofighterBooster"
		Description="UpgradeDesc:FirehawkStratofighterBooster"
		Type="PLAYER"
		BuildCost="1500"
		BuildTime="15.0s"/>
	<UpgradeTemplate id="Upgrade_OrcaSensorPod"
		inheritFrom="BasePurchasableUpgrade"
		IconImage="Button_UpgradeOrcaSensorPod"
		DisplayName="UpgradeName:OrcaSensorPod"
		AcquireHint="UpgradePrereq:OrcaSensorPod"
		TypeDescription="UpgradeType:OrcaSensorPod"
		Description="UpgradeDesc:OrcaSensorPod"
		Type="PLAYER"
		BuildCost="1500"
		BuildTime="15.0s"/>

help me :/

 

 

ps: button image is all compile :)



#2 Madin

Madin

    title available

  • Hosted
  • 686 posts

Posted 04 December 2015 - 04:07 PM

I do not know what you are saying, an actual screen shot of the problem might help.

I do not know whether you are saying that your new buttons do not show up etc.

 

However on the off chance that it is to do with new button images, you have to rename the the 'UnitAbilityButtonTemplateStore' id.

Check out this article: http://cncguild.net/item-151?addview



#3 Hideyasu

Hideyasu
  • Members
  • 26 posts

Posted 05 December 2015 - 02:31 AM

Yes, its work.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users