Jump to content


Photo

Deleting timer on summon powers


  • Please log in to reply
5 replies to this topic

#1 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 09 December 2015 - 11:10 AM

Hi people, yesterday I removed a lot of timers from many summon powers such as Balrog, Shade Wolf, Wyrm, Watcher, cavebats, spiderlings, crebain etc.

Now there's a problem: for some summon powers I want to delete the timer but at the same time I want to disable the button on the palantir until they are dead. For example Tom Bombadil, I really don't want to see an army of Tom Bombadils, because Tom Bombadil is only one.

How to stop the button from rigenerating itself until Tom Bombadil is dead?



#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 09 December 2015 - 12:37 PM

That right there is a good question...

I'm not certain if this can be done via INI code, this depends, see if your powers are paused from recharging if you destroy all your fortresses after casting the spell.

If so I may have a way to do this cleanly without resorting to map scripts (which is the worst method you could possibly want..)


Ridder Geel

#3 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 09 December 2015 - 03:23 PM

Uhm that's too complicated...if I destroy the fortress, the power continues to recharge. I was thinking...and if I simply change that timer? For example: the recharging time of the summon power is 5 minutes. I set the life time of Tom Bombadil to 4 minutes and 45 seconds so to have only one Tom Bombadil in any time and 15 seconds of waiting from one to the other

Could it be a good solution?



#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 10 December 2015 - 09:20 PM

Well yes that would work :p

Is that not the case with the original unmodded powers?


Ridder Geel

#5 Lusta

Lusta
  • Members
  • 98 posts
  • Location:Hungary

Posted 10 December 2015 - 09:50 PM

This might work:

Purchuasing the power gives you an upgrade, that let you summon Tom.

When Tom Summoned he will have similar like this:

 
Behavior = RemoveUpgradeUpgrade ModuleTag_RemoveRing
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction
UpgradeToRemove = Upgrade_RingHero Upgrade_FortressRingHero
RemoveFromAllPlayerObjects = Yes
SuppressEvaEventForRemoval = Yes 
End
 
When Tom dies, he give the upgrade back by an unseen ocl spawn that dies fast.

(Lusta means Lazy)

my mod beta is linked here


#6 yakuzaBoss

yakuzaBoss
  • Members
  • 85 posts

Posted 16 December 2015 - 11:12 AM

 

This might work:

Purchuasing the power gives you an upgrade, that let you summon Tom.

When Tom Summoned he will have similar like this:

 
Behavior = RemoveUpgradeUpgrade ModuleTag_RemoveRing
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction
UpgradeToRemove = Upgrade_RingHero Upgrade_FortressRingHero
RemoveFromAllPlayerObjects = Yes
SuppressEvaEventForRemoval = Yes 
End
 
When Tom dies, he give the upgrade back by an unseen ocl spawn that dies fast.

 

Thanks I'll try it later :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users