Automatically Recharge Spells & Traps
#1 -Kashya-
Posted 20 August 2004 - 07:32 AM
I'm new here and I don't know the first thing about modding games, so I don't know how to do this, or even if it's possible. But is there any way that one of you wonderfully clever people could make a mod for BG2 that will automatically recharge all known spells and traps after a few seconds (the same way the Stealth button works)?
I'm trying to play solo with a bounty hunter (after trying with a sorcerer) and I'm finding it impossibly frustrating with the current way that spells and traps recharge (ie; having to rest).
To give you an example of how unbearable it is, I've just completed the 'Slaver's quest' in chapter two. After setting 6 traps in the Slaver's HQ, I try to rest to recharge my supply, but I'm told that I cannot rest here, I must return to the Inn.
That's right! I have to walk all the way back to the Inn and pay for a room to recharge my traps, and I have to do this EVERY time I want to set more traps. It took me over an hour just to complete this one section, I set 6 traps, kill a few baddies, walk back to the Inn to rest, walk back to my last location, rinse and repeat, over and over. Horrible!
If it's not possible to make this kind of mod, is it possible to make a 'Rest Anywhere' mod, that will at least let character's rest anywhere they like (yes, even in the middle of a town) and that will remove those hateful random encounters?
I honestly think that some kind of mod that added recharging abilities for spell casters and trappers would be the greatest thing ever invented for BG2, it could be packaged along with Weimer's brilliant 'Ease of Use' mod, to make playing the game bearable for all singleplayer solo players (and anybody else for that matter) who don't want to follow the fighter path.
So I'm on my knees begging you folks, pretty please can somebody create a mod like this? It's all I want for Christmas, and I promise I'll never ask you for another thing :love:.
Cheers,
Kashya
#2
Posted 20 August 2004 - 08:18 AM
IF Hotkey(Z) THEN RESPONSE #100 ActionOverride(Player1,Rest()) ActionOverride(Player2,Rest()) ActionOverride(Player3,Rest()) ActionOverride(Player4,Rest()) ActionOverride(Player5,Rest()) ActionOverride(Player6,Rest()) END
You can use DLTCEP to open and edit the file. You can download it here.
After typing and saving the script (DLTCEP automatically compiles the script), go into the game and press the letter 'z' whenever you wish to rest. Sometimes it will say 'you may not rest here' or something similar, but it rest, regardless of the text.
-Galactygon
#3 -Guest-
Posted 20 August 2004 - 08:38 AM
When I double click it's icon it asks me to run setup and I have no idea what it wants me to do.
Do you know where I can find a tutorial to teach me how to use it?
Cheers,
Kashya
#4
Posted 20 August 2004 - 10:21 AM
Edited by Valheru, 20 August 2004 - 10:23 AM.
#5
Posted 20 August 2004 - 10:35 AM
Might as well cheese it all the way...
#6 -Kashya-
Posted 20 August 2004 - 10:54 AM
Compatibility Options
Setup Name: I'm assuming that I can call it anything I want, so I typed in Rest Anywhere.
Game Type: I selected BaldursGate II (no problems here).
Location of chitin.key: c:\program files\black isle\bgii-soa\chitin.key (no problems here).
IEEP Effect Descriptions (effects.dat): This is where I come undone. I've looked in every BG2 folder, but I can't find anything that says IEEP Effect Description .dat.
Below these fields is a host of entries with empty check boxes beside them, as I have no idea what they are, should I just check them all? I'll list them in the hopes that somebody can tell me which ones I need to edit the baldur.bcs file:
Edit DialogF instead
PST style variable management (var.var)
BG1 style dialogs (no freezing dialog type flag)
BG1 style are header (direction exits)
IWD2 style structures (additional bytes in header)
Extended itemtypes
No compressed bams
No weapon proficiency
Has XPVAR.2DA
DLTC specific
TOB specific
There are also several buttons and I don't know which ones to click, they are:
Setcheck Options
Set Edit Options
Set WeiDU Options
Add setup
Remove setup
Cancel
I guess that I'll leave the 'Global Preferences' as they are. I'm assuming that the 'Save & Back' button on the bottom left is what I click to execute the setup and return to the main Editor screen.
Now, once setup is all finished, I'm guessing that these are the next steps that I'll need to follow:
Find the baldur.bcs file and open it. I'm guessing that it's a script, so I'll click the Find scripts button and then I suppose that I'll have to type baldur.bcs somewhere and tell the program to search for it. Once it's found, I'll tell it to open, then type Galactygon's code at the end of the file and save it. Hopefully that's all I have to do and I can now close the program, fire up BG2 and play away to my heart's content.
Does this sound right? Or have I totally messed up the procedure? If anyone can help and advise me on this I'd be overwhelmingly grateful.
Cheers,
Kashya
#7
Posted 20 August 2004 - 11:26 AM
You should be able to rest anywhere after installing it... but I haven't tested it or anything.
Extract to BGII directory, double-click on setup-restanywhere.exe, blah, blah. Same old drill.
Oh yeah, you can download it here.
japh
#8
Posted 20 August 2004 - 01:49 PM
I got stuck on the original *.are from the game. None of them has the "Can rest"-flag on, so I wondered if this actually could work.
I also checked 2da's and various scripts. So I wonder where the flags really are. Hardcoded?
So, anyway, I wonder if the flagging actually works.
Great coding, btw. Though I'm curious if BOIIC is really needed...
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#9
Posted 20 August 2004 - 02:11 PM
Free your mind
#10
Posted 20 August 2004 - 02:27 PM
I got stuck on the original *.are from the game. None of them has the "Can rest"-flag on, so I wondered if this actually could work.
Sure they do. Check out AR1305.are for instance.
Great coding, btw. Though I'm curious if BOIIC is really needed...
Maybe I'm missing something, but what the heck is BOIIC?
#11
Posted 20 August 2004 - 02:32 PM
#12
Posted 20 August 2004 - 02:33 PM
I loaded up a game, MoveToArea'd to AR1610, tried to rest and was told I had to find an Inn or a field.
I then threw on the Can Rest flag on AR1610, loaded up another game, MoveToArea'd to AR1610 and was able to rest with no problems.
#13
Posted 20 August 2004 - 02:47 PM
Yes, of course, that's obvious. I based the question on my wrong assumption that no areas had that flag checked. I just didn't check all of them, only compared a few areas where I knew you could rest and a few where I know you couldn't.In which case the answer is "yes", because it avoids areas where you can already rest being copied to the override for no reason.
I still wonder where the flags really are, though.
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#14
Posted 20 August 2004 - 02:53 PM
The great wolf Fenrir gapes ever at the dwelling of the gods.
#15
Posted 20 August 2004 - 03:12 PM
Nice, very nice. I see it now, yes...
So, as far as I understand, the game actually USES this flag. Brilliant. :bash:
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner
#16 -Kashya-
Posted 21 August 2004 - 05:29 AM
I've downloaded and installed your mod, and it works beautifully. Thankyou so much for this, because I don't think that I could ever have managed it on my own.
I'm also pretty sure that I'm not the only BG2 player who will love this mod, so with your permission, I'd like to tell everybody on the official Bioware Baldur's Gate II forum about it and give them the download link.
Big hugs, kisses and thankyous to everybody here who tried to help me, you are the absolute best :love: .
Cheers, from a very grateful,
Kashya
#17 -Kashya-
Posted 21 August 2004 - 07:01 AM
If it does, I think I'll now buy the expansion too .
I stongly believe that this is how the game should have been made in the first place. It's such a little thing, but it makes an enormous difference to the games enjoyability.
Thanks again.
Cheers,
Kashya
#18 -Kashya-
Posted 21 August 2004 - 07:52 AM
I've been playing the game for a while and I've run into a problem with the mod. Now, whenever I bring up the map in town and hover the cursor over one of the name markers, the game crashes to desktop.
Also, whenever I try to sleep in town, that pesky Amnish soldier keeps awakening me and telling me that I cannot rest here, so it usually takes two or three Z presses to finally get it to work, but I can live with that, because it seems to work just fine when I'm indoors.
Any ideas what might be causing the map crashes, and is there any way to fix it?
Cause I really love this little mod and I don't think that I can play without it.
Cheers,
Kashya
#19
Posted 21 August 2004 - 08:51 AM
AFAIK - "normal" areas don't have any flags, while city or outdoor-areas are already flagged.
Can this be the problem?
Khadion NPC mod - Team leader, head designer
Hubelpot NPC mod - Team leader, coder
NPC Damage - Coder
PC Soundsets - Coder, voice actor
Brythe NPC mod - Designer
DragonLance TC - Glory of Istar - Designer
The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
The Jerry Zinger Show - Producer
Iron Modder 5 - Winner