Jump to content

[Tutorial] How to make AI (Bots) training new BG.

Recommended Posts

Posted (edited)

I'm not good English but I wanna tell you guys "How to make AI (Bots) training new BG." :)

***Using Battle Realms Data Editor by SITUVN***

Just step by step

For example : I want Archer to have a third BG and AI can use it.

1.) Go to 'Data_BattleGear' > Choose BG > Choose and create your ability (For example Type : BATTLE_GEAR_RESERVED_09 > AbilityType : ABILITYTYPE_RESERVED_09)

1.1) 'AcquisitionType' This is how you can obtain your ability (also your AI too!), I suggest to use 'BATTLE_GEAR_ACQUIRE_WOLF_DRUIDESS_BLESSING'.

and 'BATTLE_GEAR_ACQUIRE_LOTUS_EAT_PEASANT' is not recommended for Dragon, Serpent, Wolf Clan because AI will try to eat Lotus Peasant only.


2) Go to 'Data_Abilities' > 'ABILITYTYPE_RESERVED_09' > 'UpgradeUnit' change to 'BATTLE_GEAR_ACQUIRE_WOLF_DRUIDESS_BLESSING'

***Don't forget to edit your ability to make it work!***


2.1) Go to '34 - ABILITYTYPE_DRUIDESS_BLESSING' > 'ApplicationOfEffect' change to 'ABILITYTRIGGER_IMMEDIATE'.



3.) Go to 'Data_Units'

3.1) 'UNIT_D_ARCHER' > 'BattleGear3' Change to 'BATTLE_GEAR_RESERVED_09'


***For Dragon, Serpent, Lotus Clan I suggest to use healer.***


It should be like this... (By player)


Okay, next step will make AI obtain a third BG.

4.) Go to 'Data_UnitAndBattleGear' > Type : 'UNITBG_D_ARCHER_NONE' > 'BattleGearType' change to 'BATTLE_GEAR_RESERVED_09'


***'Data_UnitAndBattleGear' should connect with 'Data_UnitToUnitAndBattleGear' and 'Data_UnitToWarPartyEffectiveness'

***'Data_UnitToWarPartyEffectiveness' the higher value = AI training unit/BG often.


All Done.... (By AI)


BUT! the following BG ID. can't activate by AI (Only make it work as passive ability).
-(ID.42-51) BATTLE_GEAR_RESERVED_00 to 09
-(ID.113-122) ZZ_BATTLE_GEAR_RESERVE_00 to 09







Edited by Bill-Undead

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ManiacAle
      i am just learning to make mod, please help me masters
      1. When I upgraded the building why did it crash (for example, I made Shirne so I could upgrade to Soban Lab)
      2. I made wells so that they can slash farmers into monks or ninjas or something crashes during the game
      3. necromancer
      so that you can make more than 1
      skill issued more than 3 troops
      4. In the data_clan hero, can I play the clan hero in skirmish mode?
      i use Situvn's Br Data Editor
      please help me masters
    • By Bill-Undead
      [Mod] Improved Heroes + Summoner (For Steam Version Only)
      General :
       - All clans start with a Summoner, but they won't move! (Special heroes can be summoned)        
       - All heroes can get Techniques / Upgrades.        
       - Disable regeneration rates of all stunned effects.        
       - You will acquire Yin & Yang faster. (All clans can acquire both Yin & Yang)        
       - Yin/Yang damage incrementor : Heroes = 25 - 30 % , Monk/Ninja = 20 % , Minions/Units(Tier3,4) = 5 - 10 %        
       - Inecrase 100 HP of Units tier 3 , 4        
       - Increase damage of some weapons.        
       - Inecrese healing range of Fan Geisha.        
       - Keep HP set to 5,000. (All clans)        
       - Unlimit to build Town Square.        
       - Reduces training time of every Units for -5 seconds.        
       - Peasant spawn rates : min. = 8 sec. / max. = 10 sec.        
       - Maximum population set to : 60/70/80        
       - Max rice capacity = 8,000 / Max water capacity = 4,000        
       - Zombie and Shambler DeregenerationRate set to 0.        
       - Improved Monk & Ninja        
       - Adjust some values in AIWarPartyMakeUps.        
      Dragon Clan
      Serpent Clan
      Lotus Clan
      Wolf Clan
      Latest version : V.1.55.3        
      Download Links :
      Mediafire Mod DB
    • By hecumarine
      Hello everyone. I'm hecumarine and I made huge modification for Battle Realms, it took me only two months to make it but a lot of hard work was put into it. I'm really curious if people will like it, well it's Lotus campaign after all, Battle Realms fans wet dream come true so here it is:
    • By Kalsonic12
      I've been testing out the game on skirmish, and only now I realised that the AI can accumulate more rice and water than you, even if none of the peasants are working. In the last skirmish, all of the clans were Dragon. It was a snow map, so rice growth rate is very minimal. Seeing that I was very successful in harassing their peasants throughout the entire game, I was sure that I would get more resources in the end.
      It didn't. So what gives? Is there anything in the Data Editor that I can use to edit the AI's resource capability?
    • By Kalsonic12
      Since I can't seem to upload files in this forum, I'll just post the link to the mod: http://www.moddb.com/games/battle-realms/downloads/battle-realms2

      More info can be found on the introduction document in the folder.

      Do give me your critiques regarding the mod.
  • Create New...