Aug 19, 2011 at 7:22 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Tpcool said:
Well then I guess it's the perfect time for me to ask: how the hell do I change 'Studio Pixel Presents.' When I changed the 'u' it showed me an error and wiped out my script.

Problem with read-only. Go to the folder properties and uncheck read-only. You don't need to close anything first.
 
Aug 19, 2011 at 7:26 PM
Tommy Thunder
Discord Group Admin
Org Discord Moderator
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 24, 2011
Location: New Westminster, BC
Posts: 1368
Age: 28
LunarSoul said:
Problem with read-only. Go to the folder properties and uncheck read-only. You don't need to close anything first.

Are you sure? I've saved a new map and script every so often, so I assume one of the read-only boxes wouldn't re-check itself.

I guess I'll just try it again, it should already work from what your telling me >.<
 
Aug 19, 2011 at 7:28 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Only some files are read-only, usually ones you wouldn't commonly change in cave editor (like u(Kings)).
 
Aug 19, 2011 at 11:38 PM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
how do you open doors in cave editor? I've read the entire list of commands in the guide I got, and can't find what command I use to get through a door.:mad::mad:
 
Aug 19, 2011 at 11:42 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
DNP the door entity, fade out, then TRA to the map.

<DNPXXXX<FAOXXXX<TRAXXXX:YYYY:ZZZZ:WWWW
DNPXXXX where XXXX is entity destroyed.
FAOXXXX where XXXX equals 0-4, selects which way to fade from.
TRAXXXX:YYYY:ZZZZ:WWWW where XXXX is map, YYYY is event run (usually 90-94), ZZZZ:WWWW are X/Y positions for character.
 
Aug 20, 2011 at 1:02 AM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
LunarSoul said:
DNP the door entity, fade out, then TRA to the map.

<DNPXXXX<FAOXXXX<TRAXXXX:YYYY:ZZZZ:WWWW
DNPXXXX where XXXX is entity destroyed.
FAOXXXX where XXXX equals 0-4, selects which way to fade from.
TRAXXXX:YYYY:ZZZZ:WWWW where XXXX is map, YYYY is event run (usually 90-94), ZZZZ:WWWW are X/Y positions for character.

I'm sorry to be a pain, but I don't completely understand.
 
Aug 20, 2011 at 1:10 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
linkruler said:
I'm sorry to be a pain, but I don't completely understand.

Well, each TSC code segment consists of the < sign, three uppercase letters, and sometimes 1-4 values. XXXX, YYYY, ZZZZ and WWWW are all parameters. You put values to replace those depending on the segment. For example, <DNP0350 (<DNPXXXX) will delete entity 350. <FAO0004 (<FAOXXXX) will fade the screen out in direction 4. <TRA0010:0094:0030:0050 (<TRAXXXX:YYYY:ZZZZ:WWWW) will load map 10, run event 94, and move character to coordinates 30, 50.
 
Aug 20, 2011 at 1:23 AM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
Oh wow! I completely understand now! thanks.

well, I tried moving from start point to first cave, and it didn't work. I put <KEY<DNP0018<FAO0004<TRA0012:0094:0003:0041<NOD<END
 
Aug 20, 2011 at 1:34 AM
LSD
"..."
Join Date: Jun 2, 2011
Location:
Posts: 397
Age: 25
linkruler said:
Oh wow! I completely understand now! thanks.

well, I tried moving from start point to first cave, and it didn't work. I put <KEY<DNP0018<FAO0004<TRA0012:0094:0003:0041<NOD<END
Uh, take out the <NOD and <END. Only put <ENDs on the recieving script.

Tell me how it works then.
 
Aug 20, 2011 at 1:43 AM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
It won't. It doesn't matter, since TRA starts another event.
You need to put 0041:0003, unless you changed first cave. XXXX:YYYY:ZZZZ:WWWW where ZZZZ is X position and WWWW is Y position, not the other way around.
 
