The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> kit creation question
lroumen
post Jun 1 2009, 08:38 AM
Post #1





Forum Member
Posts: 522
Joined: 12-April 06
From: Netherlands




Hello everyone.

I am attempting to create a kit, but I run into a problem and I would like to hear some opinions.

I was thinking that since you cannot change the layout of the functional buttons, you may be able to change their behaviour. So I figured, since the bard already has a thieving button for his pick pocket skill, would it be possible to give a bardkit the ability to pick locks and remove traps?

1. I have attempted to add an OPEN_LOCKS line into the bard 2da right under his pick pocket ability, but I'm guessing that that never gets read by the game.
2. Next I tried to give him thieving points with shadowkeeper to see it that worked in any way. But when I detected a trap with another thief I simply could not get the trap disable button with the bard.

So I guess my current conclusion is that the bardic thieving button only works for pick pocketing. Now that means that it must have some of its natural capabilities disabled by the game (the pick locks and remove traps ability). Therefore, I wonder if anyone has ever looked further into the game to see how these abilities are removed. Since it is possible to disable a functional button using an op-code, maybe part of the thieving has also been disabled with an op-code and can be undisabed (reenabled).

It is also possible that thieving for thieves is added by thieving points, whereas the thieving for other classes (monk, ranger, bard) is added through a 2da. It does not seem possible to have a non-thief class to get thieving points per level, so perhaps additional thieving skills are impossible for the other classes as well.



Lastly I think I will probably be able to fix the usability of a bardkit as a semi-thief by giving it a few knocks per day and a few find traps spells per day as kit ability. That makes him all-purpose in the end, but too powerful due to 100% successrate for the skills. Is it possible to have the spells efficiency scale per level (knock and find traps are only effective for trap difficulty of 50% or less for instance, to be increased upon level ups)? I'm guessing that the answer is no, but perhaps I'm wrong. Related to this, is it possible to re-memorise the casting of a spell after it has been used but without requiring sleep? That way I only need to give 1 knock and 1 find traps as kit ability, but that still does not give it proper scalability (such that it does not become overpowered compared to a normal thief who has scalability of the thieving skills).

Thanks for the responses.
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
lroumen
post Oct 29 2009, 08:18 AM
Post #2





Forum Member
Posts: 522
Joined: 12-April 06
From: Netherlands




Thanks for the tip, but the kit bonuses are not really a big problem. I can make a few spells as innates and give the kit a few nice bonuses that way, however, I would like it if I were able to choose my bonuses as I level up. That is why I have been trying to code this through a dialogue-based bonus-acquirement.

It turned out to be quite easy to get the dialogue and the bonuses to work, but getting back the information on how I have picked my bonuses has been rather complex as it involved this token business. I have managed this at the moment though. The token settings now work properly too, so the summoning of the djinni works well and his dialogue is fixed. The only problem is going to be when you gain several levels at the same time... you also summon multiple djinnis. I think I will fix that later as it is not a big issue at the moment. I will probably set a few triggers that will check whether you start in BG1, SOA or TOB related to the level you start with upon charactercreation.... otherwise you get a lot of summonings at the same time and the count can get lost somehow in the chaos making the dialogue inconsistent.


The class changing has proven more difficult.
I tried to make an innate that allows me to change form, but that does not change your class menu buttons (F1 to F12). As such, the bardsong is still there and the thieving abilities do not transfer such that you cannot pick locks or remove traps (and you do not have the detect traps/illusions button nor the stealth button).

The only way to get this done is to script an actual class change. I am doing this by scripting a baf that is appended to baldur.bcs which always runs in the background. The script allows me to change a class when a certain global is tripped. The global is changed by an innate spell which is indeed added to the CLAB again. I can refresh that innate just fine so the innate is unlimited, though it will disappear when the innate is interrupted. Maybe I should make it uninterruptable.

Anyway, the class changing was working a while ago, but now it seems faulty again. The global is tripped but the class is not changed and the block does not execute. I will need to bugtest this very thoroughly as I have done for an hour every day over the past month. At least I got it to work a few times, now to figure out how to get it to stay working.


