Single-room Event Showcase

Aug 12, 2011 at 2:43 PM
Senior Member
Pxtone Discord Admin
"Wahoo! Upgrade!"
Join Date: Aug 9, 2011
Location:
Posts: 66
Age: 25
There might be a thread for this, but as I far as I can see there isn't.
I think a good idea for thread could be a showcase for beginner Cave Story editors, like me. Readers could post single room events or chains of events, made in a standard cave story editor, so that others could simply paste their codes into the script editor and make a door or something linking to it. I'll try and start it off.

Paste this code into any room's script and make a door that leads to event 6012. It's a short little text adventure with several options!

#6012
<PRI<MSGDo you want to go to
Cheeseland?<YNJ6013<CLO
<KEY<CNPO300:0111:002<HMC<WAI0500<ANP0500:0001:0000
<WAI0500<FAO0001<WAI0006<FAO0002<WAI0006<FAO0003<WAI0006<FAO0004<WAI0001
<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0050<CMU00012
<MSG<FAC0001You are not permitted to
enter Cheeseland at this
time.<NOD
I can give you this,
though...<NOD<CLR<CMU0010<GIT1005<IT+0005
Got the =Cheese Fang=.<NOD<CMU0010
Now, don't ever come back!<NOD
(Unless you need another
Cheese Fang, of course!)<NOD<WAI0010<FAO0005<PRI<SOU0001<DNP0102<FAO0004<TRA0011:0094:0016:0053

#6013
<PRI<MSGYes you do.<NOD
You were lying, right?<YNJ6014<CLO
<MSG
Good. Ready to go?<YNJ6014<CLO
KEY<CNPO300:0111:002<HMC<WAI500<ANP0500:0001:0000
<WAI500<FAO0001<WAI0006<FAO0002<WAI0006<FAO0003<WAI0006<FAO0004<WAI0001
<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0050<CMU00012
<MSG<FAC0001You are not permitted to
enter Cheeseland at this
time.<NOD
I can give you this,
though...<NOD<CLR<CMU0010<GIT1005<IT+0005
Got the =Cheese Fang=.<NOD<CMU0010
Now, don't ever come back!<NOD
(Unless you need another
Cheese Fang, of course!)<NOD<WAI0010<FAO0005<PRI<SOU0001<DNP0102<FAO0004<TRA0011:0094:0016:0053

#6014
<PRI<MSG
No?<NOD
NO!?<NOD
You're going to Cheeseland
right now!<YNJ6015<CLO
FAO0004<WAI0001
<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0001<FAO0004<WAI0050<CMU0012
<MSG<FAC0020You are not permitted to
enter Cheeseland at this
time.<NOD
I can give you this,
though...<NOD<CLR<CMU0010<GIT1005<IT+0005
Got the =Cheese Fang=.<NOD<CMU0012
Now, don't ever come back!<NOD
(Unless you need another
Cheese Fang, of course!)<NOD<WAI0010<FAO0005<PRI<SOU0001<DNP0102<FAO0004<TRA0011:0094:0016:0053

#6015
<MSG
Then face my wrath!<KEY<CMU0000<WAI0040<PRI<WAI0040<CMU0003
<MSG
The computer made you explode.<NOD<CLRWant to exact revenge
on the computer?<CMU0027<YNJ0049<FAO0004<CLO<DNP6016

#6016
<MSGUse the Polar Star?<YNJ6017<CLO
<MSGPolar Star does no damage!<NOD
Face my wrath!<KEY<CMU0000<WAI0040<PRI<WAI0040<CMU0003
<MSG
The computer made you explode.<NOD<CLRWant to exact revenge
on the computer?<CMU0027<YNJ0049<FAO0004<CLO<DNP6016

#6017
<MSGUse the Cheese Fang?<YNJ6016<CLO
<MSG<FAC0001You'll need this!<NOD<CLR
<GIT1005<IT+0005<CMU0010
Got the =Cheese Fang=.<NOD<CMU0031<SOU0062
<FAC0000Threw the Cheese fang at
the computer.<NOD
The computer explodes!<NOD<CLO
<WAI0150<FAI0001
<FLA<WAI0050<TAM0002:0013:0000<FL+1644<FL+0303<MSG
<CMU0010<MSG<GIT0013
=Polar Star= became the =Computer Ray=!<TRA0011:0094:0016:0053
 
