Jump to content


Photo

Is it possible possible to do this?


  • Please log in to reply
11 replies to this topic

#1 Black Wizard

Black Wizard
  • Member
  • 10 posts

Posted 19 December 2012 - 07:23 AM

Hi, I'm a relative newcomer to the IE modding scene, I've been practicing making simple mods for the last few days, but there's something I'm curious about: is it possible to change your character's starting level in BG2?

I mean I know the game puts you at the level your chosen class is at 89000, but I was wondering if there was way to alter that and make it so you start at a lower level.

Thanks in advance! :)

#2 Sam.

Sam.
  • Administrator
  • 1339 posts

Posted 19 December 2012 - 09:32 AM

There are mods that do this, but I believe it requires hacking the EXE. I don't remember if ToBEx has externalized this or not... If you are wanting the WeiDU code to do this, I can probably dig up how the Classic Adventures mod does it.

"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

--<CHARNAME> to Portalbendarwinden

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

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#3 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 19 December 2012 - 10:20 AM

There was actually a mini tool that could be used to the set the exact amount in the BGMain.exe also(it's circa 2002 or close)... I can't remember it's name though...
Edit: Ups, I still have it attached here(the xppatch.rar)... among other places.

And the BGT has the same feature as does the EasyTutu. Though those are the BG1 in BG2 mods, which reguire the original game and all so...
Hmm, why are you asking this Black Wiizard ?

Edited by Jarno Mikkola, 19 December 2012 - 10:32 AM.

Deactivated account. The user today is known as The Imp.


#4 -Guest-

-Guest-
  • Guest

Posted 19 December 2012 - 02:27 PM

There are mods that do this, but I believe it requires hacking the EXE. I don't remember if ToBEx has externalized this or not... If you are wanting the WeiDU code to do this, I can probably dig up how the Classic Adventures mod does it.


I would preffer not messing with the EXE, but if there is a way to do it through scripting I'd very much like to know what it is.

@Jarno
It's for a project I'm working on.

#5 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 19 December 2012 - 05:36 PM

Easiest way is to mod the starting area script to set the experience (ar0602.bcs).

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#6 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 19 December 2012 - 09:58 PM

Easiest way is to mod the starting area script to set the experience (ar0602.bcs).

Erhm, does that actually work ? ... as you intent to, cause if we assume we assume to use the BG2 as the base and don't fix the .exe, the script gets applied after character creation, so when the new game begins, if the intended XP level is lower than the 89 000xp, the character is already at the highest level that amount allows for them.... yes, the game then applies the character the current XP ... but it only results into a huge cap between the start and the first actual level up... little like the dualing if you intent to get the best benefits out of it (without using the bigg's dual class tweak in the which ever mod it was).

Deactivated account. The user today is known as The Imp.


#7 Black Wizard

Black Wizard
  • Member
  • 10 posts

Posted 20 December 2012 - 01:41 AM

Easiest way is to mod the starting area script to set the experience (ar0602.bcs).


Yeah, sorry, but I'm not really seeing how that would work either. I mean character creation comes BEFORE the game actually begins and you enter the starting area.

Edited by Black Wizard, 20 December 2012 - 01:41 AM.


#8 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 20 December 2012 - 11:53 AM

Oh, you want to change the actual starting level for character definition and whatnot. Then I guess Sam.'s approach may be best if CA does that, as Tutu does and I think at least one megamod - Check the Bodies or something? But you could also do it after the fact by applying a spell that does opcode #96 (0x060) Stat: Level Change and or the scripting action AddXpObject() which is what Level 1 NPCs uses to match joinable NPCs closer to the PC's level.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#9 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 20 December 2012 - 12:08 PM

Oh, you want to change the actual starting level for character definition and whatnot. Then I guess Sam.'s approach may be best if CA does that, as Tutu does and I think at least one megamod - Check the Bodies or something? But you could also do it after the fact by applying a spell that does opcode #96 (0x060) Stat: Level Change and or the scripting action AddXpObject() which is what Level 1 NPCs uses to match joinable NPCs closer to the PC's level.

But there's still the fact that the character creation is made to set level Player Character ... it's different with NPCs yeah... but.
The megamod you talk about is clearly the BGT.

Deactivated account. The user today is known as The Imp.


#10 Black Wizard

Black Wizard
  • Member
  • 10 posts

Posted 20 December 2012 - 01:50 PM

Hey, just to remind you guys, if there's a way to do this through scripting, I'm very much interested in knowing what it is. So if you know what it is, please share it.

Edited by Black Wizard, 20 December 2012 - 02:36 PM.


#11 Echo

Echo
  • Member
  • 125 posts

Posted 01 January 2013 - 04:43 PM

:o Can't you just use a ShadowKeeper tool to just set your level and experience and those of any NPC that joins your party?


avatar592049_2.gif


#12 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 01 January 2013 - 10:59 PM

:o Can't you just use a ShadowKeeper tool to just set your level and experience and those of any NPC that joins your party?
Well, if the purpose is to make a mod that allows you to start in a new location(not in the Irenicus prison in BG2:SoA) then not really as the Player Character needs to be modified as well. And that needs the BGMain.exe modifying... unless you want to add to the XP sum(89000), as then it's easy.

Deactivated account. The user today is known as The Imp.