Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jastey

#1
Hello,
I would like to register PT as additional prefix to my original one (C#, still valid).

Thank you!
#2
Thank you!
#3
I would like to register RN. I need a unique prefix for mod recodings of older Rosenranken mods.
#4
Keldorn NPC / Welcome!
October 05, 2008, 02:19:52 PM
I don't mind if Ajantis gets mentioned, not at all, since I am a real fan. (My "Note, that Ajantis..." wasn't meant patronizing, just to say that it's a way of romancing him even if being a thief.) But enough Ajantis-self promotion from my side now! Anomen doesn't have profession restrictions concerning his romance interest, afaik, since he is no paladin.
Good luck with the project, Senka!
#5
Keldorn NPC / Welcome!
October 05, 2008, 10:20:55 AM
Since Ajantis was mentioned, I would like to add to the "paladin romancing thief" question: Theoretically, I could imagine a PC with profession "thief" being nontheless good, giving the poor etc. Fact is, there is no way you can check that in the game, so I decided to exclude thieves completely. (Note, that Ajantis romances multi-class thieves, btw.) It's a principle thing: A paladin would walk into the the front door, even if he knows that he will be killed. He never would use the back entrance, or cheat, not even for the "good cause". So, a paladin and a thief as a couple just doesn't fit, regardless of the morals the thief might live on. Hope it makes sense.
#6
Thank you very much! I will let you know when I updated the tutorial.
#7
I missed this when preparing my BG1 coding tutorial (link). Can I ask permition to include this into the tutorial?
Was any of the above tried for plain BG1 (without the TotSC)?
#8
Just to throw in something: There are people who register a prefix and turn up two years later.

And I am strongly against trying to force anyone to make early releases, pre-pre alphas or whatever. It's a hobby and should stay that way; plus, in my opinion this would only increase the number of people using no prefix or "whatever", because they fear that they will lose it anyway. If that makes sense.
#9
What Kulyok said.

The Bigg: A working Alpha after two month? Sorry, but I think this is dream world. Of course not everyone has to take as long as me to finish an NPC mod, but to make a working Alpha after two months a requirement to keep the prefix the modder used is unrealistic. And no, I don't think "you can change the prefix of the mod" is a solution. I did that for a mod only recently, it's a pain. Stating you are still interested in the prefix should be enough. I don't think the community should put so much unnecessary pressure on some modders. It's a game and a hobby we are talking about.
I favour Kulyok's approach, because it not only fixes the already registered prefixes, but also includes the contacting of the modder by the prefix list moderator before removing / deleting it. I don't know about you, but with all the RL going on, I am sure I would forget about a date I have to keep after a year in a hobby gaming project.
#10
Modder's Workshop / I_C_T versus I_C_T2
August 13, 2008, 09:16:29 AM
There is also an I_C_T4, which would be the multiple trigger variation of I_C_T2. I only learned it by reading about it myself:    
Re: I_C_T vs I_C_T2 revisited.
.
#11
Modder's Workshop / I_C_T versus I_C_T2
August 13, 2008, 06:58:24 AM
With I_C_T2, you have to be careful if there are multiple actions, meaning different actions for different reply options / conditions, though. In this case, I_C_T2 cannot be used, but I_C_T with a give back line from the original speaker xhould be used.

Example:

In the following, I_C_T2 would be perfect, since every reply option has the same action:

IF  ~~ THEN xx
SAY ~I agree.~
++ ~Fine.~ DO ~EscapeArea()~ EXIT
++ ~But I don't.~ DO ~EscapeArea()~ EXIT
END

In the following, I_C_T2 would not work, but screw up the actions of the reply options (it tends to take one of them and put it after all reply options):

IF  ~~ THEN xx
SAY ~I agree.~
++ ~Fine.~ DO ~EscapeArea()~ EXIT
++ ~But I don't.~ DO ~Enemy()~ EXIT
END

After a first enthousiasm, I nowadays don't use I_C_T2 at all anymore. The reason is, that, even if the original dialogue state doesn't contain multiple actions, I can never be sure that another mod hasn't added a reply option that contains one. If another mod that was installed before mine added one, my mod would give a warning upon install and screw things up. I am only using I_C_T with a giveback line.

Btw: With I_C_T3, you can add multiple interjections to the same state that have different triggers, which is not possible for I_C_T.
If you want your mod NPC give different comments depending on his state of romance, for example, I_C_T3 is the one to use. The following coded using I_C_T would lead to only the first line being shown, when the conditions are met, the following would never show.

I_C_T3 gamechar X XXvariablename
== ~moddlg~ IF ~(Romanceactive = 0)~ THEN ~text1~
== ~moddlg~ IF ~(Romanceactive = 1)~ THEN ~text2~
== ~moddlg~ IF ~(Romanceactive = 3)~ THEN ~text3~
END
#12
Modder's Workshop / Two ToB coding questions
July 16, 2008, 06:20:17 PM
The only thing I can think of is: is Krhxyth also his death variable? Because the patching of the pdialog.2da and interdia.2da should be done with the death variable.
#13
Modder's Workshop / More State Checks...
June 06, 2008, 10:37:52 AM
What parse error do you get? Is it still there after you add the custom state to the ids via the tp2-patching? (Sorry for not pointing that out earlier, btw. I mentioned the custom state but didn't tell you how to implement it. It's from CamDawg, btw., just for the credits.)

To weather: No check, unfortunately, only action. So, if you want a banter only fire if it's raining (or not), you have to set the whether, run a timer of say 5 sec and then trigger the banter. I did that for one of Ajantis's love talks in BG1NPC project (script block slighty adapted to the example):

/* Weather change (no weather) */
IF
InParty(Myself)
(...)
!Detect([ENEMY])
See(Player1)
!StateCheck(Player1,CD_STATE_NOTVALID)
CombatCounter(0)
Global("C#WeatherTalk","GLOBAL",0)
OR(3)
AreaType(OUTDOOR)
AreaType(WEATHER)
AreaType(FOREST)
THEN
RESPONSE #100
SetGlobal("C#WeatherTalk","GLOBAL",1)
Weather(NOWEATHER)
RealSetGlobalTimer("C#WeatherTalkTimer1","GLOBAL",5)
MoveToObject(Player1)
END

Have a look in the IESDP which weather can be set: http://iesdp.gibberlings3.net/files/ids/bg2/weather.htm
#14
Modder's Workshop / Appends
May 29, 2008, 06:59:13 AM
Yeah, sorry about that... no tildas around the triggers and actions in a baf.
#15
Modder's Workshop / Appends
May 28, 2008, 10:13:59 AM
The CHAIN still appends to the B.dlg, in case you didn't notice.

But if you want to add the dialogue to your J.dlg, you need a script block that executes and triggers the dialogue. In case you haven't one already:
What you do is, in your modNPC.bcs, you put a script block that goes
IF //dialogue activation
~InParty(Myself) //for modNPC who starts the dialogue only if in the party
InParty("BioChar") //dialogue partner
See("BioChar")
!StateCheck("BioChar",STATE_SLEEPING) //you might want to cosider using CamDawg's "CD_STATE_NOTVALID" who includes other "unable to talk-checks", like dead, stunned, etc.
!Dead("BioNPC") //in case you use STATE_SLEEPING
Global("BioCharHalbo1","GLOBAL",2) //variable will be set that runs the dialogue, could be you have to adjust the value or create a new one
OR(11)
AreaCheck("AR0021")
AreaCheck("AR0313")
AreaCheck("AR0406")
AreaCheck("AR0509")
AreaCheck("AR0513")
AreaCheck("AR0522")
AreaCheck("AR0704")
AreaCheck("AR0709")
AreaCheck("AR1105")
AreaCheck("AR1602")
AreaCheck("AR2010")~
THEN
RESPONSE #100
SetGlobal("BioCharHalbo1","GLOBAL",3)
END

IF // daialogue triggering. repeat only the crucial triggers to prevent CTDs
InParty(Myself)
InParty("BioChar")
See("BioChar")
!StateCheck("BioChar",STATE_SLEEPING)
!Dead("BioNPC")
Global("BioCharHalbo1","GLOBAL",3)
THEN
RESPONSE #100
StartDialogNoSet("BioNPC") //calls the J of the modNPC
END


and in your J.d file, there goes the dialogue (do not include other triggers here than the trigger variable, as it might cause stutter bugs):
CHAIN
IF ~Global("BioCharHalbo1","GLOBAL",3)~
THEN CXHALBOJ HalboBioChar1.3 //appending to J.dlg
~blah blah blah~
DO ~SetGlobal("BioCharHalbo1","GLOBAL",4)~
== BioChar
~blah blah blah~
EXIT
#16
Modder's Workshop / Appends
May 27, 2008, 07:29:30 AM
The weighted banters come before th unweighted ones, that is the way it should be. Per dialogue file, the blocks are processed from top to bottom. If you say you have the banters in a random order, could it be it wasn't the same NPC starting the dialogues?
If you want to have banters from different NPCs in a specific order, you will have to use variables to ensure it. (i.e. in the first banter by NPC 1, the variable XX-(your prefix)Banter1 is set to 1; in th second banter from NPC 2, the trigger block contains Global("XX_Banter1","GLOBAL",1).) Using variables to ensure the order is a good idea anyway, since weighting changes the top-to-bottom processing of a dialogue file.
#17
Modder's Workshop / Appends
May 26, 2008, 08:29:58 AM
While typing the general remarks below, I understood what you were actually asking.. So you say that all banters you appended to bioWare NPC banter files do not fire? Did you check the correct spelling of the banter files (this question is not as stupid as it seems, although the WEiDU installer should complain if they are wrong, but sometimes several exist and only one is the right one, e.g. for Imoen)? Sometimes with using Cntr.+I you have to be patient and hit the keys several times for a banter to show up. If nothing helps, would you consider posting one of your appended banters that doesn't work?

Here some general blurb about banter files, I'll leave it standing although I guess you might know this already:

Cntr.+I only activates the banter in the B.dlg. That is why there go all unscriptd banters (i.e. the ones that are not called by a script using a specific variable).

For scripted dialogues, I recommend using the J.dlg. Scriptd banters are for a specific situation only (after a timer is run, if the party enters a specific area, after finishing a quest), so they are triggered by variables via the script file, and thus they cannot be called by Ctrl.+I.

Even if you'd put the scripted dialogues into the B.dlg (which would, in principle, work, but be cautious to use the right weighting), you wouldn't be able to call them via Ctrl.+I, since they need the trigger variables to be set.
#18
Modder's Workshop / Remembering a State Check
May 21, 2008, 08:50:33 AM
Dialogues at rest (when the player hits the "rest" button) are scripted via the "npcnameD.bcs". The "D" for dream dialogues is actually a script, not a dialogue file, although it is assigned to the pdialog in the tp2. Just create (and compile) a d.baf named as you assigne it via tp2, and put a trigger script block with the dialogue conditions into it. Then the dialogue will be triggered upon rest, if the conditions are met.

Have a look at the romance coding tutorial here, too: Romance Authoring Tutorial, under "Sleep Scripts"

Note: For this, do not use the "splitted" method introduced in "How to ensure your banters always run when you want them to. " (for all other NPC-initiated dialogues, I recommend it very much as it helps to prevent stuttering).
#19
Quote from: BimLanders on May 13, 2008, 09:27:52 PM'I don't want to talk to you, stranger; why would I want to talk to someone that barged into my apartment,'
The line is from BGQE, yes. If you have mixed-up text lines and names, it is mostly a sign of an old save-game used with new mods installed in a different order. Starting a new game should do the trick.
But I would like to ask: Which scene of BGQE is still present after deinstallation (in an old save game)? If you mean a character that spawned before, then it is logical, as it is saved in the save game. (He shouldn't have any dialogue if clicked on, though. Not very convenient, but nothing I could do anything about it.)
#20
Improved Anvil / Custom characters required?
March 18, 2008, 10:39:07 AM
Quote from: Shaitan on March 16, 2008, 07:49:02 AMMany others have reported that changing coulours may cause crashes.
Yes, it can cause crashes. There are certain colours for the different parts, meaning "metal" can only have metal colours, and might lead to crashes if "hair" colour is assigned to it. Unfortunately I don't know where to look up which colour range is valid for what, so this remark is only half helpful.
EDIT: Found the information. In SK, if you look at the fields where the colour can be set, you have to make sure to stay in the range. For example:

hair colour: 0x00 to 0x09
Armor:      0x1A to 0x1F

etc.

That should work.