QC Tutorials for absolute beginners

Discuss programming in the QuakeC language.
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

QC Tutorials for absolute beginners

Post by MauveBib »

I'm writing a series of QC tutorials for total beginners, guiding them step by step through the basics of the language, and culminating in adding a new weapon to Quake.


http://www.electronicliberationfront.co ... s/tut1.htm
http://www.electronicliberationfront.co ... s/tut2.htm
http://www.electronicliberationfront.co ... s/tut3.htm
Last edited by MauveBib on Wed Sep 22, 2010 11:13 pm, edited 4 times in total.
Apathy Now!
scar3crow
InsideQC Staff
Posts: 1054
Joined: Tue Jan 18, 2005 8:54 pm
Location: Alabama

Post by scar3crow »

Looking good, definitely solid work there. But whats with the eating of faces? Too much Rage in you? ; )
...and all around me was the chaos of battle and the reek of running blood.... and for the first time in my life I knew true happiness.
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

scar3crow wrote:Too much Rage in you? ; )
...says the man whose avatar is a severed head...
Apathy Now!
scar3crow
InsideQC Staff
Posts: 1054
Joined: Tue Jan 18, 2005 8:54 pm
Location: Alabama

Post by scar3crow »

It was actually a British joke, 28 Days Later and all that.

To be fair, I also have this avatar for my work correspondence... ...and my work tagline is self.health => -40

SantaClaws messaged me the other day at work stating "You will not gib!"
...and all around me was the chaos of battle and the reek of running blood.... and for the first time in my life I knew true happiness.
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

There are plenty of british jokes in the next few tutorials, worry not!
Apathy Now!
CocoT
Posts: 695
Joined: Tue Dec 14, 2004 5:39 pm
Location: Belly-Gum
Contact:

Post by CocoT »

Cool stuff! :D
Would it be okay to have it posted both on PQ and here in the I3D tutorials section?

P.S: Oh, and, Mauve: you have a typo in your web address, at the very bottom ;)
Neurotic Conversions - New location: Update your bookmarks!
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

No problem, and I'll fix that in a sec.
Apathy Now!
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

Part 2 is up: http://elf.planetquake.gamespy.com/tutorials/tut2.htm.

Ugh, I'm starting to realise why people don't bother explaining tutorials, it takes forever!

Part 3 can wait 'til tomorrow.
Apathy Now!
goldenboy
Posts: 924
Joined: Fri Sep 05, 2008 11:04 pm
Location: Kiel
Contact:

Post by goldenboy »

Well done Mauve.

Boy, would the journey have been easier with these.

It's quite a high speed ride though, newcomers will need to read these several times to "dig" it. Chock full of info.

I look forward to more :)
scar3crow
InsideQC Staff
Posts: 1054
Joined: Tue Jan 18, 2005 8:54 pm
Location: Alabama

Post by scar3crow »

The explaining is what makes it a tutorial, and not just a copy and paste of code =) Thanks a lot for doing these by the way.
...and all around me was the chaos of battle and the reek of running blood.... and for the first time in my life I knew true happiness.
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

Yeah, I've never really seen the point of copy+paste tutorials. Well, they're useful for people who know the basics of the language but struggle with programming methodology, i.e how to put their ideas across, but basically useless for beginners.

QC needs explained tutorials like these and the AI cafe ones, else it's a very sleep hill to climb.
Apathy Now!
FrikaC
Site Admin
Posts: 1026
Joined: Fri Oct 08, 2004 11:19 pm

Post by FrikaC »

I've written copy-paste tutorials here on I3D and more hand holding tutorials elsewhere and I think copy-paste tutorials definitely have a place. It's more about learning by example rather than learning by explanation. It's handing the person doing the tutorial the solution to a problem, and a very terse list of the steps taken. In essence the author has narrowed the hugeness of the codebase to just the changes needed to accomplish the task. If you're motivated to learn how it works, he's made the task of understanding it that much simpler. A beginner tutorial it is not, but it does have have a use for the slightly more advanced learner. It's also an avenue to release mods that aren't quite mods and simultaneously release the source to them and allow users to take this feature and adapt it to their code.
MauveBib
Posts: 634
Joined: Thu Nov 04, 2004 1:22 am

Post by MauveBib »

FrikaC wrote:It's also an avenue to release mods that aren't quite mods and simultaneously release the source to them and allow users to take this feature and adapt it to their code.
That's the main use I see of copy+paste tutorials. I have a whole directory of plugin qc files I've knocked together at various times that I've never had much use for, such as a centerprint radar. Maybe I should rejig some of them as tutorials in case others can find a use for them.

EDIT: It seems I released the centerprint radar on this forum a few years ago anyway. I guess my brain must be going.
Apathy Now!
ceriux
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Post by ceriux »

great job on this tutorial the ways you explained things helped me learn a few things, im going to read through a couple of times and take notes in the mean time im going to see if i can do anything with what iv learned :)

i hope you put out more tutorials :D
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

In the tutorial, it mentions FTEQCC. Would the gui version be better for beginners?

Or for that matter, I'm just wondering if anyone who has used both prefers the command line?

What I like about the gui version is that I can double click on errors and the file opens to the line in question.
Post Reply