Jump to content


Yamaneco's Content

There have been 3 items by Yamaneco (Search limited from 05-April 19)


By content type

See this member's

Sort by                Order  

#877912 Bug with Fire Munitions

Posted by Yamaneco on 28 February 2012 - 06:08 PM in BFME2 & RotWK Modding

Solved.



#877867 Bug with Fire Munitions

Posted by Yamaneco on 28 February 2012 - 09:40 AM in BFME2 & RotWK Modding

It is clear. But how to correct a bug?



#877749 Bug with Fire Munitions

Posted by Yamaneco on 27 February 2012 - 03:10 PM in BFME2 & RotWK Modding

BFME II.

I have a bug with Flaming Munitions (upgrade of the fortress of Mordor). If i purchase it, then after buy Lata Moat, Flaming Munitions again available for buy, button is active, but i see text "This upgrade has already been purchased." and pressing on button in vain.

In a file upgrade.ini I have found out these lines:

////---- MORDOR ---------------------------------------------------------------------

////Mordor Fortress Upgrades
Upgrade Upgrade_MordorFortressFireArrowsTrigger //// You actually buy this one, which gives the one below to the whole castle
	Type			= PLAYER;OBJECT
	BuildCost		= MORDOR_FIREARROWS_BUILDCOST
	BuildTime		= MORDOR_FIREARROWS_BUILDTIME
	DisplayName			= UPGRADE:FortressFireArrows
	ResearchSound	= UpgradeMordorFortressFlamingMunitions
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

Upgrade Upgrade_MordorFortressMorgulSorceryTrigger
	Type				= OBJECT
	BuildCost			= MORDOR_MORGULSORCERY_BUILDCOST
	BuildTime			= MORDOR_MORGULSORCERY_BUILDTIME
	DisplayName			= UPGRADE:FortressMorgulSorcery
	ResearchSound		= UpgradeMordorFortressMorgulSorcery
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

Upgrade Upgrade_MordorFortressMorgulSorcery
	Type			= OBJECT
	BuildCost		= MORDOR_MORGULSORCERY_BUILDCOST
	BuildTime		= MORDOR_MORGULSORCERY_BUILDTIME
	DisplayName			= UPGRADE:FortressMorgulSorcery
;ResearchSound	= UpgradeMordorFortressMorgulSorcery
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

Upgrade Upgrade_MordorFortressDoomPyres
	Type			= OBJECT
	BuildCost		= MORDOR_DOOMPYRES_BUILDCOST
	BuildTime		= MORDOR_DOOMPYRES_BUILDTIME
	DisplayName			= UPGRADE:FortressDoomPyres
	ResearchSound	= UpgradeMordorFortressDoomPyres
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

Upgrade Upgrade_MordorFortressMagmaCauldrons
	Type			= OBJECT
	BuildCost		= MORDOR_MAGMACAULDRONS_BUILDCOST
	BuildTime		= MORDOR_MAGMACAULDRONS_BUILDTIME
	DisplayName			= UPGRADE:FortressMagmaCauldrons
	ResearchSound	= UpgradeMordorFortressMagmaCauldron
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

Upgrade Upgrade_MordorFortressLavaMoat
	Type			= OBJECT
	BuildCost		= MORDOR_LAVAMOAT_BUILDCOST
	BuildTime		= MORDOR_LAVAMOAT_BUILDTIME
	DisplayName			= UPGRADE:FortressLavaMoat
	ResearchSound	= UpgradeMordorFortressLavaMoat
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

////Mordor Fortress Monument
Upgrade Upgrade_MordorFortressGorgorothSpire
	Type			= OBJECT
	BuildCost		= MORDOR_GORGOROTHSPIRE_BUILDCOST
	BuildTime		= MORDOR_GORGOROTHSPIRE_BUILDTIME
	DisplayName		= UPGRADE:FortressGorgonothSpire
	ResearchCompleteEvaEvent	= UpgradeGorgonothSpire
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

;--------------------------

Source:
---------------------------------
Upgrade Upgrade_MordorFortressFireArrowsTrigger //// You actually buy this one, which gives the one below to the whole castle
	Type			= PLAYER;OBJECT
	BuildCost		= MORDOR_FIREARROWS_BUILDCOST
	BuildTime		= MORDOR_FIREARROWS_BUILDTIME
	DisplayName			= UPGRADE:FortressFireArrows
	ResearchSound	= UpgradeMordorFortressFlamingMunitions
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

I have changed type player to type object and have received it:

Upgrade Upgrade_MordorFortressFireArrowsTrigger //// You actually buy this one, which gives the one below to the whole castle
	Type			= OBJECT;PLAYER
	BuildCost		= MORDOR_FIREARROWS_BUILDCOST
	BuildTime		= MORDOR_FIREARROWS_BUILDTIME
	DisplayName			= UPGRADE:FortressFireArrows
	ResearchSound	= UpgradeMordorFortressFlamingMunitions
	SkirmishAIHeuristic = AI_UPGRADEHEURISTIC_FACTORY_UNITUNLOCK;;AI_UPGRADEHEURISTIC_FORTRESS
End

And almost all is good. Button "Fire Munitions" doesn't become again active after purchase "Lava Moat".
But there is much more awful problem.
Archers on the barricades attached to a fort, don't receive fiery arrows.

Somebody can help me? :?:

P.S. Sorry for bad english.