URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Xyrinfe Shadow Project Forums
  HTML https://lunarshadowcs.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Cave Story Mods
       *****************************************************
       #Post#: 12400--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 6, 2020, 7:06 am
       ---------------------------------------------------------
       --- Quote from: Charlie link ---
       >
       > Ready? FIGHT!
       >
       > * steps out of ring *
       >
       >
       >
       > (Couldn't resist. :P )
       >
       --- End Quote ---
       Here's the updated script:
       #0090
       <FAI0000<END
       #0091
       <CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300
       #0300
       <MNA<CMU0007<DNP0300<EVE0301<END
       #0301
       <FLJ0444:0302<FL+0444<BSL0000<BOA0000<WAI0040<BOA0100<END
       #0302
       <MOV0010:0031<KEY<SAT<MSGtext<NOD<CLR<EVE0303<END
       #0303
       <FLJ0555:0304<FL+0555<BSL0000<BOA0000<WAI0040<BOA0100<END
       #0304
       <KEY<SAT<MSGtext<NOD<CLR<EVE0305<END
       #0305
       <CMU0022<FLJ0666:0306<FL+0666<BSL0000<BOA0000<WAI0040<BOA0100<END
       #0306
       <BSL0000<BOA0500<TRA0009:0090:0020:0008<END
       #Post#: 12402--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: IlinaFan01
       Date: October 6, 2020, 7:14 am
       ---------------------------------------------------------
       Script copied. I'll check it out (it'll take a while, though)
       and get back to you as soon as I can. :)
       Patience is a virtue. I'll post here again once I find...
       anything, really. (Or if I can't figure out what's going on, but
       that's worst-case scenario content.)
       #Post#: 12407--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: IlinaFan01
       Date: October 6, 2020, 11:35 am
       ---------------------------------------------------------
       Right...
       #1: Heavy Press's death event seems to be hard-coded to #1000 so
       make events #0301 to #0306 go to #1000 to #1005 (my test script
       was a copy paste with event numbers fixed).
       #2: Add a DNP0091 to event #0300, I guess? (My test got caught
       in an infinite loop, haha.)
       #3: Move <BSL0000 after <BOA0100. Else the game'll crash (from
       my experience, it crashed).
       I hope this'll work out properly!
       #Post#: 12418--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 6, 2020, 1:01 pm
       ---------------------------------------------------------
       --- Quote from: Charlie link ---
       >
       > Right...
       >
       > #1: Heavy Press's death event seems to be hard-coded to #1000
       so make events #0301 to #0306 go to #1000 to #1005 (my test
       script was a copy paste with event numbers fixed).
       >
       > #2: Add a DNP0091 to event #0300, I guess? (My test got caught
       in an infinite loop, haha.)
       >
       > #3: Move <BSL0000 after <BOA0100. Else the game'll crash (from
       my experience, it crashed).
       >
       > I hope this'll work out properly!
       >
       --- End Quote ---
       Thank you Charlie, you've been a great help. The script now
       works, though it seems to crash after the Phase 2 text ends.
       #Post#: 12420--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: IlinaFan01
       Date: October 6, 2020, 3:28 pm
       ---------------------------------------------------------
       Mind posting the exact Phase 2 script?
       #Post#: 12421--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 7, 2020, 4:59 am
       ---------------------------------------------------------
       --- Quote from: Charlie link ---
       >
       > Mind posting the exact Phase 2 script?
       >
       --- End Quote ---
       I was going to do that anyway:
       #0090
       <FAI0000<END
       #0091
       <CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300
       #0300
       <DNP0091<MNA<CMU0007<DNP0300<EVE1000<END
       #1000
       <FLJ0444:1001<FL+0444<BOA0000<WAI0040<BOA0100<BSL0000<END
       #1001
       <WAI0050<KEY<SAT<MSGtext<NOD<CLR<EVE1002
       #1002
       <FLJ0555:1003<FL+0555<BSL0000<BOA0000<WAI0040<BOA0100<END
       #1003
       <KEY<SAT<MSGtext<NOD<CLR<EVE1004<END
       #1004
       <CMU0022<FLJ0666:1005<FL+0666<BSL0000<BOA0000<WAI0040<BOA0100<END
       #01005
       <BOA0500<TRA0009:0090:0020:0008<END
       #Post#: 12427--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: IlinaFan01
       Date: October 7, 2020, 6:56 am
       ---------------------------------------------------------
       Didn't even need to test it out in the mod. All the <BSL events
       should come after <BOA there, not just the first time. So move
       'em between <BOA and <END and it should work.
       I see the <MOV0010:0031 got removed. :(
       Also, I'd recommend the use of <DNA0309 (I think?) OR the use of
       <PRI instead of <KEY, after a phase is defeated - Butes tend to
       remain after Heavy Press's defeat, and PRI freezes the game
       until KEY or END is used.
       #Post#: 12432--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 7, 2020, 11:10 am
       ---------------------------------------------------------
       --- Quote from: Charlie link ---
       >
       > Didn't even need to test it out in the mod. All the <BSL
       events should come after <BOA there, not just the first time. So
       move 'em between <BOA and <END and it should work.
       >
       > I see the <MOV0010:0031 got removed. :(
       >
       > Also, I'd recommend the use of <DNA0309 (I think?) OR the use
       of <PRI instead of <KEY, after a phase is defeated - Butes tend
       to remain after Heavy Press's defeat, and PRI freezes the game
       until KEY or END is used.
       >
       --- End Quote ---
       I had the <MOV removed because I was trying to figure out how to
       work the script properly. I've added it back in so I'll also
       need to work to fill out all the other details in the fight. On
       the other hand, I'm proud of myself for successfully scripting
       the Taboo-Ga fight (uses Core's A.I) so I'll continue working on
       that.
       #Post#: 12471--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 10, 2020, 9:59 am
       ---------------------------------------------------------
       The battle itself works fine until you defeat the boss. Then the
       mod simply crashes,
       Big Boy script for reference:
       #0090
       <FAI0000<FL+0191<END
       #0091
       <CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300
       #0300
       <DNP0091<MNA<CMU0007<DNP0300<EVE1000<END
       #1000
       <FLJ0444:1001<FL+0444<BOA0000<WAI0040<BOA0100<BSL0000<END
       #1001
       <MOV0010:0031<DNA0309<WAI0050<KEY<SAT<MSGtext<NOD<CLR<EVE1002
       #1002
       <CMP0008:0014:0000<CMP0008:0015:0000<CMP0008:0016:0000
       <CMP0008:0017:0000<CMP0008:0018:0000<CMP0008:0019:0000
       <CMP0009:0014:0000<CMP0009:0015:0000<CMP0009:0016:0000
       <CMP0009:0017:0000<CMP0009:0018:0000<CMP0009:0019:0000
       <CMP0011:0014:0000<CMP0011:0015:0000<CMP0011:0016:0000
       <CMP0011:0017:0000<CMP0011:0018:0000<CMP0011:0019:0000
       <CMP0012:0014:0000<CMP0012:0015:0000<CMP0012:0016:0000
       <CMP0012:0017:0000<CMP0012:0018:0000<CMP0012:0019:0000
       <FLJ0555:1003<FL+0555<BOA0000<WAI0040<BOA0100<BSL0000<DNA0309<END
       #1003
       <MOV0010:0063<KEY<SAT<MSGtext<NOD<CLR<EVE1004<END
       #1004
       <CMP0008:0034:0000<CMP0008:0035:0000<CMP0008:0036:0000
       <CMP0008:0037:0000<CMP0008:0038:0000<CMP0008:0039:0000
       <CMP0009:0034:0000<CMP0009:0035:0000<CMP0009:0036:0000
       <CMP0009:0035:0000<CMP0009:0036:0000<CMP0009:0037:0000
       <CMP0009:0038:0000<CMP0009:0039:0000<CMP0011:0034:0000
       <CMP0011:0035:0000<CMP0011:0036:0000<CMP0011:0037:0000
       <CMP0011:0038:0000<CMP0011:0039:0000<CMP0012:0034:0000
       <CMP0012:0035:0000<CMP0012:0036:0000<CMP0012:0037:0000
       <CMP0012:0038:0000<CMP0012:0039:0000<CMP0004:0014:0000
       <CMP0004:0015:0000<CMP0004:0016:0000<CMP0004:0017:0000
       <CMP0004:0018:0000<CMP0004:0019:0000<CMP0005:0014:0000
       <CMP0005:0015:0000<CMP0005:0016:0000<CMP0005:0017:0000
       <CMP0005:0018:0000<CMP0005:0019:0000<CMP0015:0014:0000
       <CMP0015:0015:0000<CMP0015:0016:0000<CMP0015:0017:0000
       <CMP0015:0018:0000<CMP0015:0019:0000<CMP0016:0014:0000
       <CMP0016:0015:0000<CMP0016:0016:0000<CMP0016:0017:0000
       <CMP0016:0018:0000<CMP0016:0019:0000
       <CMU0022<FLJ0666:1005<FL+0666<BOA0000<WAI0040<BOA0100<BSL0000<END
       #01005
       <BOA0500<TRA0009:0090:0020:0008<END
       #Post#: 12495--------------------------------------------------
       Re: LSPF: The CS Modding Question Thread
   DIR By: King (2.0)
       Date: October 18, 2020, 7:10 am
       ---------------------------------------------------------
       On second though, [member=8]Charlie[/member], you won't need to
       help me finish Big Boy's script. After a lot of rearranging in
       order to make the text not repeat itself everytime the player is
       warped between layers, I finally managed to get the entire fight
       to work. It now means that when the player defeats Big Boy's
       final phase, it'll play the dialogue and then warp the player to
       the Boss Data Sector where they can get the next two weapons
       (Big Boy's Tear and Gunnoid Piercer).
       I'll just need to iron out a few things (i.e text, FAI, the
       rematch door) and that fight will be done. After that, I'll need
       to figure out what causes Taboo-Oh to teleport despite
       Ironhead's A.I not teleporting.
       If you want I can post the completed Big Boy script and the
       Taboo-Oh scripts so you can read through them.
       EDIT (19/10/20): So if I go into the Boss Rematch Door for Big
       Boy, due to all the flag skips, it just skips the rematch and
       sends you to the Boss Data Server. So I'll need to post the Big
       Boy script anyway.
       *****************************************************
       Page 3 of 11
   DIR Previous Page
   DIR Next Page