Skip to content

FYI: mod compatibility with 2.0/SoD

[Deleted User][Deleted User] Posts: 0
edited March 2016 in General Modding
The user and all related content has been deleted.
Post edited by [Deleted User] on
GrammarsaladAbelAedanRavenslightJuliusBorisov[Deleted User]

Comments

  • The user and all related content has been deleted.
    JuliusBorisovAbdel_Adrian
  • GrammarsaladGrammarsalad Member Posts: 2,582
    What about ids files? Is there a shaman specific entry in class.ids, kit.ids, or both? If you know, if a class entry only, this won't also detect druids, will it? I assume not, but that would be a pain if so
  • GrammarsaladGrammarsalad Member Posts: 2,582
    Add an aside, we should use this usability system in fnp as well.

    @Aquadrizzt we should use it in tnb also
  • GrammarsaladGrammarsalad Member Posts: 2,582
    How does the shaman get the extra spells?
  • The user and all related content has been deleted.
  • The user and all related content has been deleted.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited March 2016
    I think we can use effect 319 for custom usability. Parameter 2 can be set to kit.ids. I thought 319 could be used in this way, but I wasn't sure exactly how. All we need is a single example, and I think we can get it to work for just about anything.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    Subtle, could you send me one of the items that are restricted from druid use? One of those axes or short bows? I'd like to test it in iwdee
  • The user and all related content has been deleted.
  • kjeronkjeron Member Posts: 2,367
    Sadly you cannot use it in conjunction with opcode 177 for additional targeting parameters, so no Druid -> True Class.
  • The user and all related content has been deleted.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited March 2016
    Aahh, it doesn't work in IWDEE. Even Druids can use those weapons.

    One reason that I figured it would work so well for FnP is that there are numerous combinations of usabilities for each specialist in Faiths & Avatars (more than there are free usability flags for us to use). This would allow us to duplicate them.

    Okay. You got that.

    But, it looks like it would be very difficult to do. I think we'd have to read the ids file, convert the hex value to decimalI mean, we'd have to read kitlist.2da, and then alter/clone/add_effect to the item global. Edit: less bleh

    Anyway, won't be able to test or try this until I get my hands on 2.0
  • GrammarsaladGrammarsalad Member Posts: 2,582

    ...

    Shaman has its own entry in CLASS.IDS (21), but shares the druid usability flag. It's a clever way to make them mostly similar, but distinguishable in particular cases... In any event just something for modders to keep in mind.
    ...

    This is probably fine. As long as the shaman entry doesn't detect druids, and the druid entry doesn't detect shaman, then the deity selection for fnp will be fine. Otherwise, I'll have to find another way to make it work (which may or may not be possible).
  • The user and all related content has been deleted.
  • GrammarsaladGrammarsalad Member Posts: 2,582

    Oh, I wasn't thinking about the deity selection code. How does that intersect with this? If it uses the IDS numbers then it should be fine, shaman and druid have different entries.

    I can make it work one way or another. My preference is to do it all using the same script/dialog, but I can assign completely different scripts/"invisible creatures " if necessary. It's not like wizard/sorcerers where they actually share a clab, so no biggie
  • The user and all related content has been deleted.
  • JuliusBorisovJuliusBorisov Member, Administrator, Moderator, Developer Posts: 22,714
    I unsuccessfully tried to install the SCS mod on the beta - https://forums.beamdog.com/discussion/49016/patch-2-0-and-tthe-scs-compability#latest
  • AquadrizztAquadrizzt Member Posts: 1,065
    @subtledoctor , is there a reason why this isn't how all item usability is done? Like couldn't the entire nasty system of flags be replaced with a much more open system for kits where you just say which items you want your kit to use in weidu and a macro handles updating all other items to be unusable?

    Or would the existence of true-classes break this?
    Grammarsalad
  • The user and all related content has been deleted.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    Can anybody give me the name of a file that is present in bgee 2.0, but not in any earlier versions of bgee or bg2ee?

    Can I get the same for bg2ee? It's not a problem if it is the same file, as long as that file is not in earlier versions.

    I'm working on a mod (fnp) that is using some of the new opcodes, and I don't want my players to ctd.

    Thanks
  • argent77argent77 Member Posts: 3,431
    You can use "ENGINEST.2DA" for this. It's present in both games.
    Grammarsalad
  • GrammarsaladGrammarsalad Member Posts: 2,582
    argent77 wrote: »
    You can use "ENGINEST.2DA" for this. It's present in both games.

    Perfect! Thanks
  • Gel87Gel87 Member Posts: 158
    Hi,
    My kit mods dont work on sod. Is There any quickfix? One of them dont work on newest bg2ee patch either. Its not visible/chooseable on create char. I dno, it might be an internal issue. No errors when weidu install. I would upload it If i werent on phone.
    Windows 10.
    Druid werewolf kit. Usabilityflag 100000. 11. Same as shaper. Selectable by k_d_h and k_d_he. 1 0 1 0 0 0 in laf part.
Sign In or Register to comment.