Jump to content


Photo

Help with script location


  • Please log in to reply
2 replies to this topic

#1 L oeil d obsidienne

L oeil d obsidienne
  • Member
  • 2 posts

Posted 20 August 2013 - 11:09 PM

Hi everybody,

 

I'm a new modder with the last version of Weidu and I'm on a simple NPC mod for BGEE.

My mod is successfully installed for Weidu but InfExp say the scripts are in "data/AREA000D.bif" so they don't work. However script extention work fine...

Here my TP2 :

 

"[...]

COMPILE ~Laeris/O0Halvar.d~


EXTEND_TOP ~AR2300.bcs~ ~Laeris/AR2300.baf~
COMPILE ~Laeris/Laeris.baf~
        ~Laeris/CUTHAL.baf~


APPEND ~pdialog.2da~

[...]"

 

The most obvious script :

 

"

IF
  True()
THEN
  RESPONSE #100
    CutSceneID("O0LAERIS")
    ActionOverride("O0HALVAR",Kill(Myself))
    SmallWait(45)
    MoveToPoint([1200.3575])
    SmallWait(45)
    ActionOverride("O0LAERIS",StartDialogue("O0LAERIS",Player1))
END

"

 

 

The .d that launch the cutscene :"

BEGIN O0Halvar
[...]

IF ~~ THEN BEGIN HYES01
SAY ~Très bien, j'ai ici un message...~
IF ~~ THEN REPLY ~Attention !~ DO ~StartCutSceneMode()
StartCutScene("CUTHAL")
~ EXIT
END

[...]

"

 

What I see in InfExp :

"

296701Sanstitre.png

"

 

Thanks to help me.

L'oeil d'obsidienne



#2 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 21 August 2013 - 10:58 PM

So, the problem is that weidu puts your scripts in a bif?

If that's the case, you must be using generalized biffing or something like that.

 

The question that first pops in my mind, would they work if you didn't bif them?

I thought, the location for scripts should be irrelevant (well, maybe compressed bifs can block that, silly IE).


Avenger

#3 L oeil d obsidienne

L oeil d obsidienne
  • Member
  • 2 posts

Posted 23 August 2013 - 12:49 AM

After some hours to proofread myself, I found what was the problem : a misspelling in my prefix (O0).

But thank you Avenger.