Jump to content


Photo
- - - - -

Script Helpdesk


Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.


  • Please log in to reply
60 replies to this topic

#1 18 July 2009 - 09:51 AM

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

Hello.
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...

Spoiler

 


#2 18 July 2009 - 09:55 AM

Gaajashin Offline
Veteran Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: 14 Jul 2009
Location:
Posts: 155
 

I need help!

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

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

To delete an entity, just add a <DNPXXXX

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...

Spoiler

 


#4 18 July 2009 - 10:09 AM

Gaajashin Offline
Veteran Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: 14 Jul 2009
Location:
Posts: 155
 

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.

Ega
A mod by Gaajashin: 5% complete.


#5 18 July 2009 - 10:13 AM

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

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...

Spoiler

 


#6 18 July 2009 - 10:16 AM

Gaajashin Offline
Veteran Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: 14 Jul 2009
Location:
Posts: 155
 

<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

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

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:

Posted Image


ID'd entity:
Posted Image

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...

Spoiler

 


#8 18 July 2009 - 10:29 AM

Gaajashin Offline
Veteran Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: 14 Jul 2009
Location:
Posts: 155
 

If I say tagged, I mean the Event ID.
I assume you're using Sue's, so I'll post screenies.

Tagged entity:

Posted Image


ID'd entity:
Posted Image

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

DragonBoots Offline
My scales bring all the bears to the yard~
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: 01 Jan 2008
Location: LocationAbandoned Mine Shaft, -1455, 4, 525
Posts: 1,993
Age: 22
 

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...

Spoiler

 


#10 18 July 2009 - 10:51 AM

Gaajashin Offline
Veteran Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: 14 Jul 2009
Location:
Posts: 155
 

I'll tell you when I need help, thanks again c:

Ega
A mod by Gaajashin: 5% complete.




Old topic!
Guest, the last post in this thread is over 60 days old. Posting in this thread will be considered a bump, so please make an attempt to be courteous if you go ahead with it.

If the last post is over 6 months old, it may instead be a better idea to start a new topic. If you aren't sure about what to do, feel free to ask a staff member for help, or try to locate a 'general questions'-type thread if it exists in this (sub-)forum.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users