Jump to content

Soli2de

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Soli2de

  1. Thanks for the reply, hopefully i can figure something out. And only reason I did it the way I did is because that's how the original author wrote his mod. I just figured i'd try and do it like his since it did work, figured why change things. But i'll give it a shot, thanks
  2. Hi Guys, I'm brand spanking new to figuring out how modding works, but i've been using mods for quite some time now. I ran into a problem with DA:O Awakening. As i've been playing through it, i've been stopping at the vendors and purchasing the Class Specialization Manuals only to have them not do anything except sit in my inventory bag. From my understandings just purchasing the manuals will unlock the class specializations. I wasn't sure if it was a conflicting mod that might be causing me problems or what the deal is. For DA:O i downloaded and used a mod PHUnlockSpecials and figured if this worked, maybe I could figure out a way to rework the mod to work with Awakening. So I figured out how to dig down into the coding and see if I couldnt figure it out. Here's what I came up with so far: ------------------------------------------------------------------------------------------------------------------------------------------------------- #include "utility_h" #include "sys_rewards_h" void main() { event ev = GetCurrentEvent(); int nEvent = GetEventType(ev); switch (nEvent) { case EVENT_TYPE_MODULE_START: { if (!RW_HasSpecialization(SPEC_ROGUE_ASSASSIN)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_ASSASSIN); } if (!RW_HasSpecialization(SPEC_ROGUE_BARD)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_BARD); } if (!RW_HasSpecialization(SPEC_ROGUE_DUELIST)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_DUELIST); } if (!RW_HasSpecialization(SPEC_ROGUE_RANGER)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_RANGER); } if (!RW_HasSpecialization(SPEC_ROGUE_LEGIONNAIRE_SCOUT)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_LEGIONNAIRE_SCOUT); } if (!RW_HasSpecialization(SPEC_ROGUE_SHADOW)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_SHADOW); } if (!RW_HasSpecialization(SPEC_WARRIOR_BERSERKER)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_BERSERKER); } if (!RW_HasSpecialization(SPEC_WARRIOR_CHAMPION)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_CHAMPION); } if (!RW_HasSpecialization(SPEC_WARRIOR_REAVER)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_REAVER); } if (!RW_HasSpecialization(SPEC_WARRIOR_TEMPLAR)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_TEMPLAR); } if (!RW_HasSpecialization(SPEC_WARRIOR_GUARDIAN)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_GUARDIAN); } if (!RW_HasSpecialization(SPEC_WARRIOR_SPIRIT_WARRIOR)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_SPIRIT_WARRIOR); } if (!RW_HasSpecialization(SPEC_WIZARD_ARCANE_WARRIOR)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_ARCANE_WARRIOR); } if (!RW_HasSpecialization(SPEC_WIZARD_BLOOD_MAGE)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_BLOOD_MAGE); } if (!RW_HasSpecialization(SPEC_WIZARD_SHAPESHIFTER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_SHAPESHIFTER); } if (!RW_HasSpecialization(SPEC_WIZARD_SPIRITHEALER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_SPIRITHEALER); } if (!RW_HasSpecialization(SPEC_WIZARD_BATTLEMAGE)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_BATTLEMAGE); } if (!RW_HasSpecialization(SPEC_WIZARD_KEEPER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_KEEPER); } break; } case EVENT_TYPE_MODULE_LOAD: { if (!RW_HasSpecialization(SPEC_ROGUE_ASSASSIN)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_ASSASSIN); } if (!RW_HasSpecialization(SPEC_ROGUE_BARD)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_BARD); } if (!RW_HasSpecialization(SPEC_ROGUE_DUELIST)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_DUELIST); } if (!RW_HasSpecialization(SPEC_ROGUE_RANGER)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_RANGER); } if (!RW_HasSpecialization(SPEC_ROGUE_LEGIONNAIRE_SCOUT)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_LEGIONNAIRE_SCOUT); } if (!RW_HasSpecialization(SPEC_ROGUE_SCOUT)) { RW_UnlockSpecializationTrainer(SPEC_ROGUE_SCOUT); } if (!RW_HasSpecialization(SPEC_WARRIOR_BERSERKER)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_BERSERKER); } if (!RW_HasSpecialization(SPEC_WARRIOR_CHAMPION)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_CHAMPION); } if (!RW_HasSpecialization(SPEC_WARRIOR_REAVER)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_REAVER); } if (!RW_HasSpecialization(SPEC_WARRIOR_TEMPLAR)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_TEMPLAR); } if (!RW_HasSpecialization(SPEC_WARRIOR_GUARDIAN)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_GUARDIAN); } if (!RW_HasSpecialization(SPEC_WARRIOR_SPIRIT_WARRIOR)) { RW_UnlockSpecializationTrainer(SPEC_WARRIOR_SPIRIT_WARRIOR); } if (!RW_HasSpecialization(SPEC_WIZARD_ARCANE_WARRIOR)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_ARCANE_WARRIOR); } if (!RW_HasSpecialization(SPEC_WIZARD_BLOOD_MAGE)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_BLOOD_MAGE); } if (!RW_HasSpecialization(SPEC_WIZARD_SHAPESHIFTER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_SHAPESHIFTER); } if (!RW_HasSpecialization(SPEC_WIZARD_SPIRITHEALER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_SPIRITHEALER); } if (!RW_HasSpecialization(SPEC_WIZARD_BATTLEMAGE)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_BATTLEMAGE); } if (!RW_HasSpecialization(SPEC_WIZARD_KEEPER)) { RW_UnlockSpecializationTrainer(SPEC_WIZARD_KEEPER); } break; } } } ------------------------------------------------------------------------------------------------------------------------------------------------------- unlockspecs.nss --- edited with info above unlockspecs.ncs --- left untouched ------------------------------------------------------------------------------------------------------------------------------------------------------- Everything is just as the original writer had it, except for the bottom 2 sets for each class type. I added those hoping it would work. But when you go to compile the script in the toolset, it gives me errors. "Variable defined without type (while compiling var_constants_h.nss)" I really want to use these new specs, and am desperate to find a solution or work around. If anybody could help I'd greatly appreciate it. Even if there's a console command or something i'm unaware of... I've done a lot of searching and came up with nothing.
×
×
  • Create New...