Random Questions

Started by Vardaman, June 25, 2007, 03:28:45 PM

Previous topic - Next topic

SparrowJacek

QuoteHow come the Kensai/Mage can't wear robes?
Kensai can't wear anything in their armor slot, as it would slow their movements, they're trained to fight that way and it made little sense for a Kensai=>Thief with UAI to wear a full plate and still get all Kensai bonuses, I guess the logic still applies to magical robes that Mages wear. I know that in vanilla BG you could wear robes as a K=>M and I don't know which version of IA prevented that. Anyway, is there any merit to K=>M wearing robes? I think that apart from some very high dual levels (like K(15)=>M) Berserker=>Mage is far superior anyway, isn't that the case?

QuoteI have a question for the modders as I'm trying to do some tests on enemies. Once you enter an area for the first time the creatures spawn and if you modify their stats they don't change basically since they are already spawned in the saved game. How do you get around this? These are not proximity spawn trigger points I'm referring but the "actors" that spawn in the area when you enter the first time. Thanks.
Yes, their stats and equipment can't be changed when they get loaded into the memory on your first visit to some area, though the content of their scripts can be changed. If you want to test a character in an already visited area, it's probably best to just create a new instance of that creature from the console and kill the original one (via ctrl+Y or something). And for smaller areas you can just keep a save game right before entering the area. I don't think there are any better solutions for this.

critto

There are, basically, two ways to deal with this:
1) reload the game at a point before entering the area in question;
2) unpack the save game (it stores a copy of each ARE file for the areas that were visited) and apply modifications directly to the creatures stored inside that copy of the ARE file. It's a cumbersome process. Could be done both manually (via Near Infinity) or with the weidu scripts.

This also depends on the nature of the changes. If it's the AI scripts or items, those are loaded separately anyway, because the creature file embedded inside the area file stores only a references to them. All other changes need to be applied to the creature file directly inside the ARE copy.

Berzerkerzz

Thanks for the quick replies guys, unpacking the saved game worked.

kristos234


SparrowJacek

QuoteWhere can I encounter the Rust Dragon?
Spoiler
In the last part of v7's extended Druid Stronghold quest

kristos234

Thank you. And where exacly in WK is "The history of Chosen of Mystra"? My protagonist is a Necromancer but I went through all 5 lvls and can't seem to find it.

SparrowJacek

QuoteThank you. And where exacly in WK is "The history of Chosen of Mystra"? My protagonist is a Necromancer but I went through all 5 lvls and can't seem to find it.
It should be in a container at level 3 of WK in the area where you fight the Demon Wright.

Berzerkerzz

I noticed enemy mages casting Ruby Ray on my characters even after Spell Immunity was removed. They would cast another Ruby Ray but not consecutively(IIRC), like for example moving out of sight and letting the enemy mage cast another spell, then go back into his visual range without Spell Immunity on and he would cast another Ruby Ray. Lavok and Pirate Coordinator come to mind.
My Fighter-Mage was Edwin, I wonder if the the enemy scripts are picking something up on Edwin that make them cast a second Ruby Ray.

critto

Yes, there was something weird with the targeting system. We observed similar issues during our v7 test runs but couldn't pin-point a definitive cause. It happened in very specific scenarios, and I thought the tweaks I'd made had fixed the problem. Apparently, not. This merits further investigation.

Berzerkerzz

Quote from: critto on April 02, 2025, 08:48:41 PMYes, there was something weird with the targeting system. We observed similar issues during our v7 test runs but couldn't pin-point a definitive cause. It happened in very specific scenarios, and I thought the tweaks I'd made had fixed the problem. Apparently, not. This merits further investigation.

It's happening pretty much all the time from what I notice and consecutively too, not just when going out of sight. I noticed the Ruby Rays are scripted based on a global variable and not based on SCRIPTINGSTATE7. Why is that? I'm thinking it was done to reduce the number of blocks in a script, but surely with modern computers it could handle more entries now.

critto

#1670
QuoteI noticed the Ruby Rays are scripted based on a global variable and not based on SCRIPTINGSTATE7.
Not everywhere. There's a difference in approaches in various scripts. The older system is based on counters and global variables. Some of the more modern scripts rely on scripting states. I believe the fault lies somewhere within the older system, but debugging weidu code is a notoriously tricky process. I'll give it another go whenever I am ready to dive back into modding.

SparrowJacek

The upcoming IATweaks patch will make many changes to enemy AI, better targetting for RRR/Breach/Dispel Magic will be a part of it. Maybe at some point those changes will be incorporated into IA in some shape or form, making critto's job easier :)

kristos234

Where can I find an early Imp Haste scroll? And what are the locations of
Spoiler
Sibel's special item from the past?

critto

QuoteWhere can I find an early Imp Haste scroll?
Spoiler
Mage in Slavers Stockade. I think there's also one with Shadow Jailor since v7.

As for the second question, it depends on what you chose during the dialogue. You really want to a spoiler list of possible locations?

kristos234

#1674
Quote from: critto on April 06, 2025, 07:56:23 AM
QuoteWhere can I find an early Imp Haste scroll?
Spoiler
Mage in Slavers Stockade. I think there's also one with Shadow Jailor since v7.

As for the second question, it depends on what you chose during the dialogue. You really want to a spoiler list of possible locations?

Come to think of it I actually don't  :lol:
But I have another issue. I messed up Nalia at the beginning of the game and told her I will not help. This results in her going into D'arnise keep alone and now the game thinks she's dead. This obviously cuts me off from the XP per person she grants for killing Tor'Gal and from the Stronghold overall.
I tried to console her in and it semed to work semi fine - I get her dialogues, I get XP per person for killing Tor'Gal and I "kinda" am the ruler of the Stronghold however the Majordomo keeps telling me that there is no one to see me, even if I rest for a month straight.

How can I change the variables in a way I still can trigger the Keep quests?

critto

C:GetGlobal("KeepPlot","GLOBAL")
What is the value of this variable?

kristos234

Quote from: critto on April 07, 2025, 09:43:29 AMC:GetGlobal("KeepPlot","GLOBAL")
What is the value of this variable?
It says that Global: KeepPlot does not exist

critto

Perhaps you didn't have the introductory dialogue with the majordomo that shifts the plot into gears. Try setting this variable to 1 and see if he starts to behave properly:
C:SetGlobal("KeepPlot","GLOBAL",1)

kilorew

Is it possible for us to remove the protagonist requirement for forgings on the current patch?

critto

The current one present in IATweaks bugs out?

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Shortcuts: ALT+S post or ALT+P preview