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

Locked
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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!
[color=#FF0000]/callvote kick all_enemies[/color]
Kaz
Posts: 1077
Joined: Wed Mar 08, 2006 3:43 am

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

Post by Kaz »

1) gfx/2d/numbers/*.tga
CG_DrawStatusBar in cg_draw.c

3) pretty vague question

hope that helps some!
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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
[color=#FF0000]/callvote kick all_enemies[/color]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post 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.
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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"
[color=#FF0000]/callvote kick all_enemies[/color]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post by ^misantropia^ »

Code: Select all

set name "Unnamed"
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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 (:
[color=#FF0000]/callvote kick all_enemies[/color]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post by ^misantropia^ »

Find the corresponding cvar in the source code. `grep` is your friend here.
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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 (:
[color=#FF0000]/callvote kick all_enemies[/color]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post by ^misantropia^ »

How do you expect to get anywhere if you don't have the required know-how?
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post by Rawing »

nobody here who understands my position? i'll try to learn it.
[color=#FF0000]/callvote kick all_enemies[/color]
Peenyuh
Posts: 3783
Joined: Thu Jan 03, 2008 3:46 am

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

Post 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.
[color=#00FF00][b]"How do you keep the natives off the booze long enough to pass the test?" Asked of a Scottish driving instructor in 1995.[/b][/color]
AnthonyJ
Posts: 130
Joined: Wed Nov 15, 2006 7:51 pm

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

Post 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.
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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.
[color=#FF0000]/callvote kick all_enemies[/color]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

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

Post 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.
AnthonyJ
Posts: 130
Joined: Wed Nov 15, 2006 7:51 pm

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

Post 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.
Rawing
Posts: 107
Joined: Tue Oct 23, 2007 1:40 pm

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

Post 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:
[color=#FF0000]/callvote kick all_enemies[/color]
Locked