Inside3D!
     

"Omg! Learn CSQC!"

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Wed Feb 10, 2010 5:48 am    Post subject: "Omg! Learn CSQC!" Reply with quote

Ok, here's the problem... I've scoured the internet looking for some sort of real CSQC documentation or good HUD tutorial... and I've found damn near nothing.

Every time I show my programming work in #darkplaces or #qc, someone at some point thereafter says "that would work better in CSQC". So, after that happens, I attempt to find some way of learning it. It's never there. These are the same people that NEVER offer a site or file with which to start.

CSQC has to be the most useful thing this community has NOT learned/utilized.

So, I beg, can we have the CSQC guru's start making some tutorials for basic menu drawing, hud drawing/positioning, and even some shared entity stuff?

Or, add things to the quakery wiki? I'm sick of seeing commented code where it says "this does this with this"... I want to know how to "do this with this". Examples are amazing!

Thanks folks. Wink
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Wed Feb 10, 2010 6:56 am    Post subject: Reply with quote

yes please, i have to admit the basic tutorial i made well sucks, apparently i didnt add the whole thing. and i no longer have the source and since someone helped me make it... i really dont remember what was done to get it to actually work. some please make a couple basic tutorials on csqc and hud drawing PLEASE!
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Urre



Joined: 05 Nov 2004
Posts: 1073
Location: Sweden

PostPosted: Wed Feb 10, 2010 2:37 pm    Post subject: Reply with quote

Tutorial for basic shared entities written by me (tested in DarkPlaces)

HUD tutorial by avirox (FTE specific)

Although these two are only tested on one of two possible engines, it shouldn't be hard to modify the code to work on the other.

Another way to learn is to actively ask about things you don't understand in chat, rather than forums, because it can take a lot of explaining in some cases, if it's very far from how you imagine it'd work.
_________________
Look out for Twigboy
Back to top
View user's profile Send private message Visit poster's website
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Wed Feb 10, 2010 4:28 pm    Post subject: Reply with quote

that hud tutorial is pretty far from basic if you ask me.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Teiman



Joined: 03 Jun 2007
Posts: 309

PostPosted: Wed Feb 10, 2010 5:12 pm    Post subject: Reply with quote

Maybe something can be done. Something like a "cheatshet" with a list of the builtins, and constants. And take one of these already existing tutorials, and make something even more simple.

I must think about this topic..
Back to top
View user's profile Send private message
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Wed Feb 10, 2010 5:19 pm    Post subject: Reply with quote

I have an updated "blank" csqc for DP only (should work on FTE with some modifications) with some typo fixes and other random bits I tweaked on top of the csqc-scratch.zip Urre was using.

I also made it use id 1.06 style QC instead of the C style which fteqcc supports (semicolons after functions, "void() blah = " instead of "void blah() " etc, which is probably "better" for people new to csqc. Plus it's how I like it.

Problem is, I then started coding on top of it, so I'll remove my cruft and upload it when I have the time.

Same goes for my blank MenuQC (contains just init functions and a cursor) which should work on DP/FTE.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Wed Feb 10, 2010 6:18 pm    Post subject: Reply with quote

yes please do that, if you dont mind when u do. ill upload them to my quake group on moddb as well.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
avirox



Joined: 16 Aug 2006
Posts: 109

PostPosted: Wed Feb 10, 2010 9:09 pm    Post subject: Reply with quote

The CSQC GUI tutorial which Urre linked to actually contains a "bare-bones" csqc that can load with either FTE or DP.

Also, as for complexity - it's actually not that complicated at all. Plus everything I'm doing is pretty much described in the post, as well as how to manipulate it.

I will try to getting to post my tutorial for third-person camera ala Diablo/Zelda some day..
Back to top
View user's profile Send private message
xaGe



Joined: 01 Mar 2006
Posts: 329
Location: Upstate, New York

PostPosted: Fri Mar 19, 2010 5:09 am    Post subject: Reply with quote

..Just curious if you have gotten any where with this c0burn? Something like that could be useful. Smile


c0burn wrote:
I have an updated "blank" csqc for DP only (should work on FTE with some modifications) with some typo fixes and other random bits I tweaked on top of the csqc-scratch.zip Urre was using.



..General csqc knowledge is good, but something DP specific would be better for me I feel. I'm not even looking to make something magically complicated. For the moment (as in the last 2 years) I just want to hide the default quake hud in DP for a mod and add a few new hud elements to graphically display health, ammo, or mana.. "ALA" Darsana.


Last edited by xaGe on Tue Mar 23, 2010 5:31 am; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Fri Mar 19, 2010 5:30 am    Post subject: Reply with quote

ditto.
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group