Aug 20, 2011 at 1:46 AM
LSD
"..."
Join Date: Jun 2, 2011
Location:
Posts: 397
Age: 25
LunarSoul said:
It won't. It doesn't matter, since TRA starts another event.

Really? For some reason I thought it broke the scripts. Oh well. Thanks again.

______

Some of my scripts broke at times because of that.
 
Aug 20, 2011 at 7:46 AM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
found out why it wasn't working. I forgot to assign the event.:mad:
EDIT: forgot to add that when I opened the door, it sent me to the wrong location. I switched the coordinates, and it still didn't have the player appear in the right location.
 
Aug 20, 2011 at 1:39 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Pigaro said:
Some of my scripts broke at times because of that.
That's probably because of a different problem. Nothing after a TRA is ever read.

linkruler said:
found out why it wasn't working. I forgot to assign the event.:mad:
EDIT: forgot to add that when I opened the door, it sent me to the wrong location. I switched the coordinates, and it still didn't have the player appear in the right location.
Go into the map and check the coordinates you want to move to. You can find out by moving your mouse to the spot and looking in the top-left corner, which shows two numbers separated by a comma. That's the X/Y position.
 
Aug 20, 2011 at 5:45 PM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
okay, so I got the door working, but now, I am trying to get the door to the hermit gunsmith's to work. When I open it(oddly enough) it gives me a life capsule everytime I try to open the door.It's soooooooooooo confusing!
 
Aug 20, 2011 at 5:59 PM
In front of a computer
"Man, if only I had an apple..."
Join Date: Mar 1, 2008
Location: Grasstown
Posts: 1435
Miles_Valentine said:
It sounds alot more complicated that i anticipated. I dont want to end up doing more harm than good for the sake of style. Thankyou both for your reply though.
If you do decide to go with the die-and-reload method rather than hacking to allow the death event to resurrect your character, that would seem to be a good use for skip flags, since they aren't reset when you die and reload (though they're not saved in the profile.dat either; but I think you could possibly get around this one by using a skip flag to set a regular flag).
 
Aug 20, 2011 at 6:16 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
linkruler said:
okay, so I got the door working, but now, I am trying to get the door to the hermit gunsmith's to work. When I open it(oddly enough) it gives me a life capsule everytime I try to open the door.It's soooooooooooo confusing!

The door and life capsule entities share an event #. Change the door event # and it should work.
 
Aug 20, 2011 at 7:56 PM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
LunarSoul said:
The door and life capsule entities share an event #. Change the door event # and it should work.

Actually, they aren't sharing an event. the life capsule is #0400 and the door is #0202. I've checked and saw no other events that shared #0202, but the life capsule event might need to be spaced out more.
 
Aug 21, 2011 at 10:54 AM
Senior Member
"Wahoo! Upgrade!"
Join Date: Jul 13, 2011
Location: Submerged in the colour orange
Posts: 63
linkruler said:
Actually, they aren't sharing an event. the life capsule is #0400 and the door is #0202. I've checked and saw no other events that shared #0202, but the life capsule event might need to be spaced out more.

I'm guessing you checked your <SKJs and <ITJ and whatnot, right? Make sure you didn't forget a <END after the #0202. It does some weird things sometimes when it doesn't stop running scripts. o:
 
Aug 21, 2011 at 6:09 PM
Senior Member
"Huzzah!"
Join Date: Aug 10, 2011
Location:
Posts: 222
Orange said:
I'm guessing you checked your <SKJs and <ITJ and whatnot, right? Make sure you didn't forget a <END after the #0202. It does some weird things sometimes when it doesn't stop running scripts. o:
oka so I did that, but it still didn't work. I eventually deleted the event so it worked.
 
Aug 21, 2011 at 6:35 PM
Professional Whatever
"Life begins and ends with Nu."
Join Date: Jan 13, 2011
Location: Lasagna
Posts: 4481
Could it be that your events are out of order?
Eg.
#0203
#0100
#0204
That can do some weird stuff.
 
Top