Apr 28, 2006 at 11:16 PM
I was fiddling around with stuff last night, and I found that it's possible to add teleporter icons to StageImage.pbm, and use them in game.
The first space to the right of plantation can be accessed via <PS+0006
And there is already room for two more icons without expanding the file.
Here's a screenshot.
And here's the modified StageImage.pbm
To make use of the new icons, you need to add a <PS+000x:yyyy command somewhere(where x is the new icon number, and yyyy is the number of the transport script in arthur's house)
Mine looks like this:
A #100x entry to StageSelect.tsc
Mine looks like this:
A #yyyy entry to pens1.tsc (or whatever map you're calling <SLP from)
Mine looks like this:
And a (most likely) #0099 entry to whatever map you're transporting to.
Mine looks like this:
You put an entity 300 with sprite 22 somewhere on the map, and you put entity 301 with sprite 0 one tile up and left from where you're teleporting in.
If you're teleporting into midair, you're going to want the <WAI to be <WAI0083, or there will be a pause in the fall.
The first space to the right of plantation can be accessed via <PS+0006
And there is already room for two more icons without expanding the file.
Here's a screenshot.
And here's the modified StageImage.pbm
To make use of the new icons, you need to add a <PS+000x:yyyy command somewhere(where x is the new icon number, and yyyy is the number of the transport script in arthur's house)
Mine looks like this:
Code:
<PS+0006:6006
Mine looks like this:
Code:
#1006
<KEY<MSG<TURSanctuary<WAI9999<END
Mine looks like this:
Code:
#6006
<PRI<MSGDo you want to go to the
Sanctuary?<YNJ0000<CLO
<KEY<CNP0300:0111:0002<HMC<WAI0060<ANP0500:0001:0000
<WAI0100<FAO0004<TRA0108:0099:0010:0002
Mine looks like this:
Code:
#0099
<KEY<MNA<CMU0023
<ANP0300:0001:0000<FAI0004
<CNP0301:0112:1002<WAI0090
<ANP0300:0000:0000
<MYD0001<DNP0301<SMC<END
If you're teleporting into midair, you're going to want the <WAI to be <WAI0083, or there will be a pause in the fall.