Jump to content


Photo

Adding more levels on heroes


  • Please log in to reply
17 replies to this topic

#1 Deathbringer

Deathbringer
  • Members
  • 244 posts
  • Location:I was planted somewhere and now... Who knows?

Posted 14 November 2010 - 02:09 PM

Hello, it has been a long time since i last moded on ROTWK, and i would like to do something again for fun. As said on topic title i want to add more levels on heroes, and change their power as the level up....Like 20 lvl cap would be great.
Thing is i dont remember which files i need to edit :(
Can you tell me those files?

Also i dont remember which file for the AI configure...The one you can chance how many farms AI builds, the units AI trains on each phase...etc...

Thx in advance!!!

#2 Elric

Elric

    Designer

  • Hosted
  • 2,857 posts
  • Projects:Middle-Earth Expanded
  •  Coder
  • Donated

Posted 14 November 2010 - 03:35 PM

for the hero levels extract the ini.big file with final big.... Then open up the extracted folder find experience levels.ini and there you go... And for ai I am not entirely sure but go to the default folder in your extracted folder and go to skirmish ai data.ini if it's not that go to aidata.ini

#3 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,438 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 14 November 2010 - 04:40 PM

For more levels, you'll also have to add more macros on how much experience they need to get to that next level (or you can simply type in the number, instead of using a macro)

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#4 Imdrar

Imdrar

    The Dark Apprentice

  • Members
  • 430 posts
  • Location:The Borderline of Night and Day
  • Projects:Tol-in-Gaurhoth
  •  Villain On Demand

Posted 14 November 2010 - 04:52 PM

And you should create new upgrades for the additional levels above 10, at least for those levels on which you want your hero to achieve a new ability.
Also ... you should maybe create some new abilities appropriate for high levels as 18 or 20.

I've done this whole procedure to my Witch-King, so I could give you a pretty nice example ... in a few days, when my PC returns from his long journey. :)

Defender of the Lawful Evil


Posted Image


#5 Deathbringer

Deathbringer
  • Members
  • 244 posts
  • Location:I was planted somewhere and now... Who knows?

Posted 14 November 2010 - 07:52 PM

Thx a lot for your replies, i shall be waiting for the example :)

BTW, i have edited a file on the ini but it doesnt work..i decreased cost of legolas to 1500 for example. but in game its still 3000.
I edited the gamedata.ini file...should i edit something else for that to work? Cause i dont remember exactly!

Edited by Deathbringer, 14 November 2010 - 09:47 PM.


#6 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 14 November 2010 - 09:52 PM

Never touch the Gamedata file .. it won't be affected in a mod as the original is always read last
just go to legolas file and search the file for his LEGOLAS_BUILDCOST ... replace with 1500

#7 Deathbringer

Deathbringer
  • Members
  • 244 posts
  • Location:I was planted somewhere and now... Who knows?

Posted 14 November 2010 - 10:00 PM

I see thx....but i got it working by gamedata.ini anyway!!
I also want to change damage, range, power damage..of all heroes and ordinary units...you know where i can do that? Besides gamedata?

#8 Gfire

Gfire

    Nuju

  • Project Team
  • 2,173 posts
  • Location:I have returned from the depths
  • Projects:Finding My Way
  •  The Perfectionist

Posted 14 November 2010 - 10:09 PM

Personally, I use the preconverted ini files so that I can use macros. Some of the values are there, and some values EA never made macros for so you have to go find the actual value (in which case I might make a new macro to make it easier in the future, although I don't always bother.)

Most of the damage and range values for the heroes are found in the macros, so you should be able to change things there if you have working macros.
Greetings, community.

#9 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,438 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 14 November 2010 - 11:54 PM

Yeah, if you use the Pre-coverted INI files you'll be able to edit the macros right there in "gamedata.ini" (which is acctually Yourmod\data\ini\default\water.ini)

The reason it's a good idea to use macros, is because it's easier to manage. If you have to some balancing it can and will be hell if you have to open every damn file in your mod to change values, when all you should be able to do is simply to open water.ini, and change them all there :)

And you don't have to make upgrades for the new levels at all. If you're not going to make new powers, you can simply move the upgrades defined in Experiencelevels.ini to the new rank you want it on ;)

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#10 Imdrar

Imdrar

    The Dark Apprentice

  • Members
  • 430 posts
  • Location:The Borderline of Night and Day
  • Projects:Tol-in-Gaurhoth
  •  Villain On Demand

Posted 15 November 2010 - 12:29 AM

I'm going to post it as soon as possible, but please don't nail me if it takes a while. The mills of DELL are grinding slowly. VERY slowly, indeed. :)

