Pages: [1]
Author Topic: Adding console command  (Read 4595 times)

Cakes 0
Posts: 7

« on: June 20, 2011, 09:08:30 AM »

Hello, everything I need is in the title : I would like to add a new command line in order to call a function in the console but I don't know how, thanks for the help!
In the year 3000

Cakes 45
Posts: 4393

« Reply #1 on: June 20, 2011, 11:52:26 AM »

Please explain better.

What kind of function do you want to implement?

Are you sure you are not simply searching for how to "bind" a key to a specific command?

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Peter Silie

Cakes 2008
Posts: 610

« Reply #2 on: June 20, 2011, 02:54:52 PM »

or just the /exec xxx.cfg?
Banned for leasing own account
Posts a lot

Cakes 73
Posts: 1427

also banned for baiting another to violate rules

« Reply #3 on: June 23, 2011, 07:15:34 AM »

That could be in the QVM.
Try to get an overview of ioq3's source code, shouldn't be too hard ( )
I suppose the client part contains some of these console commands (maybe declared in qshared or elsewhere so that the game becomes aware of that command).
You can get the QVM source there:

Todo: Walk the cat.
Pages: [1]
Jump to: