Author Topic: Change unit commands  (Read 16732 times)

Offline SoobNaibot

  • Peon
  • **
  • Posts: 4
    • View Profile
Change unit commands
« on: December 09, 2025, 03:42:39 PM »
Hi all guys: I need an editor for WC2 Bnet/Combat Edition that allows to change unit commands, spells etc... for example train critters on farms, train heroes in great/town hall etc... if this exist please. Thanks in advance

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 475
    • View Profile
Re: Change unit commands
« Reply #1 on: December 09, 2025, 04:02:31 PM »

Offline SoobNaibot

  • Peon
  • **
  • Posts: 4
    • View Profile
Re: Change unit commands
« Reply #2 on: December 09, 2025, 04:26:18 PM »
thanks for the reply: i'm trying to convert Rituals of Rebirth for WC2 combat edition: all done except the commands. But that trigger editory seems EXTREMELY difficult and absolutely not noob friendly but I'll try it anyway. This means I have to modify every single.pud (14 maps)?
« Last Edit: December 09, 2025, 04:30:38 PM by SoobNaibot »

Offline Mistral

  • Administrator
  • Axe Thrower
  • *****
  • Posts: 475
    • View Profile
Re: Change unit commands
« Reply #3 on: December 09, 2025, 05:59:18 PM »
oh i see, ROR remake? I myself wanted to do this too at some point, but our team currently working on new Alaunter 2 custom campanign.
not even saying that some things prob will must be done by yourself because ROR wasnt completed i think last version was like 0.98 or 99 and because of that there was some units that wasnt working properly, original developers never finished it.

So about that, for those purposes triggers editor will not do. It was created mostly as a means to change mission victory and lose triggers, along with some custom functions. And although yes this IS includes creating critters from farms and heroes from TH.
But still all of those features are pre harcoded and things what you want is impossible to custom setup here with just this program.
also funny enough but ROR actually does NOT changed original triggers from human dark portal campanign missions, they just remaked it so much it wasnt that obvious until someone think hard about it to notice.

The only way to normally remake ROR is to manually write C++ code plugin, like me did for our team custom campanigns.
example of our last campanign code is here https://github.com/Mistral-war2ru/War2RedMistPrequel
you can check out to find functions to change buttons for example
functions like buttons_init_all() and make_button() etc etc

Offline SoobNaibot

  • Peon
  • **
  • Posts: 4
    • View Profile
Re: Change unit commands
« Reply #4 on: December 10, 2025, 07:36:08 AM »
Then I fear this is far beyond my capabilities: anyway I can upload the incomplete version, just a few things left to do and with the new command will be playable: I'm quite old to remember RoR very well since I'm the one who uploaded it here some years ago (with another user name, I had to make a new account since I don't have access to my old email since 5 years). Some bugs should be easy to fix (seer flying instead of walking and having no voice), missing gold mine in level 8 (I'm sure the authors forgot to put them because that map is simply IMPOSSIBLE).