Jump to content


Photo

NPC / Quest project in need of a coder


  • Please log in to reply
5 replies to this topic

#1 Oni

Oni
  • Member
  • 17 posts

Posted 29 July 2004 - 09:13 PM

Have you ever been hit with an idea out of the blue and it just refuses to let you go? That happened to me a few days ago. While reading on the forum I came across a mention of Habib, the scimitar / coin throwing thief of Calimshan who makes a few cameos in BG2 in Amn. Who he is and what his story could be has since invaded my psyche until I actually came up with not only a decent character concept for him, but also a very interesting quest. The fact that his personality had a lot of comedy potential helped as well. My only problem with all this, and it is a major one, is that I know absolutely nothing of programming. I?m a good storywriter, I can usually do decent dialogue, but I have no coding abilities whatsoever. So I?m placing my concept here in order to either recruit help in this project, or to pass it along to somebody that will be able to develop it.






Name: Habib Khalid Achmed Allafif
Race: Human
Alignment: Neutral Good
Class: Fighter/Thief
          Inactive: Fighter (possibly Berserker or some other kit)
          Active: Thief
Level:
Ftr-5th
Th-6th (at least)

Str: 16
Dex: 17
Con: 14
Int: 12
Wis: 9
Cha: 9

Proficiencies: ***** Scimitar (Grand Mastery)
(Other proficiencies Unknown at this time, possibly Sword & Shield style or Single Handed Style)

History:

When approached about his background Habib cheerfully begins a lengthy tale about his childhood in Calimshan and the exploits of his extended family. A few hours later, after a lengthy introduction to his second cousin?s goat herding profession, you manage to piece together a somewhat coherent account of how he ended up in Amn. Trained as a warrior, Habib took duty as a caravan guard. None of these jobs lasted very long however, due to Habib?s distressing habit of throwing his only weapon at his enemy and doing little or no damage. His last caravan ditched him in Amn where he couldn?t find any more work due to, according to Habib, ?Their immense fear of my ferocious flying scimitar!? More likely all the caravan leaders simply got tired of hiring a guard that threw away his weapon at the beginning of a fight and then sat the rest of it out. As a result of his inability to find work as a guard he turned, much to his shame, to muggings and petty theft. He has thus far somehow managed to keep the attentions of the Amnish thieves? guild away from himself, although you strongly suspect that they do know about him, they?re just too amused by his antics stop him. After squashing the urge to throttle him you manage to escape his barrage of conversation by telling him to look over in the other direction. After you put a bit of distance between the two of you, you thank the gods that the rest of his family is in Calimshan.

The Quest(s):

Habib?s first quest is his recruitment quest. It starts with you finding all the places he throws stuff at you. Currently I know of two, when throws his scimitar at you (night at the docks or slums I think) and a coin at one of the temples of Ilmater. First there would be a few other places that he tosses unusual items at the party. Afterwards while at night in the Slums, the party comes across a cornered Habib and a gang of thugs. The thugs are angry with him for his habit of pelting them with miscellaneous crap. At this point the party can do several things, including: Talking the thugs out of it, fighting them off, watch, watch and laugh, help them kick the crap out of the annoying twit. After the encounter Habib (assuming he?s still alive) thanks the party for the timely intervention and that he will be leaving town for a while until tempers cool. This leads to the second part of his recruitment quest. There is a new location on the map (for the moment I call it The Trading Post), which gives the PC?s new people to meet and side quests to do. In the center of the location is a guarded compound that the PC?s cannot enter until the Slum Gaspellholdstudios.netng event with Habib has occurred (Whether Habib survived that encounter doesn?t matter). Inside the PC?s discover that a grisly murder has occurred. If Habib is still alive at this point then the victim was killed with an expertly thrown scimitar and Habib is in jail as the prime suspect while the investigation is under way (if he?s not alive then the victim was killed in a different but similar manner and an innocent generic commoner is in jail). Once the PC?s find out about this a timer starts and they have a week (possibly less) to help get Habib out of this before he?s executed for a crime he didn?t commit (unless of course you?d rather see him rot). There are clues to discover for the diligent investigator but beware! Some clues only occur at certain times and others disappear if not found in time (for example: footprints outside the victim?s window might be an important clue, provided you find them before the gardener tidies the lawn.), of course some clues can be discovered after the fact but they will be of inferior quality to having found the clue first hand (for example: the gardener cleaned the lawn before you could see the footprints, but a careful questioning of the gardener might reveal some information on them). Once the time limit is reached, or when the PC?s think that hey have enough evidence, they take it to the people in charge and make their case with the solutions they can pick based on what evidence they collected (anything from clearing Habib, clearing him and catching the real criminal, to framing somebody else for extra cash). Afterwards if Habib was found innocent, he swears off throwing scimitars and asks to travel with you as he is now in your dept (if it was the generic commoner, then the PC?s get a warm fuzzy feeling of having seen an innocent man safely free, or is that the XP?).

