Jump to content


Photo

BFME2 Game Rules Allow Ring Heroes

bfme2 game rules allow ring hero modding edit

  • Please log in to reply
5 replies to this topic

#1 grunshac

grunshac
  • Members
  • 149 posts

Posted 26 May 2019 - 05:22 PM

Hello guys it's been a while since i have played bfme2 but lately i have started to tweak it again and i was wondering if it is possible to edit somehow what the "Allow Ring Heroes" rule does. My problem is that i made my ring heroes trainable like any other heroes cuz i can't use the ring fuction of the fortress due to the fact that i placed in fortresses a "horde of archers" in order for the building to fire more arrows and it seems like the fortress doesnt have space for the units that carries the ring to go in and deploy it. Sometimes i dont want to see ring heroes on the battlefield but sometimes i do and i was wondering if i can toggle them on and off with an ingame option. Any other solution is welcomed. :)


  • Before likes this

#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 27 May 2019 - 07:11 AM

Wasn't it some Upgrade_RingHero that enables the ring hero to be built?

Otherwise there are worldbuilder scripts that could do it, but that would need to be done for every map...


Ridder Geel

#3 grunshac

grunshac
  • Members
  • 149 posts

Posted 27 May 2019 - 08:09 AM

I didn't find any map scripts or data scripts allowing building the ringheroes. Could it be in libraries or bases folders?


Edited by grunshac, 27 May 2019 - 08:13 AM.


#4 Miraak5

Miraak5

    title available

  • Members
  • 389 posts
  • Location:France
  • Projects:ROTWK Patch 2.02, Wars of the North, BFME1 1.08 Complete Edition
  •  BIG coding, Map scripting and AI coding

Posted 27 May 2019 - 10:44 AM

The rule just enable the spawn of gollum on the map and it's hard codded you can't change it

the best would be to fix your fortress contain thing by removing the archer stuff or by trying to add more slots or stuff like that (look in the fortress code)


Edited by Miraak5, 27 May 2019 - 10:49 AM.

He was the first...


#5 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 27 May 2019 - 12:31 PM

In the libraries folder I believe you can find the gollum spawning scripts, not entirely sure anymore though, it has been a while since i looked at that.


Ridder Geel

#6 grunshac

grunshac
  • Members
  • 149 posts

Posted 30 May 2019 - 12:56 PM

I have managed to do so by creating a script to allow me and the ai to build the ring heroes and a script to grant me the upgrade_ringhero if the allow ring heroes rule is checked


Edited by grunshac, 04 June 2019 - 02:24 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users