Inside3D!
     

noob questions

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



Joined: 11 Feb 2010
Posts: 5

PostPosted: Thu Feb 11, 2010 11:14 am    Post subject: noob questions Reply with quote

Hello everyone, I'm new here. I'm actually really excited to find this place; I thought Quake modding had all but died years ago Shocked

A friend of mine and I stayed up one night years ago, started this Quake mod, I scoured a bunch of tutorials and implemented some basic stuff like team and class selection menus, added Frikbot, started a couple of maps, etc. Then it basically sat on my hard drive. But somehow it's come back, and both of us are much more experienced now. Except with quakec. There's a lot of things about it I'm just ignorant of, so I thought it was time to seek out some help!

-end intro ramble-

So, I've been using the quake 1.06 source (I think... it is really old), frikqcc as my compiler and Darkplaces as my engine.

First thing I'm having trouble with is each class having a different movement speed. I downloaded a qc port of the player physics by LordHavoc, but the compiler spits a bunch of errors. Basically it doesn't recognise a bunch of things referenced in the code, including:
float bound(float, float, float)
vector ent.movement

So I'm wondering if I have an antiquated codebase or compiler? What would cause it to be unrecognised?

Second thing is I want to limit visibility of some things to certain clients (eg only class x can see entity y, or only team a can see entity z). I actually emailed LordHavoc and asked him and he replied with a great set of examples, but I've run into a similar problem in that the compiler doesn't recognise the functions and variables he's talking about, such as:
ent.nodrawtoclient
ent.drawonlytoclient

Quite frustrating to have a code solution sitting in front of you that the compiler doesn't accept!
Back to top
View user's profile Send private message
Spike



Joined: 05 Nov 2004
Posts: 944
Location: UK

PostPosted: Thu Feb 11, 2010 12:03 pm    Post subject: Reply with quote

you need a dpextensions.qc
you need to include it before most other files in your progs.src (add it after defs.qc)
_________________
What's a signature?
Back to top
View user's profile Send private message Visit poster's website
gastrop0d



Joined: 11 Feb 2010
Posts: 5

PostPosted: Thu Feb 11, 2010 2:02 pm    Post subject: Reply with quote

Ah, awesome! Got it all working now, god... how did I not see that file Shocked

Thanks a lot!
Back to top
View user's profile Send private message
Error
Inside3D Staff


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

PostPosted: Thu Feb 11, 2010 11:43 pm    Post subject: Reply with quote

Darkplaces is a great piece of technology that a good bit of people use. Problem is... it's horribly undocumented.
_________________
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: 969
Location: Florida, USA

PostPosted: Fri Feb 12, 2010 12:15 am    Post subject: Reply with quote

yeah... and it hasnt been running too nicely since i installed windows7... wish i could get a directdp port of it.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo 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