One potential side quest is the irritating guy in Trademeet who follows you around asking questions, if you talk to him with Habib in the group he gives back the Magical Scimitar that Habib threw at him earlier in the week instead of some magical sling stones.

Habib?s quote of the day:
?Oooh, I feel like a genie that just got his lamp rubbed!?







While planning this I thought he had a lot of comedy potential (I can just imagine some of the conversations he?d have with Minsc and Jan). Please tell me what you all think as well as whether or not I?m crazy for having come up with this. :wacko:

Edited by Oni, 29 July 2004 - 09:56 PM.


#2 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 30 July 2004 - 05:22 AM

A Habib NPC mod has been suggested a dozen times over...

Why are his levels so high if he only has three hitpoints in game? If he's a 5/6 Fighter/Thief, then both classes would be active, he just won't be levelling up as a fighter anymore.
Home of Kitanya, Improved Asylum, more...

Posted Image

#3 Oni

Oni
  • Member
  • 17 posts

Posted 30 July 2004 - 07:24 AM

A Habib NPC mod has been suggested a dozen times over...


I am well aware of this, I just wanted to see if I could do a better job (besides, I still think it could be worthwhile as he strikes me as very funny).

Why are his levels so high if he only has three hitpoints in game?


I have no idea how many hitpoints he had originally been given, and to be honest does it really matter (he was a gag character after all, I don't think you were suppose to fight him).

If he's a 5/6 Fighter/Thief, then both classes would be active, he just won't be levelling up as a fighter anymore.


As a duel-class (the only way a human can be a fighter/thief in 2nd ed) he would have only one active class. I'm not sure what you mean here, unless you're thinking of 3rd ed...

Edited by Oni, 30 July 2004 - 07:25 AM.


#4 dragon_lord

dragon_lord
  • Member
  • 88 posts

Posted 30 July 2004 - 07:52 AM

(he was a gag character after all, I don't think you were suppose to fight him).

If I remember correctly Habib was the result of a competition where the winner would have their NPC in the game.

QUOTE 
A Habib NPC mod has been suggested a dozen times over...
I am well aware of this, I just wanted to see if I could do a better job (besides, I still think it could be worthwhile as he strikes me as very funny).

Hey go for it, you seemed to have given it some thought. If its funny and balanced I'll play it. Personally speaking I would suggest you learn to code mods yourself so you don't have to rely on other people to create your dreams ;). It can be a long road but its worth it in the end - the freedom to create what ever you like.
Maintainer of the Dragon's Hoard Download Center
Member of the World Transition Project
The Items Mart - A comprehensive guide to item locations with maps for BG2
Portrait City - The largest collection of portraits for BG2 on the net.

#5 Oni

Oni
  • Member
  • 17 posts

Posted 30 July 2004 - 08:37 PM

I would suggest you learn to code mods yourself


Oh believe me, I wish I could. I just don't think I'd ever find the time to learn, what with school and the dozen or so other projects I have on the backburner. Assuming I borrowed some Basic Coding books, It'd probably be a year before I was anywhere ready to start something like this. Hense the whole looking for help, but it doesn't look like anyone's interested at the moment. B) Oh well, the project is on the table if anybody catches an interest. In the mean time, can anybody give me some comments on what you think of the concept I have so far? Are his stats balanced? Is his Quest interesting? Is his backround (I know it's not the best and destined for a re-write) at least mildly amusing? ;) Please, let me know what you think of all this.

#6 dragon_lord

dragon_lord
  • Member
  • 88 posts

Posted 01 August 2004 - 02:28 AM

Assuming I borrowed some Basic Coding books, It'd probably be a year before I was anywhere ready to start something like this

Huh? Basic Coding books? I think you may have gotten that wrong idea. Creating a mod for BG2 doesnt involve a programming language as such, its mainly basic scripting involving IF THEN RESPONSE END. And dialogues arent that dissimilar from what's below.

For instance (from my mod):

//Julia's Intelligence heals. Sets Julia remembers her name dialogue timer.
IF
Global("INTHEAL","LOCALS",0)
RealGlobalTimerExpired("JULINTHEAL","LOCALS")

THEN
RESPONSE #100
ReallyForceSpell(Myself,GAIN_ONE_INT_PERMANENT)
DisplayStringHead(Myself,74636)
RealSetGlobalTimer("KNNAMETRL","LOCALS",2)
SetGlobal("INTHEAL","LOCALS",1)
END

If you want learn how to code an NPC mod, you should read some of the tutorials around the place. There are plenty of them.
Maintainer of the Dragon's Hoard Download Center
Member of the World Transition Project
The Items Mart - A comprehensive guide to item locations with maps for BG2
Portrait City - The largest collection of portraits for BG2 on the net.