If I can get this to work well, I will be able to script a custom fighter kit which can be picked by any race and then script a class-change such that you become a half-orc-mage or a dwarven-bard or a halfling paladin or whatever, the 'legal' way, since you just gain the bonuses of the mage/bard/whatever class when you change to that class. Class limitations may be hard-coded but can be circumvented this way. I probably have to fix some bonuses at that point though, thac0, health, XP-level... Could be interesting at least for my own tampering within the game.
Go to the top of the page
 
Quote Post

Posts in this topic
lroumen   kit creation question   Jun 1 2009, 08:38 AM
Ardanis   Next to everything about classes-buttons is hardco...   Jun 1 2009, 08:10 PM
lroumen   Yes, exe hacking is a bit beyond the scope of my f...   Jun 2 2009, 06:52 PM
lroumen   I've had a thought-wave. Perhaps it would be ...   Jun 3 2009, 06:30 AM
Ardanis   It will probably work. I can think of such a tric...   Jun 3 2009, 05:29 PM
lroumen   It does make sense. Perfect sense. I cannot believ...   Jun 4 2009, 06:27 AM
Ardanis   That largely depends on how many times a bard will...   Jun 4 2009, 03:11 PM
lroumen   I see that this code greatly reduces the amount of...   Jun 5 2009, 07:37 AM
Ardanis   I've thought of it, and it's how I had thi...   Jun 5 2009, 05:17 PM
lroumen   Unfortunately, I really didn't have much time ...   Aug 25 2009, 08:28 AM
lroumen   Short update Coding the globals to work for 6 NPC...   Oct 6 2009, 07:49 AM
lroumen   Well, I tried the polymorph ability into a thief, ...   Oct 8 2009, 06:52 AM
lroumen   woohoo. I got changeclass and addkit to work to so...   Oct 22 2009, 07:45 AM
Hoppy   Have you tried creating innate abilities for your ...   Oct 28 2009, 05:26 PM
lroumen   Thanks for the tip, but the kit bonuses are not re...   Oct 29 2009, 08:18 AM
Hoppy   Anyway, the class changing was working a while ago...   Oct 30 2009, 02:16 AM
lroumen   Thanks for the tips. I will look into the possibil...   Oct 30 2009, 08:06 AM
Jarno Mikkola   Hmm, intresting. :thumb: IF Global("LR...   Oct 31 2009, 08:23 AM
lroumen   Hmm, intresting. :thumb: Just so you know, this...   Nov 2 2009, 09:55 AM
Jarno Mikkola   Question though, why would it not work with refine...   Nov 2 2009, 10:29 PM
lroumen   I will check Refinements regardless, but I think t...   Nov 3 2009, 08:48 AM
Jarno Mikkola   ChangeClass or ClassChange?!? Argh! Typing...   Nov 3 2009, 01:05 PM
lroumen   Good idea about the usb. I had not thought about t...   Nov 3 2009, 01:42 PM
lroumen   Update: - class changing fixed. it is working pro...   Nov 23 2009, 07:56 AM
Jarno Mikkola   I would like a tip for a reliable hosting site. An...   Nov 23 2009, 09:56 PM
Baronius   lroumen can always PM me with the details of what ...   Nov 24 2009, 10:22 AM
Jarno Mikkola   On a side note, I'm sure most members know her...   Nov 24 2009, 05:47 PM
lroumen   Oh, haha, I didn't mean it like that. If I wer...   Nov 24 2009, 01:46 PM
Baronius   As a forum member, you should be able to attach fi...   Nov 24 2009, 03:44 PM
lroumen   Oh right, I forgot about being able to attach file...   Nov 24 2009, 06:58 PM
Baronius   Jarno Mikkola: I don't know what megabytes you...   Nov 25 2009, 03:31 PM
lroumen   Well.. this is it. All info is in the zip file, bu...   Dec 22 2009, 01:43 PM
Jarno Mikkola   Ah, there's no primary mod folder(*modname* th...   Dec 22 2009, 02:37 PM
lroumen   Ah yes. The zip-file should be unpacked in the ma...   Dec 23 2009, 06:35 AM
Jarno Mikkola   The zip-file should be unpacked in the main BG2 fo...   Dec 23 2009, 07:16 AM
lroumen   Great, I had to fix a bug with the bardsong alread...   Jan 19 2010, 02:44 PM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 22nd August 2025 - 02:15 PM