PDA

View Full Version : guides and tuts?



scratchnloved
02-03-2008, 07:10 PM
can i get a guide or tut to get me started please:)
doesn't need to be noobproof ;)
thanks in advance :D

Joe123
02-03-2008, 07:13 PM
http://www.geocities.com/pikachu_fan_13/zscripttutorial.txt

http://www.armageddongames.net/forums/showthread.php?t=94699

http://www.purezc.com/forums/index.php?showtopic=25946

http://zctut.com/script1.php

http://www.shardstorm.com/ZCwiki/ZScript

http://www.shardstorm.com/ZCwiki/ZScript_Language_Reference

http://www.purezc.com/forums/index.php?showtopic=33916

You could also check the thread below this one, (that Master Maniac posted) there's quite a lot of information in that as of a few hours ago too.

scratchnloved
02-03-2008, 07:15 PM
thanks a lot ^-^

Master Maniac
02-03-2008, 07:18 PM
yay! im useful!

but seriously it should help a lot. but it also helps when you have seen scripting before too. ive dealt with processes and functions so i already knew how to arrange a script in general. i actually used game making software before where you had to basically build the hard code from scratch. it was really boring so i switched to Zquest.

also i havent seen you around here. welcome!

scratchnloved
02-03-2008, 07:25 PM
I've had plenty of experience compiling and scripting, so i understand the general layout. kinda like a sentence when you come to think about it..... got an object(noun), and function/methods/etc. working on it(verb), and all kinds of defining crap(adjectives, pronouns, etc.).
And it's nice to meet you :D

Master Maniac
02-03-2008, 07:31 PM
you've done scripting before? ... i envy you... lol

and yeah thats kinda right once you think about it.

scratchnloved
02-03-2008, 07:33 PM
oh man it looks a heckuva lot like c O.O

Joe123
02-03-2008, 07:40 PM
I wouldn't think of it like a scentence personally, but if it works for you then ok :shrug:

I'd never scripted before ZScript by the way MM.

And yes, it's a C subset.

scratchnloved
02-03-2008, 07:46 PM
now i got a crucial question :(
what version(s) support scripting, where do i get the compiler, and how do i import and reference them in the game.

Master Maniac
02-03-2008, 07:47 PM
really? i never would have guessed, joe... you seem really good at all of this lol like you were born with scripting in your brain.

ive done processes, but not writing actual hand written scripts.

scratchnloved
02-03-2008, 07:49 PM
o.o good is he?
hope i can count on ya to help me out joe, i always start a lil slow with new languages:uhoh:

Master Maniac
02-03-2008, 07:54 PM
i can answer a little bit of your question too.

im pretty sure every 2.5 build supports scripting. the compiler and import tools are in the quest editor itself.

go to tools>compile Zscript and then the import button. the compilers even on the same screen XD. and the format is NOT regular text. use the file ectension .z when writing your own.

scratchnloved
02-03-2008, 07:57 PM
all i see on the download page is 2.1 :uhoh:
could you point me to a 2.5 download please :)?
and thanks again :D

Joe123
02-03-2008, 07:57 PM
www.shardstorm.com
is where the newest betas are.

I seem to spend a large percentage of my life hanging around here helping, so don't worry about that :)

And I don't like to boast, but I scripted Epona a couple of weeks ago:
http://www.armageddongames.net/forums/showthread.php?p=1160063#post1160063

There are plenty of better scripters around though, just I'm here more often I suppose or something.

scratchnloved
02-03-2008, 08:05 PM
i like the epona script :)
all commented nicely.....
you even told the users where they need to define the variables, which is regretfully rare:rolleyes:

Joe123
02-03-2008, 08:09 PM
Well yes, it's meant to be user-friendly.
I wouldn't bother posting it up otherwise.

I didn't really go overboard on the noting though, I wrote the guide for non-scripters and assumed that scripters would understand the script.

I could go through and note it up for learning scripters, I never thought of that.

scratchnloved
02-04-2008, 06:50 PM
i think i'm gonna make my first quest in 2.10, simply because alot more people have it. I'm gonna be workin on it for a while, so i'll be askin some questions when i bump into them.
my first one, how do you set up a title screen like the one you had? i experimented with making link invisible and using a warp, but that requires you to step down into it x.x
i also want to know how to bring up that little icon at the end of a text box, like the little blue arrow from z64 games.

and thanks in advance :D

Master Maniac
02-04-2008, 07:02 PM
well first off this forum is a scripting questions place so the best place to go for you would be the quest editor help forum. and,

there are a few ways to make title screens.

1- make link invisible(data->screen data-> invisible link) and draw everything as usual. then put un-walkable tiles around an edge of the screen so thet theres one walkable space with room for link. then place link there, and have the screen instruct you to press the arrow key toward whichever direction the edge is you set him to.

2- set the layer to 3 or higher and place all of your scenery there. everything will still be drawn above link, so he will have the affect of being invisible. then do the same thing boxing him in and the button press and all that.

and for your other question, you have to go to quest>graphics>sprites>weapons and misc. to access this. there should be a long list of things here. scroll down until you find the misc. more sprite. then just click the black box, set your tiles to use and animation frames if you wish and youre all set. this sprite should appear at the end of your message strings.

Joe123
02-04-2008, 07:12 PM
Yah, there's no scripting in 2.10.