Page 1 of 1

numbers, tdm/ctf bots and standard config...

Posted: Sat May 31, 2008 9:13 am
by Rawing
3 different questions:

the numbers used for health, armor, ammo... only have an alpha channel, but no color... (they are red, yellow or grey) I didn't find that 3 pictures and so i'd like to know where they are stored.

when creating a tdm or ctf server, there are 2 bots in your team and 3 bots in the other team and they are always grunt, doom and somebody else, dunno who :) How can I change that so that every tdm/ctf map has it's own bots?

as you know, there is a button "reset" - and i'd like to change the game variables and all that, but i don't know how. Help please!

Re: numbers, tdm/ctf bots and standard config...

Posted: Sat May 31, 2008 3:47 pm
by Kaz
1) gfx/2d/numbers/*.tga
CG_DrawStatusBar in cg_draw.c

3) pretty vague question

hope that helps some!

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jun 01, 2008 7:19 am
by Rawing
1) i know where the numbers are stored :p
3) what i want to do is changing some of the bindings and the mouse speed when starting to play or after reseting

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jun 01, 2008 9:20 am
by ^misantropia^
3) Read this: http://www.quake3world.com/q3guide/configs.html

I think this topic belongs more in Quake 3 Discussion than Programming Discussion, so I am going to move it. But, by all means, correct me if I am wrong.

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jun 01, 2008 11:17 am
by Rawing
that site looks good :D
but it doesn't tell how to change the standard variables, does it? an example: standard player name is "UnnamedPlayer" which i would like to change to "Unnamed"

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jun 01, 2008 9:06 pm
by ^misantropia^

Code: Select all

set name "Unnamed"

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jun 16, 2008 1:31 pm
by Rawing
that's not what I mean. open the console type "/set name Unnamed" and then type "/name". There's goin to appear a message saying "name is: Unnamed default: Unnamed Player". I want to change the 2nd one (:

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jun 16, 2008 1:48 pm
by ^misantropia^
Find the corresponding cvar in the source code. `grep` is your friend here.

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jun 23, 2008 1:47 pm
by Rawing
ok, i notice that i don't understand a word anybody says to me.
i don't have any programming skills (only commands i know are "if", "for", "parse", "int", "++"/"--"), so please try to make it understandable for me (:

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jun 23, 2008 2:31 pm
by ^misantropia^
How do you expect to get anywhere if you don't have the required know-how?

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jul 13, 2008 1:59 pm
by Rawing
nobody here who understands my position? i'll try to learn it.

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jul 13, 2008 8:34 pm
by Peenyuh
I understand your position, I'm right there with you. However, you can't really expect these guys - who've spent a lot of time and money learning all of this - to teach a crash course in computer programing to everyone who wants to do things like this. that's why I bale so quickly on questions I ask that I don't have the background to understand what they're saying. If I can't meet em halfway, I can't expect them to help.

Re: numbers, tdm/ctf bots and standard config...

Posted: Sun Jul 13, 2008 9:50 pm
by AnthonyJ
Peenyuh wrote:If I can't meet em halfway, I can't expect them to help.
Yea, thats a much better attitude.

In a previous thread by the OP, I gave a link to the the Q3 mod source-code, and explained that it is written in C, and that there are many tutorials on C on the internet which you can follow to get you at least a basic understanding of C.

With that information, and a "find in files" (aka "grep") as suggested in this thread, you have everything you need to answer the question about the name cvar in this thread.

Learning to program is a difficult and time consuming task. If you're not going to put some effort in (googling for tutorials on the language and following them through from beginning to end, or buying a "learn C in 21 days" book or something), then you're not going to get far.

Be warned that you'd be lucky to get a full enough understanding of the C language to fully understand the Q3 source-code in 21 weeks of hard work if you're starting from scratch, and we cannot hand-hold you through that. You'll need a book, some good online tutorials, or a lecturer / teacher to do that.

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jul 14, 2008 1:19 pm
by Rawing
C sucks. My biggest problem right now is to understand how I can open/edit/create qvm-files. I've found some nice mod-programming-faqs but they don't tell a lot of what i'm interested in.

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jul 14, 2008 5:14 pm
by ^misantropia^
Rawing wrote:C sucks.
Millions of developers disagree with you. Occam's razor applies: the most plausible explanation is that you simply don't understand it.

Re: numbers, tdm/ctf bots and standard config...

Posted: Mon Jul 14, 2008 5:47 pm
by AnthonyJ
Rawing wrote:C sucks.
Uh oh, then you might as well give up on QVMs, because thats the only thing you can use to code them atm. Well, unless you fancy being the first person to write a mod in q3asm, but that sucks even more ;)
My biggest problem right now is to understand how I can open/edit/create qvm-files. I've found some nice mod-programming-faqs but they don't tell a lot of what i'm interested in.
You dont open a qvm file. You open the .c files supplied in the source-code packages. You then edit the .c files, and then use the supplied .bat files to build you a new qvm from your modified source-code. But since you don't understand C, and appear to refuse to learn it, modifying said code is going to be a little difficult for you.

In another post I already gave you the link to the source:
The source-code to the QVM's and tools can be downloaded in the file: Q3A_TA_GameSource_132.exe.
Last time, you said that your English wasn't good enough to understand. Fair enough.... so if you don't understand something, say what you don't understand and it can be rephrased. If what you don't understand is the C source-code, there's not much that can be done about that though.

Re: numbers, tdm/ctf bots and standard config...

Posted: Wed Aug 27, 2008 4:29 pm
by Rawing
OKOK; anyway, do u know whether there's a .cfg file including all the default settings or whether it's in the code?
I didn't mean that C SUCKS, what i wanted to say is that it wasnt my biggest problem right then, sorry :dork: