Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

"Omg! Learn CSQC!"

| 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

Posted: Wed Feb 10, 2010 5:48 am Post subject: "Omg! Learn CSQC!" |

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.
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki

Back to top |

ceriux Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA |

Posted: Wed Feb 10, 2010 6:56 am Post subject: |

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 |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Wed Feb 10, 2010 2:37 pm Post subject: |

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 |

ceriux Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA |

Posted: Wed Feb 10, 2010 4:28 pm Post subject: |

that hud tutorial is pretty far from basic if you ask me. _________________ QuakeDB - Quake ModDB Group

Back to top |

Teiman Joined: 03 Jun 2007 Posts: 309 |

Posted: Wed Feb 10, 2010 5:12 pm Post subject: |

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 |

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

Posted: Wed Feb 10, 2010 5:19 pm Post subject: |

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 |

ceriux Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA |

Posted: Wed Feb 10, 2010 6:18 pm Post subject: |

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 |

avirox Joined: 16 Aug 2006 Posts: 109 |

Posted: Wed Feb 10, 2010 9:09 pm Post subject: |

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 |

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

Posted: Fri Mar 19, 2010 5:09 am Post subject: |

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

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 |

Error Inside3D Staff Joined: 05 Nov 2004 Posts: 558 Location: VA, USA

Posted: Fri Mar 19, 2010 5:30 am Post subject: |

ditto. _________________ Inside3D : Knowledge Is Power Darkplaces Documentation Wiki

Back to top |

Display posts from previous:

| 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