Aug 12, 2011 at 9:34 PM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
Heh, this a pretty original idea. Making a mod that's simply TSC script. I'm not sure if anyone's thought of this on the forums. Not even Noxid, that sly bastard!!
 
Aug 12, 2011 at 10:22 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
I guess this is the Cave Story version of console (command line) programs.

It could be useful for some.
 
Aug 13, 2011 at 2:22 PM
Senior Member
Pxtone Discord Admin
"Wahoo! Upgrade!"
Join Date: Aug 9, 2011
Location:
Posts: 66
Age: 25
Yay! I had an idea! :sue:
 
Aug 14, 2011 at 2:40 PM
Senior Member
Pxtone Discord Admin
"Wahoo! Upgrade!"
Join Date: Aug 9, 2011
Location:
Posts: 66
Age: 25
It works fine for me! What do you see wrong?
 
Aug 14, 2011 at 7:00 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Voyce is correct: there are many bugs in your script.

Just to point out a few:

<CNPO300 should be <CNP0300 (the letter O is not the number 0.)
<CNPO300:0111:002 should be <CNP0300:0111:0002 (all numbers must be four digits)
<WAI500 should be <WAI0500 (again, 4 digits.)
There are random spaces inserted in the middle of commands, which will not make the TSC parser happy.
You use events #6012 through #6017. This is not right, because #6012 is the description of the charcoal item, #6013 is the description for Malco's explosive, and so on. Your items will start malfunctioning.
 
Aug 14, 2011 at 7:06 PM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2137
Age: 29
Jaxcheese said:
It works fine for me!


Carrotlord said:
Voyce is correct: there are many bugs in your script.

Just to point out a few:

<CNPO300 should be <CNP0300 (the letter O is not the number 0.)
<CNPO300:0111:002 should be <CNP0300:0111:0002 (all numbers must be four digits)
<WAI500 should be <WAI0500 (again, 4 digits.)
There are random spaces inserted in the middle of commands, which will not make the TSC parser happy.
You use events #6012 through #6017. This is not right, because #6012 is the description of the charcoal item, #6013 is the description for Malco's explosive, and so on. Your items will start malfunctioning.

p134805-0-impliedfacepalm.jpg
 
Aug 14, 2011 at 7:43 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Carrotlord said:
There are random spaces inserted in the middle of commands, which will not make the TSC parser happy.

VBulletin does this.

forexampleifyoutrytotypeareallylongsentencewithoutanyspacesthenitwillautomaticallybreakthewordforsomereason.
 
Aug 15, 2011 at 8:27 PM
Senior Member
Pxtone Discord Admin
"Wahoo! Upgrade!"
Join Date: Aug 9, 2011
Location:
Posts: 66
Age: 25
Thanks, I'll try to fix those many errors.
I'm just starting out with this and I'm trying to figure it out myself...
 
Aug 19, 2011 at 9:43 PM
Senior Member
Pxtone Discord Admin
"Wahoo! Upgrade!"
Join Date: Aug 9, 2011
Location:
Posts: 66
Age: 25
Someone else post an event!!!!
RRRGH!:hoppy:
 
Aug 20, 2011 at 7:56 AM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
Sep 17, 2011 at 9:30 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
So, is this stuff like common events for beginner modders?
There's a name for that, it's called Doukutsu.exe.
Well, if it's random events, here goes.

#0100
<KEY<SKJ1000:0101<MSGWell hello there. I believe you are mistaken, this door is not your door. If you want to enter, then combust or something.<NOD<CLO<END
#0101
<KEY<MSGYay! BOOM! That was awesome!<NOD<CLR
<MSGGo on through!<NOD<CLO<FAO0001<TRAYYYY:0093:ZZZZ:WWWW

#0200
<KEY<MSGDo you want to combust?<YNJ0201<SK+1000<CNP0300:XXXX:0000<END
#0201
<KEY<MSGOh...Okay.<NOD<CLO<END

Entities 100 and 200 are placed so you can interact with them.
Substitute XXXX for an enemy that does 127 damage. Basil should work, but I don't know his NPC #. Entity 300 should be on top of entity 200.
Substitute YYYY for a map to <TRA to, and ZZZZ:WWWW as the coordinates of the new map.
That's it, I think.
 
Top