| Return Create A Forum - Home | |
| --------------------------------------------------------- | |
| Xyrinfe Shadow Project Forums | |
| https://lunarshadowcs.createaforum.com | |
| --------------------------------------------------------- | |
| ***************************************************** | |
| Return to: Cave Story Mods | |
| ***************************************************** | |
| #Post#: 12173-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: IlinaFan01 Date: September 19, 2020, 7:55 am | |
| --------------------------------------------------------- | |
| You mean like with Ataraxis? | |
| If so, look at the script for Top Floor SC, event #0303. | |
| The game checks for a flag, and if it's set, jumps to the event | |
| specified - so if flag 1500 is set, it jumps to event 304. Else, | |
| it goes on. | |
| Ataraxis's entity changes, a short cutscene, then changes again, | |
| with the flag set at the end. | |
| ... Or something like that. I didn't get my own explanation. :P | |
| Seriously, though, it... can get tricky. | |
| #Post#: 12304-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: King (2.0) Date: September 25, 2020, 12:38 pm | |
| --------------------------------------------------------- | |
| [quote author=Charlie link=topic=417.msg12173#msg12173 | |
| date=1600520106] | |
| You mean like with Ataraxis? | |
| If so, look at the script for Top Floor SC, event #0303. | |
| The game checks for a flag, and if it's set, jumps to the event | |
| specified - so if flag 1500 is set, it jumps to event 304. Else, | |
| it goes on. | |
| Ataraxis's entity changes, a short cutscene, then changes again, | |
| with the flag set at the end. | |
| ... Or something like that. I didn't get my own explanation. :P | |
| Seriously, though, it... can get tricky. | |
| [/quote] | |
| From what I can remember from the Bloom Beast Review (Question | |
| 37): The Ataraxis fight involves switching in a Quote entity | |
| after depleting her 50 HP then to the Curly boss A.I and doing | |
| this multiple times. Granted, I might have to check LS's scripts | |
| again to try and understand this (because I intend to do | |
| something similar with Heavy Press so it has 3 phases). | |
| #Post#: 12336-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: IlinaFan01 Date: October 4, 2020, 9:41 am | |
| --------------------------------------------------------- | |
| Heavy Press would work differently. | |
| For its death script, have it go BOA0000, set a flag, then | |
| BOA0100. Have a flag jump (i.e. FLJ0444:1001) and do the same | |
| (with a different flag). Add another FLJ, repeat as needed. | |
| #Post#: 12346-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: King (2.0) Date: October 4, 2020, 10:21 am | |
| --------------------------------------------------------- | |
| [quote author=Charlie link=topic=417.msg12336#msg12336 | |
| date=1601822490] | |
| Heavy Press would work differently. | |
| For its death script, have it go BOA0000, set a flag, then | |
| BOA0100. Have a flag jump (i.e. FLJ0444:1001) and do the same | |
| (with a different flag). Add another FLJ, repeat as needed. | |
| [/quote] | |
| Thank you for your help, it'll make things far easier. As for | |
| the boss, t[font=verdana]he plan with the Big Boy fight goes | |
| like this: The fight plays out as normal, then you're teleported | |
| further down and the fight starts again (but faster). After | |
| defeating Big Boy Phase 2, you're teleported to the bottom of | |
| the map where you'll hopefully outrun lava before making it to | |
| the top and defeating Phase 3 of the boss before the fight | |
| ends.[/font] | |
| That said though, I've done Big Boy's script like this: | |
| [font=verdana]([/font][font=verdana]#0090[/font] | |
| <FAI0000<END | |
| [font=verdana]#0091[/font] | |
| <CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300 | |
| [font=verdana]#0300[/font] | |
| <MNA<CMU0007<DNP0300<EVE0301<END | |
| [font=verdana]#0301[/font] | |
| <BSL0000<BOA0500<END) | |
| The problem is that everything works fine except that the death | |
| animation plays so the fight doesn't play out normally. | |
| #Post#: 12348-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: IlinaFan01 Date: October 4, 2020, 10:27 am | |
| --------------------------------------------------------- | |
| Because the death animation is 0500. | |
| Something roughly like: | |
| #1000 | |
| FLJ0444:1001 | |
| FL+0444 | |
| BOA0000 | |
| WAI0040 | |
| BOA0100 | |
| END | |
| #1001 | |
| FLJ0666:1002 | |
| FL+0666 | |
| (...) | |
| Something such. But... most major bosses' death scripts are | |
| locked at event 1000, IIRC? | |
| #Post#: 12364-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: King (2.0) Date: October 4, 2020, 12:00 pm | |
| --------------------------------------------------------- | |
| [quote author=Charlie link=topic=417.msg12348#msg12348 | |
| date=1601825249] | |
| Because the death animation is 0500. | |
| Something roughly like: | |
| #1000 | |
| FLJ0444:1001 | |
| FL+0444 | |
| BOA0000 | |
| WAI0040 | |
| BOA0100 | |
| END | |
| #1001 | |
| FLJ0666:1002 | |
| FL+0666 | |
| (...) | |
| Something such. But... most major bosses' death scripts are | |
| locked at event 1000, IIRC? | |
| [/quote] | |
| Thank you. I'll go write this down in my own mod and then test | |
| it out to see if it works. | |
| #Post#: 12386-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: King (2.0) Date: October 5, 2020, 2:12 pm | |
| --------------------------------------------------------- | |
| So the script works normally but only for Phase 1. It doesn't | |
| transition into Phase 2. Here's the script for reference: | |
| (#0090 | |
| <FAI0000<END | |
| [font=verdana]#0091[/font] | |
| <CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300 | |
| [font=verdana]#0300[/font] | |
| <MNA<CMU0007<DNP0300<EVE0301<END | |
| [font=verdana]#0301[/font] | |
| <FLJ0444:0301<FL+0444<BSL0000<BOA0000<WAI0040<BOA0100<END | |
| [font=verdana]#0302[/font] | |
| <MOV0010:0031<KEY<SAT<MSGtext<NOD<CLR<EVE0303<END | |
| #0303 | |
| <FLJ0555:0303<FL+0555<FL-0444<BSL0000<BOA0000<WAI0040<BOA0100<EN | |
| D | |
| [font=verdana]#0304[/font] | |
| <KEY<SAT<MSGtext<NOD<CLR<EVE0305<END | |
| #0305 | |
| <CMU0022<FLJ0444:0305<FL+0444<FL-0555<BSL0000<BOA0000<WAI0040<BO | |
| A0100<END | |
| [font=verdana]#0304[/font] | |
| <BSL0000<BOA0500<TRA0009:0090:0020:0008<END) | |
| I'm also dealing with a minor bug in the Taboo-Oh (uses | |
| Ironhead's A.I) fight where every so often, it just teleports | |
| even though it's not supposed to. | |
| #Post#: 12388-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: IlinaFan01 Date: October 5, 2020, 3:56 pm | |
| --------------------------------------------------------- | |
| I see three issues with your script, but if it'll help with the | |
| boss, we can only see. :) | |
| 1. Event #0303 looks like an endless loop - if flag 0555 is set, | |
| it'll jump to itself. | |
| 2. Similar issue for #0305. | |
| 3. There's two #0304 events; that last one should be #0306, I | |
| believe. | |
| If stuff is still broken, I'll probably have to try and | |
| replicate it somehow. It's Heavy Press, right? | |
| #Post#: 12393-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: King (2.0) Date: October 6, 2020, 6:51 am | |
| --------------------------------------------------------- | |
| [quote author=Charlie link=topic=417.msg12388#msg12388 | |
| date=1601931394] | |
| I see three issues with your script, but if it'll help with the | |
| boss, we can only see. :) | |
| 1. Event #0303 looks like an endless loop - if flag 0555 is set, | |
| it'll jump to itself. | |
| 2. Similar issue for #0305. | |
| 3. There's two #0304 events; that last one should be #0306, I | |
| believe. | |
| If stuff is still broken, I'll probably have to try and | |
| replicate it somehow. It's Heavy Press, right? | |
| [/quote] | |
| The boss (Big Boy) uses Heavy Press's A.I. As for the FL+, I | |
| must've misinterpreted it as using the FLJ on the event itself | |
| and not the next one. I'll go and test the boss fight to see if | |
| works. | |
| EDIT: I've dealt with the problems present in my script, though | |
| even if I defeat Big Boy, the boss doesn't move onto Phase 2 so | |
| I'm endlessly stuck on Phase 1. | |
| #Post#: 12395-------------------------------------------------- | |
| Re: LSPF: The CS Modding Question Thread | |
| By: IlinaFan01 Date: October 6, 2020, 6:59 am | |
| --------------------------------------------------------- | |
| Ready? FIGHT! | |
| * steps out of ring * | |
| (Couldn't resist. :P ) | |
| ***************************************************** | |
| Next Page |