Jump to content


Lauri

Member Since 02 Jul 2005
Offline Last Active Jan 14 2024 12:49 PM

Posts I've Made

In Topic: One Ring Pickup Mechanic

17 December 2023 - 02:52 PM

The question is: is it possible to somehow destory (or maybe just hide) the attached TheDroppedRing entity?

You should be able to kill it by having the hero(es) triggering a weapon that only targets TheDroppedRing upon recieving the Upgrade_MyFancyUpgrade upgrade, and kills it instantly. You might have to adjust TheDroppedRing's health, I believe there's an InstantlyKilledBy mechanic (though I might misremember the name). You can then decide if the hero will drop a new ring upon death when it has that upgrade, which could again remove Upgrade_MyFancyUpgrade from the hero.

 

At least I don't see an issue with this.


In Topic: Game crash when I enter Isengard quest in campagne

09 July 2023 - 02:53 PM

Then I'm afraid I don't know, sorry.


In Topic: Help me pls which guide to read!

09 July 2023 - 02:53 PM

My suggestion is to simply open up a map from the campaign where you know this happens, and look at the different settings in Teams, Scripts and Waypoints/Areas on the map and what-not.

Helm's Deep or Minas Tirith from the BFME1 campaign, for instance. The first Good mission in BFME2 should work too, I believe, with some Goblins coming in towards the end of the first mission: Rivendell.


In Topic: Hotkeys

09 July 2023 - 02:50 PM

Afraid that's not possible, no.


In Topic: Making an upgradable battle tower 😉

26 June 2023 - 04:22 PM

Well, there is one way, though I do not know if you'll like the side effects. You could simply do the ReplaceSelf module when you research that upgrade (check wall objects (Elves, Men, Dwarves, etc.) for how it's done. Replace your current tower with a new ChildObject of your tower that replace the HordeGarrisonContain module.

 

Issues with that:

  • If the tower is damaged, it will heal up fully. Not sure if you can avoid that in a simple way (though there are ways you could try with LUA to match certain states of destruction, if you really want. It'll still heal up until those specified points, though).
  • If the tower is garrisoned when you upgrade, I'm not sure what happens to the unit inside. I assume they'll simply exit, and you'll have to manually move them back in, along with everything else, but they could also be killed off-screen.