Jump to content

I Can't figure out how to change chapter goals in my hack!


Tactician Aria
 Share

Recommended Posts

I'm having trouble with my hack. i can't seem to be abel (I had to) to change the chapter goal. i can change the text, but that seems to be it. i can't seem to actually have the chapter end and take you to the ending dialogue and save screen. anyone know how i could do this? i've got most other things down, it's just this one thing holding me back. any help would be appreciated!

Edited by Tactician Duel
Link to comment
Share on other sites

#define DISABLE_TUTORIALS

#include EAstdlib.event


EventPointerTable(0x06,Pointers)


ORG 0xD80000


Pointers:

POIN Turn_events

POIN Character_events

POIN Location_events

POIN Misc_events

POIN TrapData TrapData

POIN Bad Bad Bad Bad

POIN Good Good Good Good

POIN Opening_event Ending_event


Good:

UNIT 0x01 0x1C 0x00 Level(1, Ally, 0) [1,21] [1,21] [0x3E, 0x6B] NoAI

UNIT 0x02 0x12 0x00 Level(1, Ally, 0) [23,21] [23,21] [0x1F, 0x6B] NoAI

UNIT 0x03 0x21 0x00 Level(1, Ally, 0) [12,21] [12,21] [0x37, 0x6B] NoAI

UNIT 0x04 0x22 0x00 Level(1, Ally, 0) [13,21] [13,21] [0x37, 0x3B, 0x39] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [2,14] [2,14] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [8,11] [8,11] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [6,15] [6,15] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [11,13] [11,13] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [7,13] [7,13] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [17,16] [17,16] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [19,10] [19,10] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [20,13] [20,13] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [15,14] [15,14] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [17,12] [17,12] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [10,17] [10,17] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [2,10] [2,10] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [22,15] [22,15] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [24,10] [24,10] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [5,9] [5,9] [0x00] NoAI

UNIT 0x9E 0x4E 0x00 Level(1, NPC, 0) [12,1] [12,1] [0x00] NoAI

UNIT


Bad:

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [2,22] [2,22] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [22,22] [22,22] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [16,23] [16,23] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [13,24] [13,24] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [9,21] [9,21] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x99 Level(1, Enemy, 0) [24,24] [24,24] [0x28, 0x20] AttackInRange

UNIT


Turn_events:

TurnEventPlayer(0x0,Opening_event,1)

End_MAIN


Character_events:

End_MAIN


Location_events:

End_MAIN


Misc_events:

CauseGameOverIfLordDies

End_MAIN


TrapData:

End_MAIN


Opening_event:

OOBB

LOU1 Good

FADI 10

BACG 0x0F

TEX1 [0x815]

FADU 10

ENUN

REMA

LOU1 Bad

ENUN

FADI 10

BACG 0x0F

TEX1 [0x816]

REMA

ENDA


Ending_event:

ENDA


// Events


// Manual Movement


// Scripted Fights


// Units


// Shop Data


MESSAGE Events end at offset currentOffset



Here's the whole notepad file. i'll also try to change the title of the post.

Link to comment
Share on other sites

Ok well, first off your ending_event is blank. So even if you got to it, it wouldn't take you to the next chapter.

Next, you need to set up the conditions to take you to the ending event. That might be a turn event, a defeat all condition, seize, etc. You need to put that in your events to take you to the ending event which itself will take you to the next chapter.

Link to comment
Share on other sites

#define DISABLE_TUTORIALS

#include EAstdlib.event


EventPointerTable(0x06,Pointers)


ORG 0xD80000


Pointers:

POIN Turn_events

POIN Character_events

POIN Location_events

POIN Misc_events

POIN TrapData TrapData

POIN Bad Bad Bad Bad

POIN Good Good Good Good

POIN Opening_event Ending_event


Good:

UNIT 0x01 0x1C 0x00 Level(1, Ally, 0) [1,21] [1,21] [0x3E, 0x6B] NoAI

UNIT 0x02 0x12 0x00 Level(1, Ally, 0) [23,21] [23,21] [0x1F, 0x6B] NoAI

UNIT 0x03 0x21 0x00 Level(1, Ally, 0) [12,21] [12,21] [0x37, 0x6B] NoAI

UNIT 0x04 0x22 0x00 Level(1, Ally, 0) [13,21] [13,21] [0x37, 0x3B, 0x39] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [2,14] [2,14] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [8,11] [8,11] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [6,15] [6,15] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [11,13] [11,13] [0x00] NoAI

UNIT 0x61 0x47 0x00 Level(1, NPC, 0) [7,13] [7,13] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [17,16] [17,16] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [19,10] [19,10] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [20,13] [20,13] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [15,14] [15,14] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [17,12] [17,12] [0x00] NoAI

UNIT 0x61 0x48 0x00 Level(1, NPC, 0) [10,17] [10,17] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [2,10] [2,10] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [22,15] [22,15] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [24,10] [24,10] [0x00] NoAI

UNIT 0x61 0x57 0x00 Level(1, NPC, 0) [5,9] [5,9] [0x00] NoAI

UNIT 0x9E 0x4E 0x00 Level(1, NPC, 0) [12,1] [12,1] [0x00] NoAI

UNIT


Bad:

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [2,22] [2,22] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [22,22] [22,22] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [16,23] [16,23] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [13,24] [13,24] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x00 Level(1, Enemy, 0) [9,21] [9,21] [0x1F] PursueWithoutHeed

UNIT 0x61 0x39 0x99 Level(1, Enemy, 0) [24,24] [24,24] [0x28, 0x20] AttackInRange

UNIT


Turn_events:

TurnEventPlayer(0x0,Opening_event,1)

End_MAIN


Character_events:

End_MAIN


Location_events:

End_MAIN


Misc_events:

CauseGameOverIfLordDies

End_MAIN


TrapData:

End_MAIN


Opening_event:

OOBB

LOU1 Good

FADI 10

MUS1 0x41

BACG 0x0F

TEX1 [0x815]

ENUN

REMA

MUS1 0x02

LOU1 Bad

ENUN

FADI 10

BACG 0x0F

TEX1 [0x816]

REMA

ENDA


Ending_event:

OOBB

FADI 10

MUS1 0x41

BACG 0x0F

TEX1 [0x817]

ENUN

ENDA


// Events


// Manual Movement


// Scripted Fights


// Units


// Shop Data


MESSAGE Events end at offset currentOffset


I've added an ending event but i don't know how to add the defeat all condition or where to put it. i just want to say that you've been a big help and i appreciate it greatly. i'm sorry if i'm troubling you.

Link to comment
Share on other sites

I believe that Defeat All goes under Misc_events alongside CauseGameOverIfLordDies though I'm not actually sure how to define it...

[research]

it indeed does and the code is

DefeatAll(EndingScene)
independent of game apparently Edited by Bedimal Eliwan
Link to comment
Share on other sites

i tried applying the code under misc_events, but it gives me the error message:

Finished.
Messages:
Tutorials disabled
Events end at offset 0xD802B4
1 errors encountered:
File Border Guard C1.txt, Line 62, Column 1: Symbol EndingScene isn't in scope
No data written to output.
Any ideas?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...