Impulse commands
Moderator: InsideQC Admins
39 posts
• Page 2 of 3 • 1, 2, 3
Argh I didn't even pay attention to the impulse command. localcmd probably wouldn't have worked at all... And you're probably right about it only spawning one... Doh!
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
No luck
It doesn't seem to be working. I tried both codes.
I can't even get a bot to spawn at all.
I edited world.qc, compiled, started the server, connected, typed serverinfo bot_num 2 at the console, restarted the server, nothing???
I can't even get a bot to spawn at all.
I edited world.qc, compiled, started the server, connected, typed serverinfo bot_num 2 at the console, restarted the server, nothing???
Welcome to the Overlook Hotel: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
Impulse is a client command, it will not work on the server.
To add bots on the server, just call BotConnect directly, the first parm is the template, and the second the desired skill level. 0 for template chooses a random one, like the impulse 100 command does.
To add bots on the server, just call BotConnect directly, the first parm is the template, and the second the desired skill level. 0 for template chooses a random one, like the impulse 100 command does.
- FrikaC
- Site Admin
- Posts: 1026
- Joined: Fri Oct 08, 2004 11:19 pm
What FrikaC means, is something like this:
Where bot_num is how many bots should connect, team is what team they're on (can be 0 if no teamplay), whatbot being what bot it is (0 makes it random), and skill is obviously what skill level they're at. (use something like cvar to get the skill cvar)
Put that in somewhere in client.qc or maybe world.qc and it really should work.
- Code: Select all
while(spawnnum < bot_num)
{
BotConnect(team, whatbot, skill);
spawnnum = spawnnum + 1;
}
Where bot_num is how many bots should connect, team is what team they're on (can be 0 if no teamplay), whatbot being what bot it is (0 makes it random), and skill is obviously what skill level they're at. (use something like cvar to get the skill cvar)
Put that in somewhere in client.qc or maybe world.qc and it really should work.
-

Dr. Shadowborg - InsideQC Staff
- Posts: 1110
- Joined: Sat Oct 16, 2004 3:34 pm
There are tutorials on the very site your on. Also get hooked up with Coffee's tut's, those are some quality stuff. I can safely say that's where most of my coding skills originate from, along with a lot of help from friendly people. Also try the allmighty irc.
I was once a Quake modder
-

Urre - Posts: 1109
- Joined: Fri Nov 05, 2004 2:36 am
- Location: Moon
39 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 1 guest