Nov 22, 2009 at 5:37 PM
HAI! XD
K, so i just got into cave story modding, and i've been planning on making my own mod with it's own maps, characters, weapons, and maybe even tilesets.
However, ive run into a very early problem: i can't get my starting room to work. whenever it runs a new game, the text i scripted appears, but the sreen stays dark. i cannot figure out how to display the main screen. the hud comes up, and so does the text box.
Here is the portion of the script that is supposed to run first (yes, my startup script is 200 and yes, i have set a player spawn on the same map):
200-start event
Sprite-0
Flags-4100
Flag ID-430
300-console(opens door[door is 2 lifts from the core])
Sprite-85
Flags-6000
Flag ID-2000
*Invisible if Flag ID is set
301-console trigger
Sprite-85
Flags-2800
Flag ID-2000
*visible on Flag ID set
350-all the door peices(2 before and 2 after)
Sprite-186
Flags-4000/0800
Flag ID-0
*invisible on Flag ID set/visible on Flag ID set
400-door to exit
Sprite-18
Flags-0000
Flag ID-0
1000-end trigger
Sprite-0
Flags-0000
Flag ID-0
---------------------------------------------
you may notice that i do not really know TSC. this is my first time scripting in TSC and i am going purely off of the scripts that are already on cavestory (copy-paste/changing variables to see what happens fun!!!!). Also, i have not scripted the door and i am aware that my console does not work (it runs at the beginning also). if u know a quick fix for that, that would be great, but thats not what this thread is about.
Pls help. i hope this isn't something that's already been asked.
tanxu in advance
K, so i just got into cave story modding, and i've been planning on making my own mod with it's own maps, characters, weapons, and maybe even tilesets.
However, ive run into a very early problem: i can't get my starting room to work. whenever it runs a new game, the text i scripted appears, but the sreen stays dark. i cannot figure out how to display the main screen. the hud comes up, and so does the text box.
Here is the portion of the script that is supposed to run first (yes, my startup script is 200 and yes, i have set a player spawn on the same map):
Code:
#0090
<MNA<CMU0008<FAI0000<END
#0091
<MNA<CMU0008<FAI0001<END
#0092
<MNA<CMU0008<FAI0002<END
#0093
<MNA<CMU0008<FAI0003<END
#0094
<MNA<CMU0008<FAI0004<END
#200
<KEY<SKJ0005:0091<PRI<CMU0000<MSG
YOUR ADVENTURE BEGINS!<NOD<CLO
#300
<KEY<FLJ1640:0301<FL+1640<SOU0022<CNP0200:0021:0000<MSG
WOULD YOU LIKE TO OPEN THE DOOR?<YNJ0000<CLR
OPENING...<NOD<CLO<FON0350:0016
<WAI0050
<ANP00350:0010:0003<WAI0192<ANP0350:0000:0000
<WAI0050<FOM0016
<MSG
=WARNING=!!! FACILITY NO LONGER AIRBORNE. PROCEED WITH CAUTION...<NOD<END
#301
<PRI<MSG=WARNING=!!! FACILITY NO LONGER AIRBORNE. PROCEED WITH CAUTION...<NOD<END
#350
#400
#1000
<END
200-start event
Sprite-0
Flags-4100
Flag ID-430
300-console(opens door[door is 2 lifts from the core])
Sprite-85
Flags-6000
Flag ID-2000
*Invisible if Flag ID is set
301-console trigger
Sprite-85
Flags-2800
Flag ID-2000
*visible on Flag ID set
350-all the door peices(2 before and 2 after)
Sprite-186
Flags-4000/0800
Flag ID-0
*invisible on Flag ID set/visible on Flag ID set
400-door to exit
Sprite-18
Flags-0000
Flag ID-0
1000-end trigger
Sprite-0
Flags-0000
Flag ID-0
---------------------------------------------
you may notice that i do not really know TSC. this is my first time scripting in TSC and i am going purely off of the scripts that are already on cavestory (copy-paste/changing variables to see what happens fun!!!!). Also, i have not scripted the door and i am aware that my console does not work (it runs at the beginning also). if u know a quick fix for that, that would be great, but thats not what this thread is about.
Pls help. i hope this isn't something that's already been asked.
tanxu in advance