Jump to content


Photo

Theory: Upgrade Limit


  • Please log in to reply
7 replies to this topic

#1 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 08 December 2012 - 02:43 PM

Going over some code I noticed that 1.01 has the first few upgrades commented out (the test ones) but 1.03 doesn't.
There are currently 2 guesses about the upgrade limit for BFME 190 and 205.
I have a theory on this, I think the upgrade limit changed with 1.03 from 190 to 205 since originally LW had crashed after the 190 mark before 1.03 yet afterwards I've gone over.

Break dancing into the hearts of millions


#2 Lauri

Lauri

    Old man Lauri

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

Posted 08 December 2012 - 07:22 PM

We've been here before.

Link

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#3 Radspakr Wolfbane

Radspakr Wolfbane

    The John Farnham of modding

  • Members
  • 7,722 posts
  • Location:less than 5 meters from my bed
  • Projects:Comeback tour
  •  The Retired Beard

Posted 08 December 2012 - 07:42 PM

That's optimising them I was just theorising the difference between the 2 numbers.

Break dancing into the hearts of millions


#4 Lauri

Lauri

    Old man Lauri

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

Posted 08 December 2012 - 08:05 PM

Did you even read it all? :p

But you're probably correct. GtO reported that 190 was the maximum, while I found out that 205 was the maximum. Whey they decided to add 15 new upgrades in a patch, I don't know. There was enough spare spots to use, so.. Maybe they were just thoughtful?

T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#5 Kwen

Kwen

    Vileartist

  • T3A Staff
  • 4,865 posts
  • Location:Korea I wish
  • Projects:It'sa secreeet
  •  T3A's First N00b
  • Division:BFME
  • Job:T3A Expert
  • Donated

Posted 04 May 2016 - 07:37 AM

I thought I'd add to this, I have been struggling with a crippling bug as of late, a bug that made the campaign cease to function in any aspect. Not a single mission was able to be properly completed, or worse loaded. I identified that the cause of this bug was the 190 Upgrade limit.

 

Previously I had been going off of the 205 upgrade limit, and to simply make my life easier I was just moving all unnecessary Upgrades to the bottom of Upgrade.ini where they would just not be read, and everything was working perfectly fine in Skirmish, no issues with the Upgrade limit.

 

As far as the campaign goes it has nothing to do with the number of active Upgrades which would be cut off by the limit, and anything after that would be ignored. If Upgrade.ini has even 191 upgrades the campaign would crash all over the place, all the time.

 

Stripping back to 190 Upgrades and presto the campaign works again, even though I didn't actually add/remove any of the active upgrades. The campaign seems to break at even a single Upgrade over the limit.

 

 

----

 

So basically what I had to do was to comb through upgrade.ini, experiencelevels.ini, and each hero code file to manually remove all of the redundant upgrades that EA made for their powers. I had to actually comment them all out so that upgrade.ini contains less than the 190 limit.


Edited by Kwen, 04 May 2016 - 07:42 AM.

                           https://www.twitch.tv/vileartist - Yes shameless self-promotion

          ----------------------------------------------------------------------------------------------------------------------

                            "Old modders never die, they just fade away" ~ Hostile


#6 Ganon

Ganon

    What's this?

  • Project Team
  • 967 posts
  • Location:Ohio, United States
  • Projects:My Link Mod
  •  Code Scientist

Posted 17 June 2016 - 02:59 AM

So I just re-read Lauri's article, and it reminded me of a question I had long ago. Why don't we just do as he said and create 9 generic upgrades, and distribute them throughout the game. And delete all of EA's original Object upgrades, while keeping the Player upgrades? Or maybe people do?

I'm sure you could easily free up about another hundred more upgrades this way. Like he said, object upgrades don't need to be unique. You can give an upgrade to Gandalf to unlock his lightning sword, then give it to the mountain troll at level 2 for his veterancy bits, and then give the same upgrade to Aragorn to unlock his blademaster. It won't cause any issues.

Or will deleting them not matter cause then it'll still be read in the vanilla files after the -mod command files? Maybe I should test this. :p

#7 Kwen

Kwen

    Vileartist

  • T3A Staff
  • 4,865 posts
  • Location:Korea I wish
  • Projects:It'sa secreeet
  •  T3A's First N00b
  • Division:BFME
  • Job:T3A Expert
  • Donated

Posted 17 June 2016 - 01:50 PM

I did basically that, but I only started with hero specific upgrades first. Cleared out around 60 or so if I recall.

                           https://www.twitch.tv/vileartist - Yes shameless self-promotion

          ----------------------------------------------------------------------------------------------------------------------

                            "Old modders never die, they just fade away" ~ Hostile


#8 The Rational Stoic

The Rational Stoic
  • Members
  • 6 posts

Posted 11 February 2021 - 08:06 PM

Can the limit of upgrades not simply be increased? Personally, I find it quite a pain that I have to stick to the limit while coding and I prefer to have unlimited upgrades. Did someone try to find out where this limit is imposed? Or how it can be altered?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users