Jump to content

Photo

Enhanced Edition Compatibility with L1NPCs


99 replies to this topic

#61 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 02 January 2016 - 12:31 AM

So far as I know, the Level 1 NPCs mod does not work or work properly on any of the Enhanced Edition games. This won't change in the near future.

Erhm, have you tried the CrevsDaak's edition a few pages back ? Ouh, yeah, he didn't link to it. It was the other project...
Hmm, why do I always write ChevDaak at first. :O

Anyways, your approach is not the best way to allow people to utilize this mod. It's to wait CrevsDaak to publish the EE including mod. And this.
As fast as possible. And if he needs help, offer it in plenty.


Edited by Jarno Mikkola, 02 January 2016 - 12:43 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#62 Ishad Nha

Ishad Nha
  • Modders
  • 466 posts
  • Gender:Male

Posted 02 January 2016 - 03:43 AM

Wait? I want to play it now, my approach works.

If anyone can produce an EE version of this mod that is good I might add.

My help is probably more trouble than it is worth, in WEIDU I am semi-literate on a good day.



#63 CrevsDaak

CrevsDaak

    imma lil orc now duh duh

  • Modders
  • 166 posts
  • Gender:Male
  • Location:Bs. As., Argentina

Posted 16 October 2016 - 05:04 PM

So, finally, after losing the original one, I had finished a minimal EE-working version. It doesn't modify Hexxat and it doesn't offer the Shaman class, besides it only works in BG2:EE and I haven't tested much but almost everything seems to be working. I think I've missed a couple of Dorn's SoA quests' swords (actually all of them but he can use the one he starts with if you start a new ToB game) but AFAIK I've covered everything else.

I've changed the version number to 2.0 and added lotsa comments to the code. I fixed two small things on the kit ids correction but nothing else I think. I didn't test it in BGT/BG2.

Attached File  level1npcs.tar.gz   162.95KB   71 downloads

#64 czacki

czacki
  • Members
  • 69 posts

Posted 23 October 2016 - 07:39 AM

Well, that's fantastic. If I wanted to use this with EET, would it work?



#65 CrevsDaak

CrevsDaak

    imma lil orc now duh duh

  • Modders
  • 166 posts
  • Gender:Male
  • Location:Bs. As., Argentina

Posted 23 October 2016 - 07:56 AM

Well, that's fantastic. If I wanted to use this with EET, would it work?

Well, I'm not entirely sure because I haven't tested but yes it should work. I might work on it a bit more today. Edit: nvm, I have a lot of maths homework, can't spend spend much time on this today.


Edited by CrevsDaak, 23 October 2016 - 07:58 AM.


#66 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 23 October 2016 - 09:25 PM

EDIT: part of the message removed.
Windows version attached:
Attached File  Level1NPCs.zip   1.01MB   91 downloads
Credits; All hail the king CrevsDaak.

Edited by Jarno Mikkola, 23 November 2016 - 12:00 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#67 Nilfalasiel

Nilfalasiel
  • Members
  • 115 posts
  • Gender:Female
  • Location:Paris, France

Posted 24 October 2016 - 12:36 PM

So, finally, after losing the original one, I had finished a minimal EE-working version. It doesn't modify Hexxat and it doesn't offer the Shaman class, besides it only works in BG2:EE and I haven't tested much but almost everything seems to be working. I think I've missed a couple of Dorn's SoA quests' swords (actually all of them but he can use the one he starts with if you start a new ToB game) but AFAIK I've covered everything else.

I've changed the version number to 2.0 and added lotsa comments to the code. I fixed two small things on the kit ids correction but nothing else I think. I didn't test it in BGT/BG2.

 

You are a hero and a gentleman. Thank you!!  :party:

Just out of curiosity: is there any plan to make it work for BG:EE at any point in the future?


Game reviews by Yours Truly: http://mysst.satrapov.net

#68 CrevsDaak

CrevsDaak

    imma lil orc now duh duh

  • Modders
  • 166 posts
  • Gender:Male
  • Location:Bs. As., Argentina

Posted 24 October 2016 - 02:58 PM

Just out of curiosity: is there any plan to make it work for BG:EE at any point in the future?

Probably, but in the near future I plan to add Hexxat, ask Miloch for his code and bugfixes and add the Shaman class (!). Right now I got swamped with homework and tests, but in a month I'll finish school so who cares.

Being a (rather well accomplished at being a rather annoying little) :devlook: , I'll note that's a .tar.gz, not that there's anything wrong at being an @$$40l€ like myself linux mod, but as the original mod was a Windows one, it might be good to attach that one too.

It's not that I use linux, I'm on osx 10.10, but I'm weird and that's why I forget normal people use zip so I usually tgz everything (and I literally never remember to ship WeiDU with it lmao mb).

#69 ALIENQuake

ALIENQuake
  • Modders
  • 631 posts
  • Gender:Male
  • Location:Poland

