home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Cubescript tutorial

by JadeMatrix on 01/04/2008 18:01, 34 messages, last message: 01/19/2008 23:42, 9999 views, last view: 05/05/2024 12:17

http://files.filefront.com/jm+cubescript+tutorialzip/;9378112;/fileinfo.html

Five pdfs in a zip, the first four chapters.

I need help/more info/confirmation on the parts in red. All suggestions are welcome.

Go to first 20 messagesGo to previous 20 messages    Board Index   

#15: Re: Arrrggh!

by SheeEttin on 01/10/2008 01:24, refers to #14

Probably. To put it bluntly, FileFront sucks.

Here it is on Mediafire: http://www.mediafire.com/?7xwln9jggxw

reply to this message

#16: Re: Arrrggh!

by demosthenes on 01/10/2008 01:37, refers to #15

Mmm, I don't like that host too much either, 'cause it wants me to enable cookies in order to grab the file. :(

reply to this message

#17: Mediafire

by steve_e on 01/10/2008 03:22

Thanks, SheeEttin - that worked without any dramas at all. Cheers.

reply to this message

#18: ..

by JadeMatrix on 01/10/2008 13:58

Hmm, then what hosting site should I use from now on? Quadropolis... but I don't think you can upload guides. It's pretty moot now, as I've got access to the wiki, so I should be uploading it in about a week.

reply to this message

#19: Re: ..

by JadeMatrix on 01/11/2008 22:09, refers to #18

Any suggestions as to where this tutorial should go on the wiki?

reply to this message

#20: Re: ..

by Quin on 01/12/2008 04:12, refers to #19

Either on a new page entitled "Scripting Tutorial" or, if you think it supercedes the current "Scripting Guide" you could always use that page.

reply to this message

#21: Re: ..

by JadeMatrix on 01/12/2008 15:19, refers to #20

Under "help finding help" on the Beginner's Guide page, I'll add a new section, "Tutorials," with a link to the page for my tutorial. Look for it sometime later today, or tomorrow.

BTW, I'm working on ch. 5 right now. Could someone enlighten me as to how you get the symbol to change text color on a Mac or PC (MeatROme has said that it's ctrl-L on his Linux).

reply to this message

#22: Re: ..

by SheeEttin on 01/12/2008 17:56, refers to #21

Copy-paste an existing one?

reply to this message

#23: Apple instructions

by alynn on 01/12/2008 22:44

It's .pages, and TextEdit is perfectly capable of creating plaintext files :3

reply to this message

#24: Re: Apple instructions

by JadeMatrix on 01/13/2008 03:51, refers to #23

Ah, \"Make Plain Text\"! I just never saw that. That\'s great, although I will miss firing Xcode up to view the smallest bit of script (not).

reply to this message

#25: See history/discussion

by MeatROme on 01/14/2008 01:03

I've edited this up a bit;
been kinda' ignoring the forum lately, so sorry for not responding here sooner ... but as quin pointed out earlier there's already a bit of CubeScript stuff in the wiki ... glad to see someone more eloquent in writing tuts helping out ... people tend to get lost in my sentences too often ;-)
Let's try and merge our efforts into something truely empowering to newcomers and maybe even enlightening to afficionados of CubeScript!

reply to this message

#26: Re: See history/discussion

by JadeMatrix on 01/14/2008 03:30, refers to #25

I will definitely need help in later chapters; some of this stuff I'm learning as I go. :)

In ch 4 I've written a zoom (most of my examples are zoom scripts) that I'm actually pretty proud of. Now I just need to get back to my good(er) computer to see if it really works XD.

reply to this message

#27: Re: See history/discussion

by MovingTarget on 01/14/2008 04:36, refers to #26

lol nice job with the tut. My CubeScript is definitely a lot worse then my C++ though... Some people think that CubeScript zoom-scripts are cheating, based on the assumption that since 'not everyone has them' and cheating is 'having the ability to do something that other people can't'. Oh and it would be nice to have your tut on the Wiki, 'cause you are definitely more eloquent.

I almost flamed someone for using C-style casting instead of C++-style casting once :P

reply to this message

#28: Re: See history/discussion

by Hirato Kirata on 01/14/2008 05:30, refers to #27

On the contrary, there's a built in zoom. just type
/bind Mouse3 [zoom (! $zoom)]
sometime in game, and you can press the middle mouse button to zoom in (and out) using the built in zoom. you can tell it's built in as it echoes the value when you execute them.

~Hirato Kirata

reply to this message

#29: new zooming

by MeatROme on 01/14/2008 05:32

AFAIK the next release will hold a suprise for all folks writing zoom-scripts out there - sorry - but it's gonna be a lot easier from the start (read: engine) ;-)

reply to this message

#30: Re: See history/discussion

by MeatROme on 01/14/2008 05:47, refers to #26

Hehe - since CubeScript is still evolving this is true for all of us; especially with new commands/functions becoming available the possibilities are just too numerous for one person to fathom ;-)

We should maybe try and meet up on IRC or start an email conversation together to try and come up with a general approach for organizing these (currently) dissparate efforts at explaining aspects of CubeScript.

I mean - from the introduction/first script on to general syntax & intermediary algorithms and finally the ultimate hints & tricks of the pro-Scripters.

There's (finally!) a bunch of people posting stuff on quadropolis and I'm sure we can glean/back-link that ... times used to be pretty dismal when nobody seemed to care about the power of CubeScript - it's not just for mappers in the end - the different aspects of player, mapper and (as a pretty much own category) the SP-mapper should definitely be honoured (and treated) seperately ... at least IMHO.

Because I just hear too much of that talk where people kinda know they can do stuff like binding ... but even that sometimes seems too much hassle to learn for some ... let's remedy that!

reply to this message

#31: Re: See history/discussion

by tentus_ on 01/14/2008 06:05, refers to #27

Maybe this is just a binding that keeps recurring for just me, but doesn't G+Scroll zoom by default? Maybe I'm getting my own stuff mixed in with the shipped binds, but I'm fairly sure it's a perfectly functional and universally available zoom function.

reply to this message

#32: Re: See history/discussion

by MeatROme on 01/14/2008 07:03, refers to #31

yes - but waaaay too slow;
the way I modded it was for the engine to "know" a /normal/-FOV and a /zoomed/-FOV and seamlessly transition between the two - eihrul told me yesterday he was adapting this to sauerbraten ... probably a good deal cleaner than my original code - but I guess the way it'll work will be the same.

reply to this message

#33: Re: See history/discussion

by JadeMatrix on 01/14/2008 13:47, refers to #28

The problem is that the default zooms may exist, but many players, especially new ones, would not know about them.

MeatROme (@ #30)
I don't have any kind of an outline for later chapters yet. Right now I'm just introducing stuff when it feels right; application will come sooner or later. Maybe once I refine this a bit there can be an applications section at the end of each chapter.

I'm going to try to upload another chapter today.

reply to this message

#34: ..

by JadeMatrix on 01/19/2008 23:42

Updated the wiki.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864644 visitors requested 71639788 pages
page created in 0.017 seconds using 10 queries
hosted by Boost Digital