New mod in development - first time modder
fluke13
Member Posts: 399
Hi all, I'm just starting to learn to mod and wanted to create an npc for bgee, sod and bg2ee.
My goals are:
1) Make a walking, talking npc, with banters, pids, friendship etc
2) Create some simple quests, which largely use underrated existing game mechanics
3) Add a little flavour of everything; kit, store, new item, upgrade item, bam art, new spell etc.
4) Have a lot of fun making it
5) Add voiceover
Hopefully I can use this thread, as a place holder for when the mod is ready for release - I'm going for a Q4 2017 release for the bgee portion. I thought it would be good to get some tips as I go and also see what things/ features people would like. As its my first mod, I'm planning to weigh in on what's already existing in the game and other mods, e.g. they seem to be a lot of mage enhancements out there, so thought Id make the npc some kind of mage to take advantage of these nice mods. I also thought I can use my npc for a tutorial. There are some fantastic modders here and out there, but maybe I can offer one thing they can't... the perspective of a total clueless heh.
I'm thinking of posting updates here, but dont want it to be too spoilerish. As I go, I'd be keen to get a few testers on board and possibly voice over.
I expect there will be more demand for Planescape mods, so hopefully I'll make it compatible with all IE platforms.
Update: 3 (I wont keep adding update number, I'll just edit the below as I work through this mod)
1) My npcs will touch on lore of Waterdeep, Halruaa and Khelben. I cant work out exactly - during bg series is Khelben alive? I have the code set up for banters, pid, friendship. Now working on story and timing of interjections.
2) Decided on using the following mechanics, unless I hear any requests:
a) Intoxication - drinking bottles, drunk effects, other dialogue, script drinking interaction
b) Reputation - quest outcomes which change if your rep is v high or low - goal is to make it meaningful and different, but one not "better or worse" than the other.
c) Money - I see a lot of people complaining they have too much coin - my npcs will address that porblem heh
3) Flavour, can people help me create a list of what they'd like as a tutorial/flavour, off the top of my head I can think of: new kit, new item, upgrade an item, create your own bam art for an item/icon, create your own animation for a creature, create new spell, create new area (that one looks especially daunting)...anything else?
Current list of tutorial/features: Please advice on any additions, this part is aimed more at people learning to mod
a) Add an npc - code set up, working on story and interjections, implementing respect system on top of friendship, still need portraits
b) Simple quest - added a v simple quest around rep and xp (achieved when rep/xp reaches certain lvl), adding more quests which dnt deviate from charname path, things like finding resources to upgrade weapon or noc personal development
c) Add a kit - wip, wild mage kit and runecaster kit - think ill make the runecaster a cleric kit, which can either stay cleric to focus on divine runes or move to bard to focu on arcane runes
d) Add an animation - black cat animation is done, might release parts already done earlier, let me know if anyone wants it
e) Add a paperdoll - no clue yet - looks to be the same as adding animation. I want to see if the two can be separated, or if paper dolls can be added for existing animations without them
f) Add a new area - no clue yet - will add a nice little den/temple/workshop for my non playable npc in bgee, then maybe something more substantial involving the sphere in bg2
g) Add new item - done - got some spells, bard songs, a few super items, artifacts to make item and 1 item talks
h) Add new spell - wip, as above, gone for bard songs, polymorphing, wild magic, lots of runes
i) Make weapon upgradeable - done - through runes or end game combining powers into single item
4) I'm proposing 2 npcs:
a) Joinable from bgee, through sod, through bg2+tobee; wild mage/ thief kit - bit OP, but serious story related drawbacks.
b) not joinable in bgee or bg2 (merchant, story involvement), joinable in tob - has the Epic Runecaster kit. If there is interest, I can make a normal Runecaster kit for the protagonist - would be a cleric kit and follow d&d edition2 - so not so much craziness - let me know if there's interest, or if something like this has been done before? I couldnt see much on google.
5) Im currently thinking a dwarf npc and young woman npc. Plus a few random quest givers.
Voiceover is too much fun - started with the old dwarf male. The young woman will require someone to help me, so Im getting all the dialogue ready first.
Learning to add voiceover - it looks like the best practice is to add a blank music file to MUS to drown out game music, then rely on normal .wav sounds for everything else. I managed to add a one minute long song to .wav sound, so not sure what the limit is, but looks a much better option, than using the music.2da - which looks full anyway. Any modders able to get that old mod i found working on ee which adds music.2da limit to 500?
My goals are:
1) Make a walking, talking npc, with banters, pids, friendship etc
2) Create some simple quests, which largely use underrated existing game mechanics
3) Add a little flavour of everything; kit, store, new item, upgrade item, bam art, new spell etc.
4) Have a lot of fun making it
5) Add voiceover
Hopefully I can use this thread, as a place holder for when the mod is ready for release - I'm going for a Q4 2017 release for the bgee portion. I thought it would be good to get some tips as I go and also see what things/ features people would like. As its my first mod, I'm planning to weigh in on what's already existing in the game and other mods, e.g. they seem to be a lot of mage enhancements out there, so thought Id make the npc some kind of mage to take advantage of these nice mods. I also thought I can use my npc for a tutorial. There are some fantastic modders here and out there, but maybe I can offer one thing they can't... the perspective of a total clueless heh.
I'm thinking of posting updates here, but dont want it to be too spoilerish. As I go, I'd be keen to get a few testers on board and possibly voice over.
I expect there will be more demand for Planescape mods, so hopefully I'll make it compatible with all IE platforms.
Update: 3 (I wont keep adding update number, I'll just edit the below as I work through this mod)
1) My npcs will touch on lore of Waterdeep, Halruaa and Khelben. I cant work out exactly - during bg series is Khelben alive? I have the code set up for banters, pid, friendship. Now working on story and timing of interjections.
2) Decided on using the following mechanics, unless I hear any requests:
a) Intoxication - drinking bottles, drunk effects, other dialogue, script drinking interaction
b) Reputation - quest outcomes which change if your rep is v high or low - goal is to make it meaningful and different, but one not "better or worse" than the other.
c) Money - I see a lot of people complaining they have too much coin - my npcs will address that porblem heh
3) Flavour, can people help me create a list of what they'd like as a tutorial/flavour, off the top of my head I can think of: new kit, new item, upgrade an item, create your own bam art for an item/icon, create your own animation for a creature, create new spell, create new area (that one looks especially daunting)...anything else?
Current list of tutorial/features: Please advice on any additions, this part is aimed more at people learning to mod
a) Add an npc - code set up, working on story and interjections, implementing respect system on top of friendship, still need portraits
b) Simple quest - added a v simple quest around rep and xp (achieved when rep/xp reaches certain lvl), adding more quests which dnt deviate from charname path, things like finding resources to upgrade weapon or noc personal development
c) Add a kit - wip, wild mage kit and runecaster kit - think ill make the runecaster a cleric kit, which can either stay cleric to focus on divine runes or move to bard to focu on arcane runes
d) Add an animation - black cat animation is done, might release parts already done earlier, let me know if anyone wants it
e) Add a paperdoll - no clue yet - looks to be the same as adding animation. I want to see if the two can be separated, or if paper dolls can be added for existing animations without them
f) Add a new area - no clue yet - will add a nice little den/temple/workshop for my non playable npc in bgee, then maybe something more substantial involving the sphere in bg2
g) Add new item - done - got some spells, bard songs, a few super items, artifacts to make item and 1 item talks
h) Add new spell - wip, as above, gone for bard songs, polymorphing, wild magic, lots of runes
i) Make weapon upgradeable - done - through runes or end game combining powers into single item
4) I'm proposing 2 npcs:
a) Joinable from bgee, through sod, through bg2+tobee; wild mage/ thief kit - bit OP, but serious story related drawbacks.
b) not joinable in bgee or bg2 (merchant, story involvement), joinable in tob - has the Epic Runecaster kit. If there is interest, I can make a normal Runecaster kit for the protagonist - would be a cleric kit and follow d&d edition2 - so not so much craziness - let me know if there's interest, or if something like this has been done before? I couldnt see much on google.
5) Im currently thinking a dwarf npc and young woman npc. Plus a few random quest givers.
Voiceover is too much fun - started with the old dwarf male. The young woman will require someone to help me, so Im getting all the dialogue ready first.
Learning to add voiceover - it looks like the best practice is to add a blank music file to MUS to drown out game music, then rely on normal .wav sounds for everything else. I managed to add a one minute long song to .wav sound, so not sure what the limit is, but looks a much better option, than using the music.2da - which looks full anyway. Any modders able to get that old mod i found working on ee which adds music.2da limit to 500?
Post edited by fluke13 on
5
Comments
@chimeric while you're here, I'm just looking at your more colours thread, I'm trying to create a cat that's black. Should work with your method right? Anything I put in eekeeper turns out sandy colour.
I could also see it being used to limit dialogue choices, or even add some new ones. This was done only once that I know of, at least in a way. Splurgin Sturgeon inn in BG. (the slime killing bet thing).
Shoot, that just gve me the idea I need to send the ol oozemaster to pay that dude a visit.
I've written a script which makes an npc have to constantly get drunk, lest he cant cast spells and his ac becomes terrible hehe
I could actually see a penalty to saves vs confusion, I mean they are already disoriented to some extent anyway.
Not sure if walking speed could be slowed but might make sense.
A reaction penalty might be called for if leader is drunk and interacting with NPC's of any kind.
It would be funny but I am not sure how hard it would be to implement but the drunk character could actually fall down when walking sometimes, or pass out. Not sure how, but maybe with a short sleep spell effect or something, I am not a modder,but certainly have ideas. I can't remember at the moment if a character drinks enough they pass out at the inn or not.
That's just off the top of my head, I am sure there could be more.
I know rep system as has been played with a little. @elminster did some interesting changes with his Rough World mod.
I believe atweaks added the low rep gets better prices option as well. Even so , you might have a different take on things that could be new.
I can remember a few games in the past that used famine as a condition, with penalties to go with it. The bars and inns don't have options for food though so that might be a tough one(probably one that would want to be as an option to a mod but sure would add flavor. The only thing I have seen as food at all, is the great mod I use by @Ravenslight Critter parts.
I mean in PnP, we ALWAYS had to carry the ol iron rations and wine/waterskins about.
Just to clarify, i want to use these mechanics around the npc quests...so i wouldnt really modify the rep of tox system (much) - but make it more meaningful for my npcs. So they'll be a main npv quest that rides on reputation (good or evil) - so to achieve it you need to get a really high or low rep. I think that way, the npcs dnt feel like they are taking over...i.e. Im suppose to save the mines, but this chick wants me to go to some distant land right now...but it makes each time you raise or lower rep to be like... ooo nice, that npc is one step closer to finding x.
If I were to see a new creature, a rust monster would be up there, particularly with the iron crisis going on(they might be MORE aggressive than normal considering the state of weaponry about (poisoned iron ore). Not too far off the potential quest ideas involving a dwarf (diggers/miners n such). Not sure about the prospects of how they would target weapons and armor, but weapons can break and Atweaks added other metal items breaking some how. I know with the armor breaking, a fireball often does it, so maybe it is related to total damage taken in relation to a set number for the metal item in question.
I think @chimeric was working on a type of spell that targeted inventory, but not sure if he figured a way to make it work or not. Not sure if that would have been helpful for a rust monster or not.
Good luck with whatever you plan as new mods are always nice to see.
That ought to do it for a custom creature. The Set Color etc. opcodes are for spells and effects that are applied on top of creatures' regular colors. For example, when you don a chain mail in the game, it overrides your colors for Armor/Trimming, Strap/Leather and Belt/Amulet, which is why everyone who puts on a chainmail looks the same except their Major and Minor colors. That's not actually very good, in my opinion. Given varieties of metal, leather, cloth and that none of this is factory-made, there should be some variety. I might look into that. But you don't need to change equipment properties for a basic recolor, change the creature.
I'm not working on an Inventory-targeted spell, I was just curious whether that option works. But for other things you suggest, like intoxication, you can use that state as a filter to give creatures resistance to fear. But you'd have to edit the Horror spell itself. Because drinking in a bar isn't a spell as far as I know, it's just something the engine does, so you can't insert resistances there. But you could introduce bottled booze in the game, it's certainly about time. And then it would be easy to slip in an Immunity to Effect there.
For Reputation, the thing that's missing the most, I think, is extra options for quests and responses at low or very high Reputation. For me low starts under 8. If you make quests that read differently, give more purchase options, like secret equipment just for bad guys, and so on, then it's sure to be very welcomed. In a little dialogue I'm writing right now the party can threaten to tear a xvart limb from limb, but this one is clever and knows about the party's reputation among humans. If it's under 8, he'll be scared and give them a special prize, otherwise he'll call their bluff and they'll have to do a quest for him to earn it. But outcome of quests shouldn't depend on Reputation or any numbers - only on player choices.
Hmm, the bottle booze thing might fit the modders idea of a drunk/alcoholic NPC perfectly. Maybe a non removable bottle or something cause they might always keep one hidden.
That's actually a good idea in and of itself. I know there are a few bottles of wine in the game but never used them enough to test it really.
If I was going up against a dragon I would not mind a 'stiffner' before heading into a high risk and crazy endeavor where we KNOW dragon fear can end a run.
That's a nice take on a new use for the rep system and dialogues.
I do like that charisma can modify a reputation score, if we see it as at LEAST one way to change the direction/influence on a discussion. All attributes should come into play really, IMO. For ex. MOST would not tell the hulking high strength character to 'get stuffed', at least not to their face, not unless they were apt at the 'Way of the Weasel', as one my instructors liked to call strategy using sneakiness and cunning.
Just ideas.
first: some creatures like humanoids for example have in their .bam files many different colors in their color cells, that's why you can make humans all sorts of colors
but other creatures ( like cats for example) don't have a big color palette in their .bam files, so no matter what color you attempt to change your cat it will never change
so if you want to change colors to a sprite that doesn't have a multi colors .bam file, you are going to have to go into a sprite's .bam file and adjust EVERY SINGLE cell and change it to the one that matches the sprites that can have any color, AND THEN you need to do that for EVERY SINGLE .bam file
at least for NI that is what you would have to do if you wanted to give different colors to those "hard coded" sprites
I'm pretty useless with coding and art, especially animation, but I'd like to see more new modders use cool features. Hopefully they can look at my really basic tutorial first, then look at more advanced examples like @Ulb werebear and the super advanced @argent77 golems. Then we have a massive (so big I had to download in tiny pieces) - extended animations from @viader . I think with all that, we should hopefully see some nice new animations in mods to come. People good at art/animation can hopefully add their own to the game and people not so arty can grab one of viader's all ready to go.
You can also use Opcode 51/52, location 'Character Color(255)' for single color hues, such as an all-black cat.
INTOXMOD.2DA appears to control the effects based on the intoxication level. In BGEE it starts at 50 with a decrease of -2 in luck and an increase of 2 in morale. So if you have 15 CON you will need five drinks to notice the first effects.
+ (INTOXICATION_RATE) per drink,
- (RECOVERY_RATE) per half-hour(150 seconds), excluding advancing time through Ctrl+T
Values from INTOXCON.2da.
Resting doesn't actually remove intoxication directly, it just reduces it by 8 hours worth, which using the default RECOVERY_RATE(12) is always enough.
Luck/Morale modifiers are directly taken from INTOXMOD.2da, starting at 50 (-2/+2), going up to 100(-12/+12)
Also, runecaster... thought? yes/no? but why?
Also one more thing... where is the best place to communicate updates for iesdp? I found one or two things so far; Im putting a list together so I can get these added to iesdp for everyone else to see.
Hopefully, end of story.
If, for some reason, you aren't happy with that, here is a tutorial I wrote before it occurred to me that there is a simpler way. It would be a pity to lose it.
Let's say you want a random cat generator or something. One time a cat is going to be black, the next time red and so on. Maybe even a Summon Cats spell. Or what if the cat avatar can be colored in part - paws, back etc.? In that case you wouldn't want to make a CRE file for every variation - never mind a separate animation! Certainly you don't want multiple CRE files if you're coloring a creature with distinct colors for skin, hair, major and minor colors, metal etc. So, staying with the cat, let's use just one CRE file but make the creature randomize itself every time it appears in the game.
In the CRE file click on the button below to add Effect. Here select "Cast instantly (ignore level)." For the type of effect choose opcode 7 - Set Color. Pick, say, red. This works just like changing colors in a CRE file directly, but the creature will apply this on top of its CRE colors and override them. Other opcodes you can play around with are opcode 51 (kjeron's Tint solid), a couple of Glows etc. For Target choose Self. In Timing Mode choose Instant/Permanent (9). Don't forget to set Probability 1 to something other than 0. Put it at, say, 30. Probability 2 stays 0. This means the cat will color itself red on a 30-0, percentile roll, i.e. 30% of the time, and permanently.
Close this window and right-click on the finished Effect. Copy it, click away and Paste. Now go inside the second one and choose a different color, like white. Put Probability 1 here at 50 and Probability 2 at 31. Exit, save. Now when the cat appears, it's going to color itself white on a percentile roll of 50-31 and red on 30-0. The chances you haven't covered up, 100-51, will do nothing and the cat will retain its original color, black. If you want more variety, just split up the fractions some more and add extra colors.
You aren't limited to setting colors inside a CRE. Let's say you want 1 in 10 arriving cats, whatever their color, to cast Magic Missile at themselves when they appear, for some reason. Well, you create another effect here, set Probability at 10-0 and choose Cast Spell as the effect, target still Self. Select Magic Missile from the list of SPL (use the Search function of NI to find out the file name first). Update the field, close, save, exit. And if you want some cats to turn into wyverns, well, there is an opcode for that.
Oh, I do go on so. But I had to finish the story.
For your other question, the best place to talk about updating IESDP and be heard is at Gibberlings 3 where they run it.