Jump to content


L oeil d obsidienne

Member Since 20 Aug 2013
Offline Last Active Aug 28 2013 12:28 AM

Topics I've Started

Help with script location

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