Jump to content
Gregor8356

Tutorial How to Make a mod with Situvn's Br Data Editor

Recommended Posts

 

For the beginning:
 
You need to go and download Data Editor
 
 from Here:
 


http://forums.gamingterritory.com/topic/28424-battle-realms-data-editor-by-situvn/
 
After download usually files are rar or other compressed files so make sure you have a decompressor program RAR or 7ZIP or familiar
 
decompress to one folder 
 
go to exe file and open it
 
Should look like this :
 

 




 xpd1zo.jpg



Basics:
 
 To Change :
Helth go toData_Units Column /  Data_Units.MaxHealth choose unit and select needed value 

 

 

4i0cw0.jpg

 


 
Unit Rice,Water,Yin/Yang cost - go to: Data_Units.RiceTrainCost , Data_Units.WaterTrainCost ,
 Data_Units.YinYangTrainCost    and from the Column  choose needed value 

 

1ysj1t.jpg


 
Strength Damage (attack of unit)- go toData_Units.PrimaryWeapon  if you want changedamade second weapon choose from column a weapon remember the number and go to Data_Weapons.Type locate your selected weapon /number and change from Data_Weapons.BaseDamage  to needed value 
and also you can set damage from Yin/Yang points  works only when you have that points ; go to Data_Units.YinYangDamageIncrementor  and set needed value from column

 

2l95c3r.jpg210hppi.jpgv4uo2g.jpg

 

Stamina  - to change go to data tab select unit and find: Data_Units.InitialFatigue( mean how much) / Data_Units.MaxFatigue (mean maximal) / and/  Data_Units.FatigueRecovery (mean how fast) tihs also is related to Helth the same

 

2pt2zdg.jpg

Movement speed of unit - go to unit and selct unit and find column : Data_Units.DirtSpeedMultiplier / Data_Units.ForestSpeedMultiplier / Data_Units.GrassSpeedMultiplier / Data_Units.MudSpeedMultiplier / Data_Units.RiceSpeedMultiplier / Data_Units.RockSpeedMultiplier / Data_Units.SnowSpeedMultiplier / Data_Units.WaterSpeedMultiplier 
 
These settings correspond to a substrate on which it is running unit ,1 '- by default ,below the slower ,above  faster .
 
Armor defense of unit - are 6 gropus of the armors  seting value 1 mean susceptible on impacts and 0 not susceptible on impacts when this value is set  to unit can only be killed from poisonous weapons, go to Data_Units.AMCutting / Data_Units.AMPiercing / Data_Units.AMBlunt /  Data_Units.AMFire / Data_Units.AMExplosive  /Data_Units.AMMagical 

this is related to wepon type and armor can reduce the specific type of wepon hit impact

 

k2d2k8.jpg

34qa3as.jpg


 
Changing Heroes from keep's also other buildings :
Only in Dragon Clan is dispalyed 6 heroes other Clans 5 but in memory can be use 6 so:
go to Data_Buildings.UnitIn1 to any training building and and simlpy select unit to train
next go toData_Buildings.UnitOut1 to select unit which popup after training next select time to train:Data_Buildings.UnitTrainingTime1 and this is it about seting all next units only will have change numbers like this Data_Buildings.UnitIn2 /Data_Buildings.UnitOut2/Data_Buildings.UnitTrainingTime2  so next will be 3..4..5..6 the same with other buildings.
 

 

r8if46.jpg


 
About summoning  more units from BG(battle gear):
go to ability  of related BG (for example: 230 - ABILITYTYPE_WILDEYE_WILDRHYTHMS or 87 - ABILITYTYPE_NECROMANCER_SPIRITWARRIOR ) then to set max summoned units
go Data_Abilities.MaxCreatedUnits   then choose spawn unit type
Data_Abilities.CreatedUnitType
 
Make New  Bg:
You need  to use : Data_Abilities.Type / 
 
ABILITYTYPE_RESERVED_04 / ABILITYTYPE_RESERVED_05  / ABILITYTYPE_RESERVED_06 / ABILITYTYPE_RESERVED_07 / ABILITYTYPE_RESERVED_08 / ABILITYTYPE_RESERVED_09
 
