Search found 73 matches

by Willem
Tue Feb 19, 2008 4:16 pm
Forum: QuakeC Programming
Topic: Combining multiple strings into one string
Replies: 6
Views: 2852

I don't think it's possible. All strings in QuakeC, AFAIK, are const and can't be modified, concatenated, etc.
by Willem
Mon Feb 18, 2008 10:17 am
Forum: QuakeC Programming
Topic: Death timer?
Replies: 2
Views: 1469

I'm new to QuakeC but would:

Code: Select all

if (targ.deathtimer >= time) 
Be any more reliable? Checking for == with floats is often bad news in C based languages.
by Willem
Sun Feb 17, 2008 7:24 pm
Forum: QuakeC Programming
Topic: HUD drawing in QuakeC?
Replies: 16
Views: 6005

Sure, I can jigger up centerprint to put stuff in the middle of the screen but I was looking for something more than that. It evidently doesn't exist. Ahh well.
by Willem
Sun Feb 17, 2008 10:24 am
Forum: QuakeC Programming
Topic: HUD drawing in QuakeC?
Replies: 16
Views: 6005

Yeah, thanks all! Got the message.
by Willem
Sat Feb 16, 2008 7:37 pm
Forum: QuakeC Programming
Topic: HUD drawing in QuakeC?
Replies: 16
Views: 6005

Is that vanilla Quake 1? If so, how please. :)
by Willem
Sat Feb 16, 2008 6:40 pm
Forum: QuakeC Programming
Topic: HUD drawing in QuakeC?
Replies: 16
Views: 6005

I tried burping but it didn't produce those same results. What is that, a bunch of centerprint'ing or something else?
by Willem
Fri Feb 15, 2008 4:28 pm
Forum: QuakeC Programming
Topic: Monsters being annoying
Replies: 3
Views: 1666

OK, thanks guys! I think I've got a handle on it now...
by Willem
Fri Feb 15, 2008 2:40 pm
Forum: QuakeC Programming
Topic: Monsters being annoying
Replies: 3
Views: 1666

Monsters being annoying

OK, I'm trying to spawn monsters by hand and having a hard time. I can get them into the world at the location/rotation that I want but I can't seem to activate them (aka make them hostile towards the player) without them doing bizarro stuff.

I do something like this:

local entity SS;

SS ...
by Willem
Thu Feb 14, 2008 8:52 pm
Forum: QuakeC Programming
Topic: HUD drawing in QuakeC?
Replies: 16
Views: 6005

HUD drawing in QuakeC?

I'm getting the impression from my searching that the answer is NO, but is there a way to customize the HUD in vanilla Quake 1 via QuakeC?

Even the ability to put up some text strings each frame would be enough.
by Willem
Thu Feb 14, 2008 5:55 pm
Forum: QuakeC Programming
Topic: Calling function on a specific entity
Replies: 4
Views: 1753

Thanks guys! It never occured to me that "self" would be writable. Nice!
by Willem
Thu Feb 14, 2008 3:52 pm
Forum: QuakeC Programming
Topic: Calling function on a specific entity
Replies: 4
Views: 1753

Calling function on a specific entity

So I'm hacking around with some stuff and have a question. I know QuakeC isn't object oriented so you can't call methods within entities but at the same ... man, that would be handy.

I find myself setting up stuff like changing an entities think function to point to a function where I can do ...
by Willem
Wed Jan 30, 2008 1:25 pm
Forum: QuakeC Programming
Topic: New guy alert! Custom key values?
Replies: 2
Views: 1740

Ahh OK, that makes sense then. Thanks!
by Willem
Wed Jan 30, 2008 11:23 am
Forum: QuakeC Programming
Topic: New guy alert! Custom key values?
Replies: 2
Views: 1740

New guy alert! Custom key values?

This is probably obvious but here goes...

I'm getting my feet wet in QuakeC lately and I'm wondering if it's possible to read custom key/values from the entity? Like if I define a custom combo:

"mykey" "123"

Can I get that value out somehow when I'm in QuakeC? What is the function call I would ...