Posted 29 October 2016 - 11:13 AM

Holly mother of Bhaal  :king:  thank you!

I will wait for proper release at github repo before I will update BWS.

 

EDIT: but you new avatar https://github.com/CrevsDaak makes me sad 


Edited by ALIENQuake, 29 October 2016 - 11:15 AM.


#70 Grunker

Grunker
  • Members
  • 245 posts
  • Gender:Male
  • Location:Copenhagen, Denmark

Posted 27 November 2016 - 03:09 AM

Holy shit, infinite praise from me if you do update Level1NPC to work with BG:EE and BG2:EE. That's basically the last (and biggest) barrier between me and the enjoyment of those titles.



#71 CrevsDaak

CrevsDaak

    imma lil orc now duh duh

  • Modders
  • 166 posts
  • Gender:Male
  • Location:Bs. As., Argentina

Posted 01 December 2016 - 10:48 AM

Holy shit, infinite praise from me if you do update Level1NPC to work with BG:EE and BG2:EE. That's basically the last (and biggest) barrier between me and the enjoyment of those titles.

Well, it works with BG2:EE for now. I yet have to start on the BG:EE version (and the SoD version as well). It's hard to make it work on BG:EE because I have to adapt the code that is there for BGT/TuTu without breaking anything.

#72 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 01 December 2016 - 10:59 AM

Well, it works with BG2:EE for now. I yet have to start on the BG:EE version (and the SoD version as well).

Erhm, and EET too.
You might do best to forget the BG:EE and SoD and just move to EET first and then check later what to use from that to the others. Or NOT. It's up to you of course.
Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#73 CrevsDaak

CrevsDaak

    imma lil orc now duh duh

  • Modders
  • 166 posts
  • Gender:Male
  • Location:Bs. As., Argentina

Posted 01 December 2016 - 11:17 AM

Well, it works with BG2:EE for now. I yet have to start on the BG:EE version (and the SoD version as well).

Erhm, and EET too.
You might do best to forget the BG:EE and SoD and just move to EET first and then check later what to use from that to the others. Or NOT. It's up to you of course.

Oh yeah, I forgot about EET, LOL. Yeah, probably I should do that. Good advice Imp!

#74 agb1

agb1
  • Modders
  • 410 posts
  • Gender:Male

Posted 01 December 2016 - 11:37 AM

Just curious, are you using cpmvars?  If so, https://github.com/K...T/other/cpmvars

 

Alternatively, follow subtledoctor's lead with https://github.com/s...r/NPC_EE#readme and make it dynamic.  Read DVs from pdialog and follow the trail, maybe?  What's the best way to build a dynamic list of all party-joinable CREs?

 

Here's an idea for a redesign of L1NPCs:

 

Build a dynamic list of all party-joinable CREs in the game.  Generate code for a "customize everything about this NPC" menu component for each and write them into (separate, or a single monolithic) tph file(s).  Then INCLUDE that/those tph file(s) to present a dynamic list of components.  WeiDU does let you add components via INCLUDE, right?

 

Then... make it output the player's selections to an .ini file with a section for each CRE so it's easy to modify by hand afterwards, and process that same ini file to actually apply the changes.

 

Something like this:

 

BEGIN ~Use my ini file settings as-is~

SUBCOMPONENT ~What do you want to do?~

DESIGNATED 0

 

INCLUDE "apply the changes defined in the ini file"

 

BEGIN ~Show me each NPC so I can customize its settings~

SUBCOMPONENT ~What do you want to do?~

DESIGNATED 1

 

INCLUDE "code that generates dynamic component tph files"

 

INCLUDE "all of the generated tph files that let me customize the ini file"

 

INCLUDE "apply the changes defined in the ini file"

 

 

... By having the first option, automated install scripts or personal batch scripts that just want to apply the ini file don't have to worry about dynamic components.

 

Actually, you don't even need to have multiple components.  You could present all of the menus in the customize component without actually making each one a genuinely separate WeiDU component.  And you could even append the WeiDU log with "fake component" entries if you want to log exactly which NPCs were changed.


Edited by agb1, 01 December 2016 - 11:52 AM.

BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#75 subtledoctor

subtledoctor
  • Modders
  • 2856 posts
  • Gender:Male

Posted 01 December 2016 - 11:56 AM

The way I do it is to check whether there is a string in the "biography" field at offset 0x1cc. I forget where I borrowed the idea from... one of Camdawg's mods, maybe. Something in Tweaks?

The method depends heavily on an assumption about which .cre files will and won't have a string in that field. It seems risky... but so far, it has not resulted in problems.

Faiths & Powers: Spell spheres and kit pack for priests and paladins
Might & Guile: Tweaks and kits for warriors and rogues
Scales of Balance: Game tweaks and rule overhauls
NPC_EE: More options for NPCs in BGEE, SoD, & BG2EE




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users