And you don't have to make upgrades for the new levels at all. If you're not going to make new powers, you can simply move the upgrades defined in Experiencelevels.ini to the new rank you want it on :D


I just told him so because I don't want to believe that he's creating a Level 20 hero without dreadful new abilities. ;)

Defender of the Lawful Evil


Posted Image


#11 Gfire

Gfire

    Nuju

  • Project Team
  • 2,173 posts
  • Location:I have returned from the depths
  • Projects:Finding My Way
  •  The Perfectionist

Posted 15 November 2010 - 12:38 AM

Yeah, if you use the Pre-coverted INI files you'll be able to edit the macros right there in "gamedata.ini" (which is acctually Yourmod\data\ini\default\water.ini)

In BFME2 it's Yourmod\data\ini\_gamedata.inc by default. That is one feature of BFME2 I really enjoy, being able to use the .inc files that way.
Greetings, community.

#12 Guest_Deathbringer_*

Guest_Deathbringer_*
  • Guests

Posted 17 November 2010 - 02:27 AM

All your replies are helpfull :p
One more thing...i cant get the experience level to work out...
I copy pasted the experience thing, and changed the numbers...11..12.etc..
Also defined 1 exp needed for level 11-20 for test..but legolas only reaches up to 10 level :( how do i fix this?
Also i see this :
AttributeModifiers = HeroLevelUpDamage9
I guess it defines the power of legolas..do i have to change it somewhere for 11-20 levels?
Or if i leave it as is, he will power up by himself?

#13 Imdrar

Imdrar

    The Dark Apprentice

  • Members
  • 430 posts
  • Location:The Borderline of Night and Day
  • Projects:Tol-in-Gaurhoth
  •  Villain On Demand

Posted 17 November 2010 - 11:31 AM

You should indeed add new modifiers for the advanced levels, otherwise the whole matter would be quite pointless. Your hero wouldn't grow stronger anymore after reaching level 10. :p
There should be armor and health modifiers as well.
My main computer is back in action now, so it won't take me too long to post the exemplarey code. I'll try to do it this evening, if I can find a gap. I've got a lot of work to recover now, so ... in the worst case, you will have to wait until tomorrow's evening. :p

Edited by Imdrar, 17 November 2010 - 11:33 AM.

Defender of the Lawful Evil


Posted Image


#14 Guest_Deathbringer_*

Guest_Deathbringer_*
  • Guests

Posted 17 November 2010 - 12:39 PM

Its ok, take all the time you need :p
Thx a lot :p

#15 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,438 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 17 November 2010 - 11:51 PM

If you have 1 exp needed for those ranks, and more for the normal ranks, I'm guessing that it takes the one with the most required and puts up. None requires more than rank 10, so it doesn't go higher..

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#16 Guest_Deathbringer_*

Guest_Deathbringer_*
  • Guests

Posted 18 November 2010 - 01:32 AM

Awesome :p Now it works with 11 level and more... thx a lot ;)
Now here comes another question then..where can i find the powers of the heroes? For example on legolas, i want to add his last skill at level 15..
Where can i adjust that? i I had done it before but dont remember..
also for exampe, i want to increase blast radius for wizard blast...

So in general, i need the file/files where i can fully adjust heroes powers!!!

#17 Imdrar

Imdrar

    The Dark Apprentice

  • Members
  • 430 posts
  • Location:The Borderline of Night and Day
  • Projects:Tol-in-Gaurhoth
  •  Villain On Demand

Posted 20 November 2010 - 11:55 AM

Now here comes another question then..where can i find the powers of the heroes? For example on legolas, i want to add his last skill at level 15..
Where can i adjust that? i I had done it before but dont remember..


The power itself can be found in specialpower.ini, the specific behaviours of the hero for using the power are located in the "nameofthehero".ini. In your case, it's legolas.ini.
You have to grant him an upgrade on level 15 that unlocks the ability you want. You can do this as Lauri mentioned above, by moving his level 10 upgrade to his 15th level, or you simply create a new one therefore named Upgrade_Level15.

also for exampe, i want to increase blast radius for wizard blast...


That's done in weapon.ini, just change the damage radius of the wizard blast weapon. :thumbsupsmiley:

P.S.: It appears you're not in a need of the exemplarey code anymore, are you?

Edited by Imdrar, 20 November 2010 - 11:57 AM.

Defender of the Lawful Evil


Posted Image


#18 Guest_Deathbringer_*

Guest_Deathbringer_*
  • Guests

Posted 23 November 2010 - 07:12 PM

nah, not really any more. Thx a lot for the replies, they should help a lot!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users