Script Helpdesk
- Please log in to reply
#1
18 July 2009 - 09:51 AM
![]() | "Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!" |
If you're here, odds are you're having some issues with your mod/hax of Cave Story.
In order to streamline your assistance, please conisder the following:
1.) Are all your commands filled completely?
Some commands, such as <CNP, have a seemingly extranious direction component. While you may not use it, add a 0000 for it just to be safe.
2.) Are you calling the correct entity?
Sometimes we goof up and pick the wrong entity. Check and see if the entity is tagged, and that is has any required flags set or cleared.
3.) Are you experiencing a crash or lock when testing?
Odds are, you've created a self-referencing loop. Weed out any events that call themselves without an interupt.
4.) Are your scripts running together?
If so, check to make sure any script sections that don't end in a jump have an <END.
5.) Are your scripts in increasing sequential order?
Events have to be listed in numerical order from lowest to highest. Additionally, maps cannot have an event that is equal to or lower than the highest event in Head.tsc, the global script.
6.) If your problem isn't one of the above, post the relevent script as well as any entities with their respective flags, ID's etc. listed in an orderly fashion, as well as what you're trying to achieve and the issue, and I or someone will be happy to help.
Good news everypony!
i r liek totes bcak lol!!!!11
An yea, thou shouldst not fear.
For I am, as the French say, a silly English ki-niggit.
Or summat, iunno.
\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...
#2
18 July 2009 - 09:55 AM
![]() | "I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD." |
How do I (dis)appear entities/NPCs without map refreshing? Flags need refreshing to take effect right? How do I do it instantly on a map?
Ega
A mod by Gaajashin: 5% complete.
#3
18 July 2009 - 10:03 AM
![]() | "Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!" |
To keep is diappeared, add a <FL+XXXX
The Xs in <DNP are the entity you wish to disappear.
The Xs in <FL+ are a flag. When you choose the entity flags and such, add a flag ID that is the same as the one used for <FL+, and select "Invisible if FlagID is set" option. This way, after the <FL+ sets the flag, the entity will remain hidden when the map refreshes.
You can also use <CNPXXXX:0000:0000, where again X is the entity ID.
Use this if you plan to make the entity re-appear.
And regarding an <END, it isn't required if you jump to another section before the script ends.
As in:
#0100
<KEY<MSG
Hi!<NOD<CLO
<EVE0101
#0101
<MS2
lulz<NOD<CLO<END
Is correct.
And to make an entity re-appear, again use <CNP.
Just change the second value to the type of entity you wish to change it to.
Ie.
To change a nothing to a forcefield:
<CNP0100:0013:0000
Good news everypony!
i r liek totes bcak lol!!!!11
An yea, thou shouldst not fear.
For I am, as the French say, a silly English ki-niggit.
Or summat, iunno.
\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...
#4
18 July 2009 - 10:09 AM
![]() | "I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD." |
I tried <CNP and <DNP, they both don't work.
Ega
A mod by Gaajashin: 5% complete.
#5
18 July 2009 - 10:13 AM
![]() | "Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!" |
What if I want them to appear again? Or appear for the first time when it's not there when the map starts.
I tried <CNP and <DNP, they both don't work.
<DNP is a remove only.
<CNP changes it to the type indicated (ie. 0000 for nothing, 0013 for a barrier, 0001 for a weapon energy).
So...
To change an object (tagged #0100):
<CNP0100:0013:0000 - Barrier
<CNP0100:0000:0000 - Nothing/Remove
<CNP0100:0001:0000 - Weapon energy
For things on map-start, you add the <CNP to the loadscript for the map (usually the one with <MNA and <FAIXXXX somewhere in them).
And if you want them to come back each time the map is refreshed, ignore my section of <FL+.
Good news everypony!
i r liek totes bcak lol!!!!11
An yea, thou shouldst not fear.
For I am, as the French say, a silly English ki-niggit.
Or summat, iunno.
\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...
#6
18 July 2009 - 10:16 AM
![]() | "I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD." |
<DNP is a remove only.
<CNP changes it to the type indicated (ie. 0000 for nothing, 0013 for a barrier, 0001 for a weapon energy).
So...
To change an object (tagged #0100):
<CNP0100:0013:0000 - Barrier
<CNP0100:0000:0000 - Nothing/Remove
<CNP0100:0001:0000 - Weapon energy
For things on map-start, you add the <CNP to the loadscript for the map (usually the one with <MNA and <FAIXXXX somewhere in them).
And if you want them to come back each time the map is refreshed, ignore my section of <FL+.
Tagged as in Flag ID?
Ega
A mod by Gaajashin: 5% complete.
#7
18 July 2009 - 10:25 AM
![]() | "Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!" |
Tagged as in Flag ID?
If I say tagged, I mean the Event ID.
I assume you're using Sue's, so I'll post screenies.
Tagged entity:

ID'd entity:

I also refer to Flag ID as "flagging an entity".
Good news everypony!
i r liek totes bcak lol!!!!11
An yea, thou shouldst not fear.
For I am, as the French say, a silly English ki-niggit.
Or summat, iunno.
\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...
#8
18 July 2009 - 10:29 AM
![]() | "I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD." |
If I say tagged, I mean the Event ID.
I assume you're using Sue's, so I'll post screenies.
Tagged entity:
ID'd entity:
I also refer to Flag ID as "flagging an entity".
I love you.
Thanks alot, answered my question which I was finding an answer for for 3 days @_@.
Ega
A mod by Gaajashin: 5% complete.
#9
18 July 2009 - 10:47 AM
![]() | "Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!" |
I love you.
Thanks alot, answered my question which I was finding an answer for for 3 days @_@.
I love you too. >_>;
Anything else?
Good news everypony!
i r liek totes bcak lol!!!!11
An yea, thou shouldst not fear.
For I am, as the French say, a silly English ki-niggit.
Or summat, iunno.
\/\/()|\||)3|2 |-|()\/\/ /\/\4|\|`/ ()|= `/()|_| (4|\| |234|) +|-|!5...
#10
18 July 2009 - 10:51 AM
![]() | "I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD." |
Ega
A mod by Gaajashin: 5% complete.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