and
 
 ZZ_ABILITYTYPE_RESERVE_00 /  ZZ_ABILITYTYPE_RESERVE_01 / ZZ_ABILITYTYPE_RESERVE_02 /    
 ZZ_ABILITYTYPE_RESERVE_03 /  ZZ_ABILITYTYPE_RESERVE_04 / ZZ_ABILITYTYPE_RESERVE_05 /
 ZZ_ABILITYTYPE_RESERVE_06 /  ZZ_ABILITYTYPE_RESERVE_07 / ZZ_ABILITYTYPE_RESERVE_08 /
 ZZ_ABILITYTYPE_RESERVE_09
 
and do exactly the same as the existing ones
and then go to:Data_BattleGear.Type / choose one of this
 
 BATTLE_GEAR_RESERVED_00 /  BATTLE_GEAR_RESERVED_01 /  BATTLE_GEAR_RESERVED_02
 BATTLE_GEAR_RESERVED_03 /  BATTLE_GEAR_RESERVED_04 /  BATTLE_GEAR_RESERVED_05
 BATTLE_GEAR_RESERVED_06 /  BATTLE_GEAR_RESERVED_07 /  BATTLE_GEAR_RESERVED_08
 BATTLE_GEAR_RESERVED_09 / ZZ_BATTLE_GEAR_RESERVE_00 / ZZ_BATTLE_GEAR_RESERVE_01
 ZZ_BATTLE_GEAR_RESERVE_02 / ZZ_BATTLE_GEAR_RESERVE_03 /  ZZ_BATTLE_GEAR_RESERVE_04
 ZZ_BATTLE_GEAR_RESERVE_05 / ZZ_BATTLE_GEAR_RESERVE_06 / ZZ_BATTLE_GEAR_RESERVE_07
 ZZ_BATTLE_GEAR_RESERVE_08 / ZZ_BATTLE_GEAR_RESERVE_09
 
go to Data_BattleGear.AbilityType set
and set your maded ability and then goto: Data_Units choose unit you want to add your new bg and go to that unit to section: Data_Units.DefaultBattleGear  and set your choosed BG from (  BATTLE_GEAR_RESERVED_00 / BATTLE_GEAR_RESERVED_01/
BATTLE_GEAR_RESERVED_02 /etc. )
 
Seting population low ,noraml ,high :
 
LOW:
 
Data_Clans.LowUnitCap
 
NORMAL:
 
Data_Clans.NormalUnitCap
 
HIGH:
 
Data_Clans.HighUnitCap
 
Accordingly:
 
1LINE DRAGON CLAN
2LINE HERO CLAN
3LINE LOTUS CLAN
4LINE SEPENT CLAN
5LINE UNALIGNED mean animals and other units like Nightvol,shale spiders monks,ninja
6LINE WOLF CLAN
 
PEASANT SPAWN RATE:
 
Depends on three coefficients:
 
1.Data_Clans.MinTimeToCreatePeasant   - mean when peasants number is smal they pop up quick
 
2.Data_Clans.MaxTimeToCreatePeasant - mean when peasants number is big they pop up slow
 
and
3.Data_Clans.FastUnitPercent  - and this is percent off first and last unit speed value
 
 
Visible range of unit :
 
Go to  Data_Units  select unit and go to Data_Units.LOS and set 1-30 max. 
 
this gonna be continued ...
 
Any questions simply ask, I try to answer of course if I know the answer :)

make a colors :

need:
- any program with color editor RGB
like on a pictuere I use photoshop cs
also calculator
inpicture i show how to make a DARK TURQUOISE

this color have value OF RED,GREN,BLUE

R 41
G 153
B 153

 

otlyxz.jpg

 

 

72f4ee.jpg

5eiveo.jpg


to calculate right number to put in editor need to do this

R 41/255=0,160~
G 153/255=0,6
B 153/255=0,6

next go to editor end put to team colors 1 team 2 team etc.

in R 0,160
G 0,6
B 0,6
to get DARK TURQUOISE AND SAVE DONE
 
MAKING AN CREATURES ON A MAP :

 


 5nkc29.jpg

Edited by Gregor8356
  • Like 2
  • Upvote 3

Share this post


Link to post
Share on other sites

good question  I almoust forgot about that simply in main menu file should be a save soon I try to upload a image exactly where it is :)

Edited by Gregor8356

