Jump to content


New Guy Full of Questions


38 replies to this topic

#31 Kaeloree

    beluga

  • Modders
  • 754 posts
  • Gender:Male

Posted 25 January 2012 - 01:52 PM

Yep -- because R#ARTHURB is longer than 8 characters. Make it R#ARTHUB and it will work.

You should also be using == R#ARTHUB rather than == R#Arthur. This is his banter file; he should always be using R#ARTHUB, not his initial dialogue file (R#ARTHUR).

Edited by Kaeloree, 25 January 2012 - 01:55 PM.


#32 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 25 January 2012 - 03:33 PM

Ok.... got it

thanks mate for take a look at it, I'll try those changes on the morrow
[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#33 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 26 January 2012 - 02:55 AM

The install is ok, but for this:

[trigger list near line 15, column 5 of Dayne/R#ArthuB.d] PARSE WARNING at line 19 column 41-41
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]
[trigger list near line 15, column 5 of Dayne/R#ArthuB.d] PARSE WARNING at line 21 column 38-38
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]
[trigger list near line 56, column 5 of Dayne/R#ArthuB.d] PARSE WARNING at line 60 column 41-41
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]
[trigger list near line 56, column 5 of Dayne/R#ArthuB.d] PARSE WARNING at line 62 column 38-38
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]

And the file looks like this:

BEGIN R#ArthuB
CHAIN
IF ~InParty("R#ArthuB")
InParty(Player1)
!StateCheck("R#ArthuB",CD_STATE_NOTVALID)
!StateCheck(Player1,CD_STATE_NOTVALID)
Global("R#MyGlobal","GLOBAL",0)~
THEN R#ArthuB Banter1
~I love women.~
DO ~SetGlobal("R#MyGlobal","GLOBAL",1)~
END
IF ~~ THEN REPLY ~Yes, me too!~ GOTO Banter1-1
IF ~~ THEN REPLY ~Really? I thought otherwise.~ GOTO Banter1-2
CHAIN
IF ~~ THEN R#ArthuB Banter1-1
~I'm glad you agree with me!~
EXIT

CHAIN
IF ~~ THEN R#ArthuB Banter1-2
~Fuck you.~
EXIT
CHAIN
IF ~InParty("R#ArthuB")
InParty("Minsc")
!StateCheck("R#ArthuB",CD_STATE_NOTVALID)
!StateCheck("Minsc",CD_STATE_NOTVALID)
Global("R#MyMinscGlobal","GLOBAL",0)~
THEN R#ArthuB ArthurMinsc1
~Minsc, Is that a hamster?.~
DO ~SetGlobal("R#MyMinscGlobal","GLOBAL",1)~
== BMINSC ~Yes! Boo is a hamster!~
== R#ArthuB ~That's mad.~
= ~You two should be in a mental institution.~
== BMINSC ~Yes, and buttkicking!~
EXIT

Can't see why....
[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#34 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 26 January 2012 - 11:42 AM

Ok..... after maaaaany test, I decided to go over everything again.... so I decided to follow the tutorial till the last letter, so I created a new NPC as if today was my First day and copied and pasted the tutorial literally till the point that I'm currently at, with my own NPC, and what is my surprise to discover that is giving me the same error.... something is amiss with the banter file making, or that is my conclusion at least.... could it be possible??

Here I post for u the error and the Link to the tutorial in case u wanna check it out (I may made a mistake somehow)

[trigger list near line 15, column 5 of Sam/K#SamB.d] PARSE WARNING at line 19 column 38-38
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]
[trigger list near line 15, column 5 of Sam/K#SamB.d] PARSE WARNING at line 21 column 38-38
Near Text: )
[StateCheck] argument [CD_STATE_NOTVALID] not found in [State.IDS]

And the link : http://katbella.com/npcguide/3_4.html (You can also go to the tutorial section and click in Ace's very Long NPC tutorial)

Edited by Haplo, 26 January 2012 - 11:43 AM.

[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#35 argent77

  • Members
  • 137 posts
  • Gender:Male

Posted 26 January 2012 - 01:00 PM

Your BG2 installation is probably missing the CD_STATE_NOTVALID constant.
Put the following statement somewhere at the beginning of your TP2 file (after BACKUP and AUTHOR):
ALWAYS
APPEND ~STATE.IDS~ ~0x80101FEF CD_STATE_NOTVALID~
UNLESS ~CD_STATE_NOTVALID~
END

Or you install the bg2fixpack. I think it's the "Super Happy Modder Pack" component (or something like that).

#36 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 26 January 2012 - 01:32 PM

I'll check that out, thanks for the tip mate :)
[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#37 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 26 January 2012 - 02:31 PM

It worked beautifully mate, awesome tip :)

Thanks!!!

And I did not install bg2fixpack at the end, just with the adding to the tp2 was ok :)

Edited by Haplo, 26 January 2012 - 03:21 PM.

[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#38 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 27 January 2012 - 06:14 AM

Ok, I've been testing the mods, both behave oddly, let me explain:

-If you been helping me you may recall that I created and NPC following a tutorial, but because I was having troubles I decided to create a new one, and exact copy of the tutorial, now, I modified my first NPC for his files to be line by line the same as the second NPC (the copy of the tutorial) but for what he says. But then when playing the first NPC will stand and the second will come to meet me, then when join neither of the NPC bunters will trigger, if I reject the first NPC I will be able to talk to him again and he will join me (even if I kick him out, or we walks away displease by my repu), but the second NPC walks away forever (same as if I kick her out). And the last part, They supposed to say something when Nalia first approach, the first NPC says nothing and Nalia won't ask my help for castle D'Arnise, if I talk to her she just act as if we met before and ask me if I would have her in my group, and the second NPC will interject correctly, and Nalia will ask my help as usual.

I explain it as well as I could, and a checked the files line by line, all the same but for the words. the only difference that occurs to me is that when creating the CRE files the first NPC I pregenarate it in multi-player and the second NPC I just used one of the CRE that the game brings by defalut (Fighter, Cleric,Thief,Mage), Could that be it??

Edited by Haplo, 27 January 2012 - 06:16 AM.

[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]

#39 Haplo

  • Members
  • 54 posts
  • Gender:Male
  • Location:Valencia, Spain

Posted 07 February 2012 - 12:04 PM

Hey Guys, It's me again, Thanks to Ace's I solved all the trouble above and went deeper in my mod :)

Now the question I have is: Which is the best way to put a bunch of guys to have a fight with? u have to created them all as CRE's or u can take some that are already in the game and throw them in?

I guess Bioware created typos, some CRE's that they place in random encounters and things like that.... or am I guessing wrong?

Oh... and if I can just take them.... where would they by and how would I access to them? (NE, DLTCEP,ect..)

Edited by Haplo, 07 February 2012 - 12:06 PM.

[img][url="http://galeon.hispavista.com/nenasdecharlie/img/sorrow300.JPG"]http://galeon.hispav...g/sorrow300.JPG[/url][/img]




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users