Jump to content


Photo

Anyone know how to disable the balrog/ army of the dead in singleplayer skirmish?

help confused

  • Please log in to reply
3 replies to this topic

#1 steezyweezey

steezyweezey
  • New Members
  • 2 posts

Posted 11 September 2020 - 05:14 PM

hey guys, first off this community is incredible. i just stumbled across this and man the nostalgia is totally great. i have been trying to play skirmishes where i fight off waves of enemies in helms deep custom maps with a wall full of archers but then the balrog shows up and stomps the rohirrim into oblivion... don't remember that happening in the movies, lol! anyone able to give me some pointers on how to do this without getting game dat errors and crashes on launch? i have tried editing a few different ini's in notepad but the game will never launch with my edits, always have to revert to backup. thanks for any help :)



#2 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Blue Wizard Mod
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 14 September 2020 - 02:13 PM

You have to edit the map itself. Open up worldbuilder (it's in the BFME install directory) and open the map you want to edit. Go Edit -> Scripts -> New Script.

For this particular case, the script properties can remain the same. For the script condition, just leave it at "True", which means the script will always run because the condition is true by default. Go to "Actions if true". Delete the Null Operation, then click "New". A new window pops up. Go to Player -> Upgrades and Sciences -> Set science availability. You now see some editable text in the text field below. These are drop down fields. Make it so it says:

Player '<All Players>' set Science 'SCIENCE_BalrogAlly' availability to Science availability 'Disabled'.

Then click "OK". If you want to disable more sciences, just copy the action that you just defined and change the science name to the science you want to disable. All of that can happen in the same script. It gets executed once at the start of the game.

It should look like this now:

worldbuild.PNG

Click "OK". You can save the map now, but remember to make a back up of the original map beforehand, if you think that's necessary.


26285.png


#3 steezyweezey

steezyweezey
  • New Members
  • 2 posts

Posted 15 September 2020 - 02:46 AM

You have to edit the map itself. Open up worldbuilder (it's in the BFME install directory) and open the map you want to edit. Go Edit -> Scripts -> New Script.

For this particular case, the script properties can remain the same. For the script condition, just leave it at "True", which means the script will always run because the condition is true by default. Go to "Actions if true". Delete the Null Operation, then click "New". A new window pops up. Go to Player -> Upgrades and Sciences -> Set science availability. You now see some editable text in the text field below. These are drop down fields. Make it so it says:

Player '<All Players>' set Science 'SCIENCE_BalrogAlly' availability to Science availability 'Disabled'.

Then click "OK". If you want to disable more sciences, just copy the action that you just defined and change the science name to the science you want to disable. All of that can happen in the same script. It gets executed once at the start of the game.

It should look like this now:

attachicon.gif worldbuild.PNG

Click "OK". You can save the map now, but remember to make a back up of the original map beforehand, if you think that's necessary.

Ah I see, that makes a lot of sense, i see where i went wrong. To save time modifying and reverting all these maps whenever i play villains, is there a way i can make changes to the balrog's stats so that it is at least easier to kill?



#4 Echo

Echo

    T3A:Online

  • T3A Staff
  • 1,069 posts
  • Location:Germany
  • Projects:Blue Wizard Mod
  •  ~~
  • Division:BFME
  • Job:T3A Moderator
  • Donated

Posted 15 September 2020 - 04:25 PM

You can create a map.ini file to override game data. This is a separate file that has to be present in the same folder as the .map file itself. So locate your map, open the folder, and create a new .txt file there (rename it to map.ini) and open it up.

Now you can just paste the armor of the Balrog in this file:

Armor BalrogArmor
  Armor = DEFAULT      1%    ; Likes to have things think they can attack him
  Armor = SIEGE         20% ;25%    ; siege weapons can hurt him
  Armor = STRUCTURAL     25%    ;Structural damage (Ent rocks)
  Armor = MAGIC         100% ; Gandalf can really hurt him.
  Armor = HERO         50%    ; Other heroes can hurt him too.  Watch out for heroes Mr. Balrog!
  Armor = HERO_RANGED     1%    ; Hero bow damage
  Armor = WATER     40% ;100%    ; Arwen damage
End

Change the values to whatever you seem fit. Higher armor value means more vulnerable. Let me know if this works as I've never actually modified armor via map.ini.


26285.png






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users