+-

+- Member Info

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

+- Recent Posts

Re: King rates songs by King (2.0)
27 March 2024, 22:21:16

Re: King rates songs by RKS
27 March 2024, 22:09:58

Re: King rates songs by Charlie
27 March 2024, 18:56:19

Re: King (2.0)'s Games Log by King (2.0)
27 March 2024, 15:28:01

Re: King rates songs by King (2.0)
27 March 2024, 15:02:39

Re: King rates songs by Charlie
26 March 2024, 13:49:53

Re: King 2.0's Well Thread by King (2.0)
26 March 2024, 12:37:12

Re: Kenseiten (planet #1632) by Charlie
26 March 2024, 11:40:28

Re: Kenseiten (planet #1632) by King (2.0)
26 March 2024, 11:25:14

Re: Kenseiten (planet #1632) by Charlie
25 March 2024, 21:46:23

Re: King 2.0's Well Thread by Charlie
25 March 2024, 15:16:23

Re: King 2.0's Well Thread by King (2.0)
25 March 2024, 14:52:55

Re: King rates songs by King (2.0)
24 March 2024, 00:36:35

Re: King rates songs by Charlie
23 March 2024, 22:37:46

Re: What songs are you listening to? by King (2.0)
23 March 2024, 20:05:38

Author Topic: LSPF: The CS Modding Question Thread  (Read 1049 times)

0 Members and 1 Guest are viewing this topic.

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #15 on: 04 October 2020, 19:00:11 »
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?
Thank you. I'll go write this down in my own mod and then test it out to see if it works.
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #16 on: 05 October 2020, 21:12:11 »
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

#0091
<CMU0017<KEY<SAT<MSGtext<NOD<CLR<EVE0300
#0300
<MNA<CMU0007<DNP0300<EVE0301<END
#0301
<FLJ0444:0301<FL+0444<BSL0000<BOA0000<WAI0040<BOA0100<END
#0302
<MOV0010:0031<KEY<SAT<MSGtext<NOD<CLR<EVE0303<END
#0303
<FLJ0555:0303<FL+0555<FL-0444<BSL0000<BOA0000<WAI0040<BOA0100<END

#0304
<KEY<SAT<MSGtext<NOD<CLR<EVE0305<END
#0305
<CMU0022<FLJ0444:0305<FL+0444<FL-0555<BSL0000<BOA0000<WAI0040<BOA0100<END

#0304
<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.
« Last Edit: 05 October 2020, 21:14:20 by King (2.0) »
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #17 on: 05 October 2020, 22:56:34 »
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?
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #18 on: 06 October 2020, 13:51:33 »
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?
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.
« Last Edit: 06 October 2020, 14:06:06 by King (2.0) »
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #19 on: 06 October 2020, 13:59:54 »
Ready? FIGHT!

* steps out of ring *



(Couldn't resist. :P )
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #20 on: 06 October 2020, 14:06:41 »
Ready? FIGHT!

* steps out of ring *



(Couldn't resist. :P )


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
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #21 on: 06 October 2020, 14:14:34 »
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.)
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #22 on: 06 October 2020, 18:35:18 »
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!
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #23 on: 06 October 2020, 20:01:34 »
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!
Thank you Charlie, you've been a great help. The script now works, though it seems to crash after the Phase 2 text ends.
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #24 on: 06 October 2020, 22:28:29 »
Mind posting the exact Phase 2 script?
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #25 on: 07 October 2020, 11:59:07 »
Mind posting the exact Phase 2 script?
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
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline Charlie

  • The Thirteenth One
  • Gas-Masked Admin
  • Magnificent Member
  • *************
  • Posts: 2 330
  • Health: 1079
  • Gender: Female
  • Burden of All - VOID TERMINUS
  • Location: Purgatory
    • View Profile
    • Lunar Shadow Project Wikia

  • Total Badges: 35
    Badges: (View All)
    Fourth year Anniversary 15000 Posts 10000 Posts
Re: LSPF: The CS Modding Question Thread
« Reply #26 on: 07 October 2020, 13:56:02 »
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.
"Ye lord! Mask of blood and flesh, all creation, flutter of wings, ye who bears the name of Man! Inferno and pandemonium, the sea barrier surges, march on to the south!"
(click to show/hide)
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #27 on: 07 October 2020, 18:10:33 »
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.


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.
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #28 on: 10 October 2020, 16:59:44 »

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
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)

Offline King (2.0)

  • Aeonian Night Historian
  • Lunar Tierce Knight
  • Exceptional Member
  • ****
  • Posts: 3 116
  • Health: 1250
  • Gender: Male
  • :3
    • View Profile
    • Rockman.EXE Zone
  • Favorite Type: Electric
  • Region Type: None
  • Favorite Color: B30E16
  • Affinity: Thunder
  • Nickname: Knight of Bloom Seymour
  • Favourite YGO Attribute: None
  • The Aeonian: Abraxas

  • Total Badges: 35
    Badges: (View All)
    20000 Posts 2500 Posts Fourth year Anniversary
Re: LSPF: The CS Modding Question Thread
« Reply #29 on: 18 October 2020, 14:10:46 »
On second though, @Charlie, 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.
« Last Edit: 19 October 2020, 18:37:31 by King (2.0) »
  • King Type-S
(click to show/hide)
(click to show/hide)

Added by Cibryll:
(click to show/hide)