Search found 266 matches

by Lardarse
Sat Feb 27, 2010 4:36 am
Forum: QuakeC Programming
Topic: A "Sound" Question
Replies: 17
Views: 3835

It's not possible for sounds to travel as they are ebing played. The only way would be the rocket retriggering the sound as it moves along...
by Lardarse
Mon Feb 22, 2010 6:36 am
Forum: QuakeC Programming
Topic: SOLID_NOT
Replies: 8
Views: 2053

if (targ.flags & FL_ONGROUND)
targ.flags = targ.flags - FL_ONGROUND
This can be done a lot cleaner as targ.flags = targ.flags - (targ.flags & FL_ONGROUND); as demonstrated in the armor pickup code in items.qc

It can be done even more cleanly if the ~ operator is available (which it is in C), but ...
by Lardarse
Mon Feb 22, 2010 6:27 am
Forum: QuakeC Programming
Topic: The Floor Is Eating My Spikes!
Replies: 12
Views: 2371

Normalizing a vector scales it so that its length is 1. This is a technique that's often used to obtain just the direction of the vector, without its length.
by Lardarse
Sun Feb 21, 2010 6:17 am
Forum: QuakeC Programming
Topic: The Floor Is Eating My Spikes!
Replies: 12
Views: 2371

Strange why that might be the issue...
by Lardarse
Sat Feb 13, 2010 4:05 am
Forum: Engine Programming
Topic: Direct 3D 9.0c Quake
Replies: 189
Views: 79516

(1.7.666c) Always Run doesn't increase backwards speed.
by Lardarse
Fri Feb 05, 2010 12:52 pm
Forum: QuakeC Programming
Topic: Weird issues with LightningDamage()
Replies: 5
Views: 1355

This is both an issue with the lightning gun code and with the engine-side implementation of TE_LIGHTNING2.

What the lightning gun is actually doing, is shooting 2 beams parallel to the original beam. There is a page on SDA that documents where it goes wrong, but the fail starts when f is ...
by Lardarse
Tue Jan 26, 2010 11:35 am
Forum: Engine Programming
Topic: qcexec: Execute qc functions from the console
Replies: 10
Views: 2856

Baker wrote:I figured most uses of this would be as a QuakeC testing tool, never thought of the substitution for impulses idea (although I'm not sure that is a good substitute, heh).
That seems to be the biggest use of it. Would be very useful to have just for that purpose. Especially for testing edge cases...
by Lardarse
Fri Jan 15, 2010 2:10 am
Forum: QuakeC Programming
Topic: Which qc compiler do you prefer?
Replies: 12
Views: 2543

I've used FTEQCC since I started modding, back in 2005. I too use a batch file to compile.
by Lardarse
Thu Jan 14, 2010 6:24 am
Forum: QuakeC Programming
Topic: Factions??
Replies: 21
Views: 3838

Well... we could tell you, but if we did, would you learn anything?
by Lardarse
Wed Jan 13, 2010 4:11 am
Forum: QuakeC Programming
Topic: Model glitch?
Replies: 8
Views: 1488

the naming isn't what's important. it's the frame order.
This seems to confuse many people. As I explained to someone else, the frame names in the model were generated by a program that read the QuakeC and output the model file. You can use whichever names you like in both places (and even have ...
by Lardarse
Tue Jan 12, 2010 9:26 am
Forum: General Discussion
Topic: Engine standards for mod compatibility
Replies: 231
Views: 549641

There need to be more examples of modding features to be included still.
Agreed, and I think this brings us back to LordHavoc's point. Modders desperately need to get involved and shout about the modding features they want included; it's not sufficient to just say "give me more vague kinds of ...
by Lardarse
Fri Dec 25, 2009 9:23 am
Forum: QuakeC Programming
Topic: Built in functions
Replies: 6
Views: 2011

There is a hard limit of 8 function paramaters that can be passed to a function. Modern QuakeC compilers allow you to extend that, but it's not possible to send more than 8 parameters to a builtin function.
by Lardarse
Sat Dec 12, 2009 8:56 am
Forum: General Discussion
Topic: Remake Quake Winter MP Demo
Replies: 84
Views: 27638

We have our own implementation of the grappling hook. :-)

Additional mirror: http://lardarse.quakedev.com/remake/rqtest.zip
by Lardarse
Sat Sep 19, 2009 1:23 pm
Forum: QuakeC Programming
Topic: Limiting velocity
Replies: 12
Views: 3521

Impules only go up to 255. 998 becomes 230 and 999 becomes 231. Make sure that you're not clobbering other impulses.
by Lardarse
Tue Sep 15, 2009 1:40 am
Forum: QuakeC Programming
Topic: Random classes
Replies: 9
Views: 2564

Dr. Shadowborg wrote:Also, crandom isn't short for ceil random. (I have no idea what it's short for actually)
Centered random?