Help?

Aug 20, 2009 at 3:02 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Jul 29, 2009
Location: California
Posts: 111
Age: 28
Im new and i did use the search button (Trys to avoid teasing)

But theres a problem with my first mod i made a starting place and basically copied the start point script from the original and tweaked it so that it doesnt take you to another map and just shows one message i made a door and but the script i got from the basic script (copy-pastable) topic i then made two doors in the next map the second door doesnt have anything with it but the first door takes you back to the first map but when i go through it it takes you there for a split second then back to the second map heres the file if you dont understand

http://www.mediafire.com/download.php?mmnxymdgjtg
 
Aug 20, 2009 at 3:08 AM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
Nip this in the bud

*Quickly redirects this thread before it grows too big*
Hacking Question/Answer Thread
Post further questions here, please.

Also, you could probably have gotten away with just pasting the script, but I guess I'll look at the file real quick....

....Oh wait, MEDIAFIRE?
NOOOO---Oh hey, it worked....

....I can use Mediafire again, guys :D!

*Back on Topic*
Gimme a second to look through the stuff....

EDIT:
So what exactly is your problem?
If it's the two doors in the second room, the first one takes you back to the first map but runs the event for the door in that room, so you basically left as you entered. Make it run event 0094 instead of 0100 or something to fix that.
The second door acts all screwy because you assigned it an event that doesn't exist, so it moves down the list in the script file, running each event numerically until it finds an <END, which happens to be event #0100, which is also the first one it tries to run.
Also, you've got your events out of order. Always have it descending from smallest to largest to avoid weird mayhem.
 
Last edited by a moderator:
Aug 20, 2009 at 3:22 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Jul 29, 2009
Location: California
Posts: 111
Age: 28
Ill just Design some more maps while I wait

EDIT: okay ill try to change the event and i already learned about the out of order thing and changed it
EDIT:EDIT: okay i changed the number for the first door but its like the second door now heres the script for the hall way (The first door is assigned to 98)

#097
<CMU0024<SMC<FAI0004<MNA<END
#098
<KEY<CNP0100:0000:0000<SOU0011<HMC<FAO0004<TRA0001:0100:0006:0009

#1000
<END

YetAnotherEDIT: I realized the four number thing and changed it but it barely makes a difference heres the new code:
#0100
<CMU0024<SMC<FAI0004<MNA<END
#0098
<KEY<CNP0100:0000:0000<SOU0011<HMC<FAO0004<TRA0001:0100:0006:0009

#1000
<END
I noticed that it was out of order again @_@:
#0100
<CMU0024<SMC<FAI0004<MNA<END
#0111
<KEY<CNP0100:0000:0000<SOU0011<HMC<FAO0004<TRA0001:0100:0006:0009

#1000
<END
 
Aug 20, 2009 at 3:39 AM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
It's because you still haven't set the "Enter" Event right.
WhosTony said:
#0100
<CMU0024<SMC<FAI0004<MNA<END
#0098
<KEY<CNP0100:0000:0000<SOU0011<HMC<FAO0004<TRA0001:0100:0006:0009

#1000
<END
That bolded number right there is telling the game to run the #0100 event in map 1, which is the door event.
Try changing that number to 0097.
It should end up using this event...

WhosTony said:
#097
<CMU0024<SMC<FAI0004<MNA<END
And do you know how to set the X and Y positions right? Or is Quote suppose to enter the room in the air?
 
Aug 20, 2009 at 3:43 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Jul 29, 2009
Location: California
Posts: 111
Age: 28
VoidMage_Lowell said:
And do you know how to set the X and Y positions right? Or is Quote suppose to enter the room in the air?
well i was gonna change the x/y later and i never knew what those numbers did (the 100 and so on) would you mind explaining th enumbers after 0001 and 0100?
 
Aug 20, 2009 at 3:50 AM
Level 73 Procrastinator
"Life begins and ends with Nu."
Join Date: Apr 6, 2009
Location: Forgotten Tower
Posts: 2052
What editor are you using?
If it's Cave Editor, there should be a list of the TSC commands whenever you use the script editor to the right, and information will appear in the top right when you select one.
There's also the TSC Command file.
Directly off it you can see what all the <TRA numbers do...
Code:
<TRAxxxx:yyyy:zzzz:wwww  TRAnsport              Load map X, run event Y, transport you to coords Z:W
 
Aug 20, 2009 at 3:51 AM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Jul 29, 2009
Location: California
Posts: 111
Age: 28
I use cave editor and i fixed the out of air thing because i read the info thanks for the help
 
Aug 20, 2009 at 1:02 PM
graters gonna grate
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Jul 2, 2008
Location: &
Posts: 1886
Age: 32
Pronouns: he/him
One more thing, events must be in ascending numerical order (so #0098 must come before #0100).
 
Back
Top