Page 1 of 1

/ff?

Posted: Mon Nov 10, 2003 2:53 am
by lefty35
Alright, here's the deal:
I need to know if this can be done, where (like in CS) if you say "/ff" the console will say "FF is ___" (insert on or off). And if it is possible, is there is there a variable (or something) that will print if FF is on or off (to insert into the ___) and a variable (or something) that will print the map rotation.

Thanks,
Lefty35

cmdlist

Posted: Mon Nov 10, 2003 3:37 am
by tltrude
If you type "cmdlist" you will see all the commands. You can also try "cvarlist". Both lists are long, so it is a good idea to type "logfile 1" first. Then both lists will be in qconsole.log in main.

Posted: Mon Nov 10, 2003 4:03 am
by lefty35
So (and I'm just guessing) it could be like this?

Code: Select all

Say Commands:
if (local.player.say == "/ff") {
 iprintln ("FF is ___")
Then you'd edit the script so that ___ is on or off
Correct?

Posted: Mon Nov 10, 2003 5:05 am
by Krane
What tltrude is trying to say is that you have to type it "real-time" in the console while you're playing. So open the console, type logfile 1, then type cmdlist or cvarlist. Then open your main folder and read the qconsole.log (text file) to see the list of commands you can use.This is not a script line.

There's another thing: I don't think it's possible to give commands client side. Like "local.player.say" etc. Not sure.

Hope it helps.

cvar "ui_teamdamage"

Posted: Mon Nov 10, 2003 5:33 am
by tltrude
I guess you would put something like:

getcvar "ui_teamdamage"

but, it will probably give you a 1 or a 0.

Re: cvar "ui_teamdamage"

Posted: Mon Nov 10, 2003 1:45 pm
by smartaiguy
tltrude wrote:I guess you would put something like:

getcvar "ui_teamdamage"

but, it will probably give you a 1 or a 0.
Yeah I'm pretty sure that'll give ya a 1 or 0

Posted: Mon Nov 10, 2003 6:56 pm
by jv_map
Like Krane said there is no way to 'intercept' the text players are saying nor even get the value of a client cvar...

One thing you could do however is to stufftext the values for ff and map rotation to client cvars, so that they'd just have to type 'ff' in console and would read:
'ff is ON (default: 0)'

(I guess)

Posted: Mon Nov 10, 2003 9:29 pm
by lefty35
Aw... :(