Share this post


Link to post
Share on other sites

Ok thx :D the normal save in File->save doesn't work's :D

 

all you have to do is modify and exit the editor and select save yes :)

Edited by Gregor8356

Share this post


Link to post
Share on other sites

Thx :)

But the game crashed every time if I try summon nightvol (I switch soban with nightvol)

BC Nightvol is a monster and need a tooltip :)

here:

Data_Units.TooltipDesc

and I am not sure maybe this one too:

Data_Units.TooltipDesc2

Share this post


Link to post
Share on other sites

BC Nightvol is a monster and need a tooltip :)here:

Data_Units.TooltipDesc

and I am not sure maybe this one too:

Data_Unitts.TooltipDesc2

Ok thx I will try it

Share this post


Link to post
Share on other sites

Very good we coming nearly to the end :D

 

 

So ok tell me if you got some problems so I can Increase the turitial :]

Share this post


Link to post
Share on other sites

So ok tell me if you got some problems so I can Increase the turitial :]

 

ok everything is fine and it works.... thank you for that... but i have to know two more thing and that is: how can i make a default BG to Nightvol who can summon hordelings  and secound i try to change soban's BG with the golems and swich the unit golem with hordelings and give that ability to Nightvol, i try it on the game but it dosent works....

Share this post


Link to post
Share on other sites

how can i make a default BG to Nightvol who can summon hordelings 

 

This part is more complicated, soon I try to write about this.

secound i try to change soban's BG with the golems and swich the unit golem with hordelings and give that ability to Nightvol, i try it on the game but it dosent works....

 

Probably you do it in the  wrong way :D

Share this post


Link to post
Share on other sites

how do you add training cost at different buildings like Stables?


how do you make someone train at dragons monument with training cost and training duration without removing the dockunit and dockedability value

Share this post


Link to post
Share on other sites

ok

 

this is how it is

 

 

cost of rice/ water units are in units sction

 

in building section  rice and water responsible for buildings

 

and

 

DockUnit and dockedabilty column value are different and they are different sets

 

DocUnit allow you to set numbers of docking units time to create new one and set ability


simlply colud you tell me what you want to do maybe I can help

 

if you want to normaly train to monument a unit go to section buildings and munument trainings

 

set wonted values and done  e.g

 

Data_Buildings.UnitIn1 / vlue 05

Data_Buildings.UnitOut1 /value 100

Data_Buildings.UnitTrainingRate1/ value 1

Data_Buildings.UnitTrainingTime1 / value25 - (25sec)or somethig like that

save done

Share this post


Link to post
Share on other sites

hmmmm...

 

let's  see

 

there is one but not the one for which you expect

 

what that mean

 

 

that mean you can train other unit and extra monk's /ninja's will pop up

 

or simply train in the building from unit

Edited by Gregor8356

Share this post


Link to post
Share on other sites

what do you mean range you mean attack

 

or visual area


oh okay

but not simply to just allow more monks/ninjas to come out of the keep?

 

yes thats not work bc it writed in exe file

Share this post


Link to post
Share on other sites

how to make computer player using the mod?

probably you to think why edited units/ heroes are not used by Ai bot :
and this too related to custom made BGs
solutions are:
 
1.the easiest way is to swap the code of unit but this mease the story mode but it works notto 100% but some ting like 80%
 
2.expand standard BG to create unit
 
3.set to starting army
 
4.add the training with this except that peasant unit must be other clan and it only work to special buildings like 1/2/3 building of training
 
5.add and modify innate to create a hero /unit
 
THE REST SHOULD BE USED BY AI

Share this post


Link to post
Share on other sites

probably you to think why edited units/ heroes are not used by Ai bot :

and this too related to custom made BGs

solutions are:

1.the easiest way is to swap the code of unit but this mease the story mode but it works notto 100% but some ting like 80%

2.expand standard BG to create unit

3.set to starting army

4.add the training with this except that peasant unit must be other clan and it only work to special buildings like 1/2/3 building of training

5.add and modify innate to create a hero /unit

THE REST SHOULD BE USED BY AI

how to swap the code of unit ? ,can i use mod editor situvn or hex editor?

it is possible to make AI use the new BG or training new unit ?

  • Like 1

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.

Guest
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

×
×
  • Create New...