Jump to content


Photo

Fortress RingFX

fortress ringfx

Best Answer King Arveleg, 13 August 2019 - 06:40 PM

It just occured to me to check the ringhero.ini; Galadriel.ini. 

 

I added Upgrade_ArnorFaction here, and now it works.

 

ChildObject ElvenGaladriel_RingHero ElvenGaladriel


; Player no longer has the ring hero upgrade when the hero is created.
Behavior = RemoveUpgradeUpgrade ModuleTag_RemoveRing
TriggeredBy = Upgrade_ArnorFaction Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction
UpgradeToRemove = Upgrade_RingHero Upgrade_FortressRingHero
RemoveFromAllPlayerObjects = Yes
SuppressEvaEventForRemoval = Yes ; this is to avoid the Eva event about 'Gollum stole our ring'
                                 ; when we are actually losing the upgrade because we built the ring heroine
End


; Spawn a dropped ring object.
Behavior = CreateObjectDie ModuleTag_DropTheRing
CreationList = OCL_TheOneRing
End


Behavior = ExperienceLevelCreate ModuleTag_LevelBonus
LevelToGrant = 10
MPOnly = No
End
Go to the full post


  • Please log in to reply
1 reply to this topic

#1 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 02 August 2019 - 05:39 PM

Hi,

 

So I get the One Ring to Arnor fortress, and purchase the ring hero. The ring hero spawns, but the OneRingFlareFX remains above my fortress.

 

How can I make it function like in other factions, make it disappear once the ring hero is purchased?

 

Thanks in advance. :)



#2 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 13 August 2019 - 06:40 PM   Best Answer

It just occured to me to check the ringhero.ini; Galadriel.ini. 

 

I added Upgrade_ArnorFaction here, and now it works.

 

ChildObject ElvenGaladriel_RingHero ElvenGaladriel


; Player no longer has the ring hero upgrade when the hero is created.
Behavior = RemoveUpgradeUpgrade ModuleTag_RemoveRing
TriggeredBy = Upgrade_ArnorFaction Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction
UpgradeToRemove = Upgrade_RingHero Upgrade_FortressRingHero
RemoveFromAllPlayerObjects = Yes
SuppressEvaEventForRemoval = Yes ; this is to avoid the Eva event about 'Gollum stole our ring'
                                 ; when we are actually losing the upgrade because we built the ring heroine
End


; Spawn a dropped ring object.
Behavior = CreateObjectDie ModuleTag_DropTheRing
CreationList = OCL_TheOneRing
End


Behavior = ExperienceLevelCreate ModuleTag_LevelBonus
LevelToGrant = 10
MPOnly = No
End

Edited by King Arveleg, 13 August 2019 - 06:43 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users