Question about crossmods
Curian55
Member Posts: 28
Hi! I'm trying to do a crossmod between 2 NPCs. One is Dusk and the other it's a new one. in the tp2 file I've this:
ACTION_IF FILE_EXISTS_IN_GAME ~P_BDusk.dlg~
THEN BEGIN
PRINT ~Adding crossmod between Fall and Dusk~
COMPILE ~%MOD_FOLDER%/dialogue/crossmod/P_BDusk.d~
//EXTEND_BOTTOM ~p_belld.dlg~ ~Fall/dialogue/crossmod/p_belld.d~
PRINT ~End of: Adding crossmod between Fall and Dusk
~
END
What I'm trying to do is to add something to the existing files of the Dusk mod. For example:
I_C_T P_DUSKJ 332 P_Dusk_GOOD_ALABAR1
== P_DuskJ IF ~InParty("P_Dusk") InMyArea("P_Dusk") !StateCheck("P_Dusk",CD_STATE_NOTVALID)~ THEN @3493 /* ~Una ardua batalla nos espera...~ */
== P_FallJ IF ~InParty("P_Fall") InMyArea("P_Fall") !StateCheck("P_Fall",CD_STATE_NOTVALID)~ THEN @4002 /* ~Nos superan en número, sí; pero recuerda, Dusk: También contamos con la ayuda de Daren y Sinna.~ */
END
What I'm trying to do is to add this piece of code to the P_DUSKJ.D file. As you see in the first part of the tp2 file, I tried with EXTEND_BOTTOM, but didn't work.
Can you give me a hand?
Thank you!
ACTION_IF FILE_EXISTS_IN_GAME ~P_BDusk.dlg~
THEN BEGIN
PRINT ~Adding crossmod between Fall and Dusk~
COMPILE ~%MOD_FOLDER%/dialogue/crossmod/P_BDusk.d~
//EXTEND_BOTTOM ~p_belld.dlg~ ~Fall/dialogue/crossmod/p_belld.d~
PRINT ~End of: Adding crossmod between Fall and Dusk
~
END
What I'm trying to do is to add something to the existing files of the Dusk mod. For example:
I_C_T P_DUSKJ 332 P_Dusk_GOOD_ALABAR1
== P_DuskJ IF ~InParty("P_Dusk") InMyArea("P_Dusk") !StateCheck("P_Dusk",CD_STATE_NOTVALID)~ THEN @3493 /* ~Una ardua batalla nos espera...~ */
== P_FallJ IF ~InParty("P_Fall") InMyArea("P_Fall") !StateCheck("P_Fall",CD_STATE_NOTVALID)~ THEN @4002 /* ~Nos superan en número, sí; pero recuerda, Dusk: También contamos con la ayuda de Daren y Sinna.~ */
END
What I'm trying to do is to add this piece of code to the P_DUSKJ.D file. As you see in the first part of the tp2 file, I tried with EXTEND_BOTTOM, but didn't work.
Can you give me a hand?
Thank you!
0